wiki.techinc.nl/includes/parser
Subramanya Sastry ea3b95e20d Fix bug in dl-dt list output generation
* An open <dt> (;) should be closed when we encounter a new <dd> (:)
  char even if it is on a new line that has other nested lists inside.

* Tidy was hiding this PHP parser bug by closing a <dt> and opening
  a <dd> when given this HTML: "<dl><dt>a<ul><li>b</li></ul></dt></dl>"
  It generates "<dl><dt>a</dt><dd><ul><li>b</li></ul></dd></dl>"

  However, a HTML5 parser like RemexHTML, domino (used by Parsoid),
  or browsers don't do this fixup.

* So, what I thought was a bug in RemexHTML turned out to be a bug
  in the PHP parser that was being hidden by the use of Tidy.

* Added a regression test.

Bug: T175099
Change-Id: I6d5b225b82cecf9a43f23837ed8ec359b31aadad
2017-09-12 01:10:44 +00: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 Avoid using deprecated Title::canTalk() 2017-08-29 12:36:33 -07: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 Merge "Show a warning in edit preview when a template loop is detected" 2017-09-11 18:26:11 +00: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 update mediawiki-codesniffer to 0.11.0 and fix issues 2017-08-11 22:27:51 +02:00
ParserOutput.php build: Updating mediawiki/mediawiki-codesniffer to 0.12.0 2017-09-10 21:11:37 +02:00
Preprocessor.php Improve some parameter docs 2017-09-10 20:32:31 +02: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
StripState.php Require strip marker names to not have & ' " < or > in them 2016-04-26 13:53:26 -04:00