Topic on Extension talk:Linter

Jump to navigation Jump to search

Issue: Parser crash with specific unclosed tags + block type html tag

1
Summary by SSastry (WMF)

Tracked in task T183379 -- Fixed and deployed.

197.218.81.28 (talkcontribs)

Steps to reproduce:

Paste the following wikitext in a page or simply use the parsermigration-edit , and click preview:

 <i> <b>foo<b>k
<b>foo</i>

Output:

[WjpdFQpAICkAAKBp10gAAAAY] 2017-12-20 12:52:37: Fatal exception of type "RemexHtml\TreeBuilder\TreeBuilderError"

Note the space behind the <i> . That's a pre block, it also seems to happen with a div and perhaps other tags.