r14932 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14931‎ | r14932 | r14933 >
Date:10:01, 23 June 2006
Author:tstarling
Status:old
Tags:
Comment:
Remove line breaks after Sanitizer::decodeCharReferences()
Modified paths:
  • /branches/REL1_6/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: branches/REL1_6/phase3/includes/Parser.php
@@ -1524,6 +1524,7 @@
15251525 $sortkey = $text;
15261526 }
15271527 $sortkey = Sanitizer::decodeCharReferences( $sortkey );
 1528+ $sortkey = str_replace( "\n", '', $sortkey );
15281529 $sortkey = $wgContLang->convertCategoryKey( $sortkey );
15291530 $this->mOutput->addCategory( $nt->getDBkey(), $sortkey );
15301531