mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 01:39:30 +02:00
Exclude stuff betweeen input and select tags.
Addresses #58 to prevent LinkTitles from interfering with the PageForms extension. Needs testing.
This commit is contained in:
@ -138,6 +138,8 @@ class Splitter {
|
||||
'<syntaxhighlight.*?>.*?<\/syntaxhighlight>|' . // syntaxhighlight
|
||||
'<gallery>.*?<\/gallery>|' . // gallery
|
||||
'<div.*?>|<\/div>|' . // attributes of div elements
|
||||
'<input.+<\/input>|' . // input tags and anything between them
|
||||
'<select.+<\/select>|' . // select tags and anything between them
|
||||
'<span.*?>|<\/span>|' . // attributes of span elements
|
||||
'<file>[^<]*<\/file>|' . // stuff inside file elements
|
||||
'style=".+?"|class=".+?"|data-sort-value=".+?"|' . // styles and classes (e.g. of wikitables)
|
||||
|
Reference in New Issue
Block a user