Browse Source

allow closing bracket after citation

pull/40/head
Michael Save 12 years ago
parent
commit
8231f40fee
  1. 2
      inc/functions.php

2
inc/functions.php

@ -1336,7 +1336,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,.)?]|$)/', $body, $cites)) {
if(count($cites[0]) > $config['max_cites']) {
error($config['error']['toomanycites']);
}

Loading…
Cancel
Save