Add syntaxhiglight to tags excluded from splitter

This should prevent code blocks from getting auto-linked.
This commit is contained in:
Caleb Mingle
2018-06-02 20:34:12 -07:00
committed by Daniel Kraus
parent 665805618d
commit d80500176b

View File

@ -134,6 +134,7 @@ class Splitter {
'<nowiki>.*?<.nowiki>|<code>.*?<\/code>|' . // nowiki/code
'<pre>.*?<\/pre>|<html>.*?<\/html>|' . // pre/html
'<script>.*?<\/script>|' . // script
'<syntaxhighlight>.*?<\/syntaxhighlight>|' . // syntaxhighlight
'<gallery>.*?<\/gallery>|' . // gallery
'<div.*?>|<\/div>|' . // attributes of div elements
'<span.*?>|<\/span>|' . // attributes of span elements