From 821d6d6b34aa172df9f366f18b847a2d31d3d496 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Mon, 2 Jun 2014 18:26:39 +0200 Subject: [PATCH] Prevent parsing in pre, html, and script tags. --- LinkTitles.body.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LinkTitles.body.php b/LinkTitles.body.php index c9f75b5..35eb95e 100755 --- a/LinkTitles.body.php +++ b/LinkTitles.body.php @@ -128,6 +128,8 @@ $templatesDelimiter . // templates (if requested) '^ .+?\n|\n .+?\n|\n .+?$|^ .+?$|' . // preformatted text '.*?<.nowiki>|.*?<\/code>|' . // nowiki/code + '
.*?<\/pre>|.*?<\/html>|' .      // pre/html
+				'