dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix 'Tags' padding to keep it farther from the edge and document the source...
[lhc/web/wiklou.git]
/
includes
/
CategoryViewer.php
diff --git
a/includes/CategoryViewer.php
b/includes/CategoryViewer.php
index
4202249
..
79ab8b4
100644
(file)
--- a/
includes/CategoryViewer.php
+++ b/
includes/CategoryViewer.php
@@
-581,7
+581,7
@@
class CategoryViewer extends ContextSource {
foreach ( $colContents as $char => $articles ) {
# Change space to non-breaking space to keep headers aligned
foreach ( $colContents as $char => $articles ) {
# Change space to non-breaking space to keep headers aligned
- $h3char = $char === ' ' ?
' '
: htmlspecialchars( $char );
+ $h3char = $char === ' ' ?
"\u{00A0}"
: htmlspecialchars( $char );
$ret .= '<div class="mw-category-group"><h3>' . $h3char;
$ret .= "</h3>\n";
$ret .= '<div class="mw-category-group"><h3>' . $h3char;
$ret .= "</h3>\n";