mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 01:39:30 +02:00
Add syntaxhiglight to tags excluded from splitter
This should prevent code blocks from getting auto-linked.
This commit is contained in:
committed by
Daniel Kraus
parent
665805618d
commit
d80500176b
@ -134,6 +134,7 @@ class Splitter {
|
|||||||
'<nowiki>.*?<.nowiki>|<code>.*?<\/code>|' . // nowiki/code
|
'<nowiki>.*?<.nowiki>|<code>.*?<\/code>|' . // nowiki/code
|
||||||
'<pre>.*?<\/pre>|<html>.*?<\/html>|' . // pre/html
|
'<pre>.*?<\/pre>|<html>.*?<\/html>|' . // pre/html
|
||||||
'<script>.*?<\/script>|' . // script
|
'<script>.*?<\/script>|' . // script
|
||||||
|
'<syntaxhighlight>.*?<\/syntaxhighlight>|' . // syntaxhighlight
|
||||||
'<gallery>.*?<\/gallery>|' . // gallery
|
'<gallery>.*?<\/gallery>|' . // gallery
|
||||||
'<div.*?>|<\/div>|' . // attributes of div elements
|
'<div.*?>|<\/div>|' . // attributes of div elements
|
||||||
'<span.*?>|<\/span>|' . // attributes of span elements
|
'<span.*?>|<\/span>|' . // attributes of span elements
|
||||||
|
Reference in New Issue
Block a user