From c0968639c44a28478a466bcb3084cb66a13a3128 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Wed, 11 Apr 2012 12:19:53 +1000 Subject: [PATCH] last commit broke some markup syntax --- inc/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/functions.php b/inc/functions.php index 2ee50aca..5f00cfdb 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1490,7 +1490,7 @@ $tracked_cites = Array(); // Cites - if(isset($board) && preg_match_all('/(^|\s)>>(\d+?)([\s,.)?]|$)/', $body, $cites)) { + if(isset($board) && preg_match_all('/(^|\s)>>(\d+?)([\s,.)?]|$)/m', $body, $cites)) { if(count($cites[0]) > $config['max_cites']) { error($config['error']['toomanycites']); } @@ -1515,7 +1515,7 @@ } // Cross-board linking - if(preg_match_all('/(^|\s)>>>\/(\w+?)\/(\d+)?([\s,.)?]|$)/', $body, $cites)) { + if(preg_match_all('/(^|\s)>>>\/(\w+?)\/(\d+)?([\s,.)?]|$)/m', $body, $cites)) { if(count($cites[0]) > $config['max_cites']) { error($config['error']['toomanycross']); }