https://bugzilla.wikimedia.org/show_bug.cgi?id=48941

Gabriel Wicke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Gabriel Wicke <[email protected]> ---
From a quick look at the PHP code it seems that white-space in tag hook
attributes is normalized the same way as regular tag attributes. From
Sanitizer::decodeTagAttributes:

// Normalize whitespace
$value = preg_replace( '/[\t\r\n ]+/', ' ', $value );
$value = trim( $value );

It might make sense to perform the normalization in a more generic way for
built-in extension hooks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to