From 3c62a7206ecf5266e4b9d6714e5d56f6f27bd88c Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 4 Feb 2019 21:46:34 -0500 Subject: [PATCH] Improve Markdown::convert panel display in mod/babel --- mod/babel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/babel.php b/mod/babel.php index 6e47b81084..51bbf7c8a4 100644 --- a/mod/babel.php +++ b/mod/babel.php @@ -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[] = [ -- 2.39.5