Fixed a few "strip tag exposed" bugs.
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 20 Mar 2012 04:39:09 +0000 (04:39 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 20 Mar 2012 04:39:09 +0000 (04:39 +0000)
commit13b514edaec25ff24cf37d58487c0ff598ec4e36
tree0c44feae00f303b8495aa2d1d799222663158979
parent7770391b3044f4271269b5e7114bd0719a69920a
Fixed a few "strip tag exposed" bugs.
* Introduced Parser::killMarkers() based on the concept from StringFunctions. Used it in cases where markerStripCallback() doesn't make sense semantically, namely grammar, padleft, padright and anchorencode. Used markerStripCallback() in other cases.
* Changed headline unstrip order as suggested by P.Copp on bug 18295
* In CPF::lc() and CPF::uc(), removed the is_callable(). This was a temporary testing hack committed by me in r30109, which allowed me to do differential testing against a copy of the parser from before that revision.
RELEASE-NOTES-1.19
includes/parser/CoreParserFunctions.php
includes/parser/Parser.php
includes/parser/StripState.php
tests/parser/parserTests.txt