diff options
author | zotlabs <mike@macgirvin.com> | 2017-05-14 20:51:15 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-05-23 21:52:21 +0200 |
commit | 6ff16e2651e46a33c9228150a1b13476c5741901 (patch) | |
tree | e2328b0b11e6ee76b714aafda7d7151f3a2ef99a | |
parent | da682717ab6b37f87e2620a4305fa78131d57063 (diff) | |
download | volse-hubzilla-6ff16e2651e46a33c9228150a1b13476c5741901.tar.gz volse-hubzilla-6ff16e2651e46a33c9228150a1b13476c5741901.tar.bz2 volse-hubzilla-6ff16e2651e46a33c9228150a1b13476c5741901.zip |
hubzilla issue #777
-rw-r--r-- | include/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 2f15cefe1..4c5ec7599 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -383,7 +383,7 @@ function bb_definitionList($match) { $eatLeadingSpaces = '(?: |[ \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 ); |