last commit broke some markup syntax
This commit is contained in:
parent
4dcdca997e
commit
c0968639c4
@ -1490,7 +1490,7 @@
|
|||||||
$tracked_cites = Array();
|
$tracked_cites = Array();
|
||||||
|
|
||||||
// Cites
|
// Cites
|
||||||
if(isset($board) && preg_match_all('/(^|\s)>>(\d+?)([\s,.)?]|$)/', $body, $cites)) {
|
if(isset($board) && preg_match_all('/(^|\s)>>(\d+?)([\s,.)?]|$)/m', $body, $cites)) {
|
||||||
if(count($cites[0]) > $config['max_cites']) {
|
if(count($cites[0]) > $config['max_cites']) {
|
||||||
error($config['error']['toomanycites']);
|
error($config['error']['toomanycites']);
|
||||||
}
|
}
|
||||||
@ -1515,7 +1515,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,.)?]|$)/m', $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