Merge "Strip excess newlines from formatting test"
[lhc/web/wiklou.git] / includes / Html.php
index 1d45e6a..3fea3e1 100644 (file)
@@ -846,7 +846,7 @@ class Html {
                # * text/xml
                # * application/xml
                # * Any mimetype with a subtype ending in +xml (this implicitly includes application/xhtml+xml)
-               return (bool) preg_match( '!^(text|application)/xml$|^.+/.+\+xml$!', $mimetype );
+               return (bool)preg_match( '!^(text|application)/xml$|^.+/.+\+xml$!', $mimetype );
        }
 
        /**