forked from leftypol/leftypol
Facilitate creation and usage of boards with "." and "+" characters in name.
This commit is mostly work in progress, will be rewritten.
This commit is contained in:
parent
e448bcb69c
commit
f6e9dbed13
3 changed files with 15 additions and 15 deletions
|
@ -1436,7 +1436,7 @@ function markup(&$body, $track_cites = false) {
|
|||
}
|
||||
|
||||
// Cross-board linking
|
||||
if (preg_match_all('/(^|\s)>>>\/(\w+?)\/(\d+)?([\s,.)?]|$)/m', $body, $cites)) {
|
||||
if (preg_match_all('/(^|\s)>>>\/([\w.+]+?)\/(\d+)?([\s,.)?]|$)/m', $body, $cites)) {
|
||||
if (count($cites[0]) > $config['max_cites']) {
|
||||
error($config['error']['toomanycross']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue