Protect -{...}- variant constructs in definition lists.
authorC. Scott Ananian <cscott@cscott.net>
Tue, 13 Dec 2016 20:37:04 +0000 (15:37 -0500)
committerC. Scott Ananian <cscott@cscott.net>
Fri, 17 Feb 2017 20:52:44 +0000 (15:52 -0500)
commitee002d67c95757eec75106cc4b880eb3b2917dc5
tree4cff9e11e0a1c7a27cd5ea6916c070a247fb2cc0
parent660446b78eb8318f0030750b4f955f847eb99a80
Protect -{...}- variant constructs in definition lists.

Given the wikitext:

;-{zh-cn:AAA;zh-tw:BBB}-

Prevent `doBlockLevels` from trying to split the definition list at the
embedded colon and using `AAA;zh-tw:BBB}-` as the `<dd>` portion.

Bug: T153135
Change-Id: I3a4d02f1fbd0d0fe8278d6b7c66005f0dd3dd36b
includes/parser/BlockLevelPass.php
tests/parser/parserTests.txt