Merge "Use MediaWiki\SuppressWarnings around trigger_error('') instead @"
[lhc/web/wiklou.git] / includes / tidy / RemexCompatFormatter.php
index c8a715b..4e93382 100644 (file)
@@ -18,9 +18,9 @@ class RemexCompatFormatter extends HtmlFormatter {
 
        public function __construct( $options = [] ) {
                parent::__construct( $options );
-               $this->attributeEscapes["\xc2\xa0"] = ' ';
+               $this->attributeEscapes["\u{00A0}"] = ' ';
                unset( $this->attributeEscapes["&"] );
-               $this->textEscapes["\xc2\xa0"] = ' ';
+               $this->textEscapes["\u{00A0}"] = ' ';
                unset( $this->textEscapes["&"] );
        }