Add dotall modifier to EDITSECTION_REGEX
authorTim Starling <tstarling@wikimedia.org>
Tue, 18 Oct 2016 19:17:30 +0000 (12:17 -0700)
committerTim Starling <tstarling@wikimedia.org>
Tue, 18 Oct 2016 19:23:48 +0000 (12:23 -0700)
commita31b2153b3415c55c46e15137060b496c706c724
tree08e436f30968c7555e31b6eadd39892e0358c892
parent3cd76445c176c57915c6de2db1d8f32d760db846
Add dotall modifier to EDITSECTION_REGEX

The regex failed to match for input text like

==<nowiki>
</nowiki>==

resulting in <mw:editsection> tags being leaked into the output.

Change-Id: I3daade920d2de8cd3fc31fcaabf46ffe14b047d5
includes/parser/ParserOutput.php
tests/parser/parserTests.txt