(bug 27936) Improve parser handling of nested braces.
authorDan Collins <dcollinsn@gmail.com>
Tue, 22 May 2012 23:56:33 +0000 (19:56 -0400)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 6 Feb 2013 03:39:07 +0000 (03:39 +0000)
commit9846e2558cb598b6dedcc32582d1139f9f9f1158
treef6cfc10fbdb1343a928e2b6813b30fbd1a2abca2
parent0888ccb0c30ac38e0f20516108ea18cd0269f1e1
(bug 27936) Improve parser handling of nested braces.

Parser tests also included, test case and original patch supplied by
Bergi on bugzilla. Tested against the current version.

Change-Id: Id7ec4e694783dd0f682f65f39d8b9e59f82e58aa
includes/parser/Preprocessor_DOM.php
includes/parser/Preprocessor_Hash.php
tests/parser/preprocess/NestedTemplates.expected [new file with mode: 0644]
tests/parser/preprocess/NestedTemplates.txt [new file with mode: 0644]
tests/phpunit/includes/parser/PreprocessorTest.php