allow closing bracket after citation

This commit is contained in:
Michael Save 2012-01-06 06:44:12 +11:00
parent c519bd66f5
commit 8231f40fee

View File

@ -1336,7 +1336,7 @@
$tracked_cites = Array(); $tracked_cites = Array();
// Cites // Cites
if(isset($board) && preg_match_all('/(^|\s)>>(\d+?)([\s,.?]|$)/', $body, $cites)) { if(isset($board) && preg_match_all('/(^|\s)>>(\d+?)([\s,.)?]|$)/', $body, $cites)) {
if(count($cites[0]) > $config['max_cites']) { if(count($cites[0]) > $config['max_cites']) {
error($config['error']['toomanycites']); error($config['error']['toomanycites']);
} }