Browse Source

allow closing bracket after citation

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

2
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']);
}

Loading…
Cancel
Save