wiki.techinc.nl/includes/parser
Roan Kattouw ddb4913f53 Use Remex in Sanitizer::stripAllTags()
Using a real HTML tokenizer fixes bugs when < or > appear in attribute
values. The old implementation used delimiterReplace(), which didn't
handle this case:

    > print Sanitizer::stripAllTags( '<p data-foo="a&lt;b>c">Hello</p>' );
    c">Hello

We also can't use PHP's built-in strip_tags() because it doesn't handle
<?php and <? correctly:

    > print strip_tags('1<span class="<?php">2</span>3');
    1
    > print strip_tags('1<span class="<?">2</span>3');
    1

Bug: T179978
Change-Id: I53b98e6c877c00c03ff110914168b398559c9c3e
2017-11-15 17:31:31 -08:00
..
BlockLevelPass.php Fix bug in dl-dt list output generation 2017-09-12 01:10:44 +00:00
CacheTime.php Deprecate Parser::disableCache 2016-06-18 19:55:43 +00:00
CoreParserFunctions.php Merge "Refactor global function wfBCP47 to static function LanguageCode::bcp47" 2017-10-05 17:55:50 +00:00
CoreTagHooks.php SECURITY: Disable <html> tag on system messages despite $wgRawHtml = true; 2017-03-28 21:51:44 +00:00
DateFormatter.php Miscellaneous indentation tweaks 2017-02-27 19:23:54 +01:00
LinkHolderArray.php Add missing & to @param documentation to match functon call 2017-08-11 18:47:46 +02:00
MWTidy.php Add benchmarkTidy.php, to benchmark tidy drivers 2017-04-21 01:02:22 +00:00
Parser.php Remove nbsp and similar characters from section IDs 2017-11-02 19:35:11 -07:00
ParserCache.php Turn ParserCache into a service, deprecate $parserMemc 2017-07-05 19:56:49 -07:00
ParserDiffTest.php Fix php code style 2017-05-05 12:03:54 +00:00
ParserOptions.php Remove @codingStandardsIgnore after upstream fix 2017-10-22 16:25:00 +02:00
ParserOutput.php Move call of Sanitizer::decodeCharReferences from Skin to Parser 2017-09-13 13:51:35 +02:00
Preprocessor.php Merge "Fix return in Preprocessor::cacheSetTree" 2017-09-16 20:07:56 +00:00
Preprocessor_DOM.php update mediawiki-codesniffer to 0.11.0 and fix issues 2017-08-11 22:27:51 +02:00
Preprocessor_Hash.php Improve some parameter docs 2017-09-10 20:32:31 +02:00
RemexStripTagHandler.php Use Remex in Sanitizer::stripAllTags() 2017-11-15 17:31:31 -08:00
Sanitizer.php Use Remex in Sanitizer::stripAllTags() 2017-11-15 17:31:31 -08:00
StripState.php Require strip marker names to not have & ' " < or > in them 2016-04-26 13:53:26 -04:00