aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-14 21:04:34 -0700
committerzotlabs <mike@macgirvin.com>2017-05-14 21:04:34 -0700
commit5c8a911c9334ad9b24a5c9a2e6e928519a586b92 (patch)
treede22b935fd9d95b7081a4039b34aa9ed4651267c /include
parent2cc1844d979a73e07efd242368ff1bf3651369c0 (diff)
downloadvolse-hubzilla-5c8a911c9334ad9b24a5c9a2e6e928519a586b92.tar.gz
volse-hubzilla-5c8a911c9334ad9b24a5c9a2e6e928519a586b92.tar.bz2
volse-hubzilla-5c8a911c9334ad9b24a5c9a2e6e928519a586b92.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 04c5b6fdc..d38397be7 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
);