| Index: trunk/phase3/includes/Sanitizer.php |
| — | — | @@ -39,7 +39,7 @@ |
| 40 | 40 | * Allows some... latitude. |
| 41 | 41 | * Used in Sanitizer::fixTagAttributes and Sanitizer::decodeTagAttributes |
| 42 | 42 | */ |
| 43 | | -$attribFirst = '[:A-Z_a-z]'; |
| | 43 | +$attribFirst = '[:A-Z_a-z-.0-9]'; // more lenient than standards (by allowing [-.0-9]) |
| 44 | 44 | $attrib = '[:A-Z_a-z-.0-9]'; |
| 45 | 45 | $space = '[\x09\x0a\x0d\x20]'; |
| 46 | 46 | define( 'MW_ATTRIBS_REGEX', |