Merge "Sanitizer: Allow attribute names to use any Unicode "Letter" or "Number""
[lhc/web/wiklou.git] / includes / Sanitizer.php
index 01fe60e..b08bc69 100644 (file)
@@ -793,7 +793,7 @@ class Sanitizer {
                        }
 
                        # Strip javascript "expression" from stylesheets.
-                       # http://msdn.microsoft.com/workshop/author/dhtml/overview/recalc.asp
+                       # https://msdn.microsoft.com/en-us/library/ms537634.aspx
                        if ( $attribute == 'style' ) {
                                $value = Sanitizer::checkCss( $value );
                        }
@@ -906,7 +906,6 @@ class Sanitizer {
         * @return string normalized css
         */
        public static function normalizeCss( $value ) {
-
                // Decode character references like {
                $value = Sanitizer::decodeCharReferences( $value );