fix longstanding bug with section editing where section headers within
authorErik Moeller <erik@users.mediawiki.org>
Wed, 28 Apr 2004 04:50:35 +0000 (04:50 +0000)
committerErik Moeller <erik@users.mediawiki.org>
Wed, 28 Apr 2004 04:50:35 +0000 (04:50 +0000)
commitdfecc217abfb45c3a77100c4c4b58dac7b01d6e0
tree7d4c1dd620054195f77107db65dada262e938de1
parent72bdb334e0ba313c969531055ac69dc2e83852b6
fix longstanding bug with section editing where section headers within
<nowiki> or <!-- .. --> tags would cause it to miscount section
numbers. Parser::extractTags modified to allow stripping HTML comments
as well. Note: Presently HTML comments are completeley removed from
the output using preg_replace. Should they ever be rendered instead,
Parser::extractTags should be used.
includes/Article.php
includes/Parser.php