1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +01:00

allow closing bracket after citation

This commit is contained in:
Michael Save 2012-01-06 06:44:51 +11:00
parent 8231f40fee
commit 3d8c2407a3

View File

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