aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-14 20:51:15 -0700
committerzotlabs <mike@macgirvin.com>2017-05-14 20:51:15 -0700
commit2cc1844d979a73e07efd242368ff1bf3651369c0 (patch)
tree33850609795be2a49b179618680fc28fb8fbe805 /include/bbcode.php
parentef51c1c2b2b598a69391f95043b9ab32616ffea8 (diff)
downloadvolse-hubzilla-2cc1844d979a73e07efd242368ff1bf3651369c0.tar.gz
volse-hubzilla-2cc1844d979a73e07efd242368ff1bf3651369c0.tar.bz2
volse-hubzilla-2cc1844d979a73e07efd242368ff1bf3651369c0.zip
hubzilla issue #777
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index e0a19c8f0..04c5b6fdc 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 . '\[\*=([[:print:]]*?)(?<!\\\)\]/ism',
+ '/' . $eatLeadingSpaces . '\[\*=([\p{Any}]*?)(?<!\\\)\]/uism',
$closeDescriptionTag . '<dt>$1</dt><dd>',
$listElements
);