Go to the source code of this file.
Data Structures | |
| class | Sanitizer |
Enumerations | |
| enum | MW_CHAR_REFS_REGEX |
Regular expression to match various types of character references in Sanitizer::normalizeCharReferences and Sanitizer::decodeCharReferences. More... | |
| enum | MW_ATTRIBS_REGEX |
Variables | |
| $attrib = '[A-Za-z0-9]' | |
| Regular expression to match HTML/XML attribute pairs within a tag. | |
| $space = '[\x09\x0a\x0d\x20]' | |
| global | $wgHtmlEntities |
| List of all named character entities defined in HTML 4.01 http://www.w3.org/TR/html4/sgml/entities.html. | |
| global | $wgHtmlEntityAliases |
| Character entity aliases accepted by MediaWiki. | |
| enum MW_ATTRIBS_REGEX |
Definition at line 43 of file Sanitizer.php.
| enum MW_CHAR_REFS_REGEX |
Regular expression to match various types of character references in Sanitizer::normalizeCharReferences and Sanitizer::decodeCharReferences.
Definition at line 30 of file Sanitizer.php.
| $attrib = '[A-Za-z0-9]' |
Regular expression to match HTML/XML attribute pairs within a tag.
Allows some... latitude. Used in Sanitizer::fixTagAttributes and Sanitizer::decodeTagAttributes
Definition at line 41 of file Sanitizer.php.
Referenced by SurveyImportParser::handlerBeginTag().
| $space = '[\x09\x0a\x0d\x20]' |
Definition at line 42 of file Sanitizer.php.
| $wgHtmlEntities |
List of all named character entities defined in HTML 4.01 http://www.w3.org/TR/html4/sgml/entities.html.
Definition at line 61 of file Sanitizer.php.
| $wgHtmlEntityAliases |
array(
'רלמ' => 'rlm',
'رلم' => 'rlm',
)
Character entity aliases accepted by MediaWiki.
Definition at line 319 of file Sanitizer.php.
1.7.1