wiki.techinc.nl/includes/parser
Brion Vibber 33e4ac5b22 Add \b to regexes in BlockLevelPass to avoid confusing tr & track
With TimedMediaHandler in video.js mode, videos can be inline,
without a wrapper div.

Previously, in this mode two paragraphs where one contained a
video would end up merged into one paragraph, due to BlockLevelPass
matching "<track .../>" against "<tr" in its regexes.

Added \b to a couple of the regexes to protect against such errors,
and corrected a parser test case that had bad output listed, where
"<link .../>" matched against "<li".

Bug: T165817
Change-Id: I06e82b881f5ebddae5e7df7fb940adfa54f6b659
2017-05-20 00:53:05 +02:00
..
BlockLevelPass.php Add \b to regexes in BlockLevelPass to avoid confusing tr & track 2017-05-20 00:53:05 +02:00
CacheTime.php
CoreParserFunctions.php includes: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 18:13:24 +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 Replace use of &$this 2017-01-31 23:01:54 -05:00
MWTidy.php Add benchmarkTidy.php, to benchmark tidy drivers 2017-04-21 01:02:22 +00:00
Parser.php Wrap parser output in <div class="mw-parser-output"> 2017-05-08 05:32:03 +00:00
ParserCache.php includes: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 18:13:24 +00:00
ParserDiffTest.php Fix php code style 2017-05-05 12:03:54 +00:00
ParserOptions.php ParserOptions: Include wrapping class in options hash 2017-05-15 05:55:51 +00:00
ParserOutput.php Use isSpecialPage() where possible 2017-04-29 22:31:42 +02:00
Preprocessor.php Protect language converter markup in the preprocessor. 2016-12-15 23:50:44 +00:00
Preprocessor_DOM.php includes: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 18:13:24 +00:00
Preprocessor_Hash.php includes: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 18:13:24 +00:00
StripState.php