allow closing bracket after citation
This commit is contained in:
parent
8231f40fee
commit
3d8c2407a3
@ -1361,7 +1361,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Cross-board linking
|
// 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']) {
|
if(count($cites[0]) > $config['max_cites']) {
|
||||||
error($config['error']['toomanycross']);
|
error($config['error']['toomanycross']);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user