mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 09:49:31 +02:00
Fix <noautolinks> tag in parse-on-render mode.
- Fix: <noautolinks> tag did not work in parse-on-render mode.
This commit is contained in:
@ -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" ]
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user