aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-14 21:04:34 -0700
committerMario Vavti <mario@mariovavti.com>2017-05-23 21:52:35 +0200
commit508ea9153c128b0204b125911dde56d568867ad0 (patch)
tree7eaa8b49bab846719aa8290ecc2c8f6973a8ac95 /include
parent6ff16e2651e46a33c9228150a1b13476c5741901 (diff)
downloadvolse-hubzilla-508ea9153c128b0204b125911dde56d568867ad0.tar.gz
volse-hubzilla-508ea9153c128b0204b125911dde56d568867ad0.tar.bz2
volse-hubzilla-508ea9153c128b0204b125911dde56d568867ad0.zip
this looks like a slightly cleaner solution to the unicode dl issue
Diffstat (limited to 'include')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 4c5ec7599..135368db9 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -383,7 +383,7 @@ function bb_definitionList($match) {
$eatLeadingSpaces = '(?:&nbsp;|[ \t])*'; // prevent spaces infront of [*= from adding another line to the previous element
$listElements = preg_replace('/^(\n|<br \/>)/', '', $match[2]); // ltrim the first newline
$listElements = preg_replace(
- '/' . $eatLeadingSpaces . '\[\*=([\p{Any}]*?)(?<!\\\)\]/uism',
+ '/' . $eatLeadingSpaces . '\[\*=([[:print:]]*?)(?<!\\\)\]/uism',
$closeDescriptionTag . '<dt>$1</dt><dd>',
$listElements
);