Don't parse <nowiki><span class="error"></nowiki>
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 31 Oct 2016 20:37:26 +0000 (16:37 -0400)
committerKunal Mehta <legoktm@member.fsf.org>
Tue, 1 Nov 2016 03:10:36 +0000 (20:10 -0700)
commitb33a5c013e31dee5717da50dc670e19eabd1c73c
treeb4917ec82e187b0903650ffe0f4a32eb3cd4013a
parent08381893919dab0f330dd2b3cc12759a1a99e0d1
Don't parse <nowiki><span class="error"></nowiki>

Which means we can't check if a parser limit was exceeded while trying
to expand the content of a tag, but that's probably not a huge loss.
It'll just result in potentially strange output rather than an exception.

Bug: T149622
Change-Id: I7910dfa0f61b1cc9168c7ed1498b2bda27c47f0e
includes/parser/Parser.php
tests/parser/parserTests.txt