diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-01-06 06:44:51 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-01-06 06:44:51 +1100 |
| commit | 3d8c2407a32055b4f9436f85956e5dbe62539fac (patch) | |
| tree | 611d0dc629a8a3de803d2bd6db93c75cabfe23d2 | |
| parent | 8231f40feede161925e95baba36ccea7165cb545 (diff) | |
allow closing bracket after citation
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']); } |
