From 4cfb12e9d92f3dcd8a50c8d817ec75e44bea2a9c Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 22 Apr 2018 14:28:34 -0400 Subject: [PATCH] Add one-line content filter when there's only one reason --- include/text.php | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/include/text.php b/include/text.php index 2ec017caff..6c09167494 100644 --- a/include/text.php +++ b/include/text.php @@ -1412,15 +1412,24 @@ function apply_content_filter($html, array $reasons) { if (count($reasons)) { $rnd = random_string(8); - $content_filter_html = ' -

' . - L10n::t('Click to open/close') . - '

-