Fix <noautolinks> tag in parse-on-render mode.

- Fix: <noautolinks> tag did not work in parse-on-render mode.
This commit is contained in:
Daniel Kraus
2017-09-06 22:31:59 +02:00
parent c99ec87b87
commit 04c1be307b
4 changed files with 69 additions and 10 deletions

View File

@ -105,6 +105,12 @@ class SplitterTest extends MediaWikiTestCase {
// "With parseHeadings = false,\n==an improperly formatted heading may be linked=\n",
// [ "With parseHeadings = false,\n==an improperly formatted heading may be linked=\n" ]
// ],
[
true, // skipTemplates
true, // parseHeadings
"Text <noautolinks>in noautolinks tag</noautolinks>should be excluded",
[ "Text ", "<noautolinks>in noautolinks tag</noautolinks>", "should be excluded" ]
],
];
}
}