X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FCategoryViewer.php;h=79ab8b446363d2ec14702f68e89f1024c475c1d2;hb=7a206823e36c834b2dca44a7ea06b8a1451c26a6;hp=4202249578a5aa256558e91c92af79e7d7c7faeb;hpb=43c128e4e30c7386c4d534ff2ef1f6ec84f5605f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/CategoryViewer.php b/includes/CategoryViewer.php index 4202249578..79ab8b4463 100644 --- 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 - $h3char = $char === ' ' ? ' ' : htmlspecialchars( $char ); + $h3char = $char === ' ' ? "\u{00A0}" : htmlspecialchars( $char ); $ret .= '

' . $h3char; $ret .= "

\n";