]> git.mxchange.org Git - friendica.git/commitdiff
bbcode documentation: improve cleancss
authorHypolite Petovan <ben.lort@gmail.com>
Wed, 2 Nov 2016 03:08:26 +0000 (23:08 -0400)
committerHypolite Petovan <ben.lort@gmail.com>
Wed, 2 Nov 2016 03:08:26 +0000 (23:08 -0400)
include/bbcode.php

index 6d56587ab1bd280c1f7bbceed7990cd3bb579a32..ebafc353a4dcb153b759ab3820f6cdf79f17a0c0 100644 (file)
@@ -146,7 +146,7 @@ function cleancss($input) {
                if (($char >= "a") and ($char <= "z"))
                        $cleaned .= $char;
 
-               if (!(strpos(" #;:0123456789-_", $char) === false))
+               if (!(strpos(" #;:0123456789-_.%", $char) === false))
                        $cleaned .= $char;
        }