]> git.mxchange.org Git - friendica.git/commitdiff
Improve Markdown::convert panel display in mod/babel
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 5 Feb 2019 02:46:34 +0000 (21:46 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 5 Feb 2019 02:46:34 +0000 (21:46 -0500)
mod/babel.php

index 6e47b81084b0f158be746c56af021f026cd0c7ff..51bbf7c8a4b7ef8c6382dc21aa1c2dbfaee5c59c 100644 (file)
@@ -98,7 +98,7 @@ function babel_content()
                                $html = Text\Markdown::convert($markdown);
                                $results[] = [
                                        'title' => L10n::t('Markdown::convert (raw HTML)'),
-                                       'content' => htmlspecialchars($html)
+                                       'content' => visible_whitespace(htmlspecialchars($html))
                                ];
 
                                $results[] = [