From 51af59aef47eb8bf903bfd4b30c1e659e440d1f9 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Fri, 6 Jan 2012 06:44:51 +1100 Subject: [PATCH] allow closing bracket after citation --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index d9d22f9c..3e2dc4b4 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1361,7 +1361,7 @@ } // Cross-board linking - if(preg_match_all('/(^|\s)>>>\/(\w+?)\/(\d+)?([\s,.?]|$)/', $body, $cites)) { + if(preg_match_all('/(^|\s)>>>\/(\w+?)\/(\d+)?([\s,.)?]|$)/', $body, $cites)) { if(count($cites[0]) > $config['max_cites']) { error($config['error']['toomanycross']); }