mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 04:13:49 +01:00
allow closing bracket after citation
This commit is contained in:
parent
c519bd66f5
commit
8231f40fee
@ -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…
x
Reference in New Issue
Block a user