summaryrefslogtreecommitdiff
path: root/inc/functions.php
diff options
context:
space:
mode:
authorMarcin Łabanowski <marcin@6irc.net>2013-01-09 08:33:40 +0100
committerMarcin Łabanowski <marcin@6irc.net>2013-01-09 08:33:40 +0100
commitf6e9dbed1333f6761de0e748a6a41b6b365158dc (patch)
tree577d008a32ac5538c4cd48ebc7ceec4e9ae76077 /inc/functions.php
parente448bcb69c95ba9a9a13d32787d3e85c8a993e9a (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.php2
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)&gt;&gt;&gt;\/(\w+?)\/(\d+)?([\s,.)?]|$)/m', $body, $cites)) {
+ if (preg_match_all('/(^|\s)&gt;&gt;&gt;\/([\w.+]+?)\/(\d+)?([\s,.)?]|$)/m', $body, $cites)) {
if (count($cites[0]) > $config['max_cites']) {
error($config['error']['toomanycross']);
}