diff options
| author | Marcin Łabanowski <marcin@6irc.net> | 2013-01-09 08:33:40 +0100 |
|---|---|---|
| committer | Marcin Łabanowski <marcin@6irc.net> | 2013-01-09 08:33:40 +0100 |
| commit | f6e9dbed1333f6761de0e748a6a41b6b365158dc (patch) | |
| tree | 577d008a32ac5538c4cd48ebc7ceec4e9ae76077 /inc/functions.php | |
| parent | e448bcb69c95ba9a9a13d32787d3e85c8a993e9a (diff) | |
Facilitate creation and usage of boards with "." and "+" characters in name.
This commit is mostly work in progress, will be rewritten.
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index a7b6b434..190b98ae 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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']); } |
