From 5d2bf735178ae0fcea8ba6b5831e65ef698cec6d Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 27 May 2019 12:02:28 -0400 Subject: [PATCH] Add Babel result screen for compact HTML::toPlaintext --- src/Module/Debug/Babel.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Module/Debug/Babel.php b/src/Module/Debug/Babel.php index 1ce1ac4c6e..be10da7ea4 100644 --- a/src/Module/Debug/Babel.php +++ b/src/Module/Debug/Babel.php @@ -159,6 +159,12 @@ class Babel extends BaseModule 'title' => L10n::t('HTML::toPlaintext'), 'content' => '
' . $text . '
' ]; + + $text = Text\HTML::toPlaintext($html, 0, true); + $results[] = [ + 'title' => L10n::t('HTML::toPlaintext'), + 'content' => '
' . $text . '
' + ]; } }