X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FHtmlFormatter.php;h=2d81b28242da4dea4bb34d008c36f89ba2ae4b22;hp=83db268e84b565971e213b8667ce908c530c61b3;hb=a2ea9f8b9289f197844e3282c2ac39e59c549996;hpb=f2244f61f447c3a6556169e3d177e64d2e496a40 diff --git a/includes/HtmlFormatter.php b/includes/HtmlFormatter.php index 83db268e84..2d81b28242 100644 --- a/includes/HtmlFormatter.php +++ b/includes/HtmlFormatter.php @@ -74,10 +74,8 @@ class HtmlFormatter { } // Workaround for bug that caused spaces before references - // to disappear during processing: - // https://phabricator.wikimedia.org/T55086 - // - // Please replace with a better fix if one can be found. + // to disappear during processing: https://phabricator.wikimedia.org/T55086 + // TODO: Please replace with a better fix if one can be found. $html = str_replace( ' <', ' <', $html ); libxml_use_internal_errors( true ); @@ -295,7 +293,6 @@ class HtmlFormatter { $html = $this->fixLibXml( $html ); if ( wfIsWindows() ) { // Cleanup for CRLF misprocessing of unknown origin on Windows. - // // If this error continues in the future, please track it down in the // XML code paths if possible and fix there. $html = str_replace( ' ', '', $html );