From: Hypolite Petovan Date: Mon, 27 May 2019 16:02:28 +0000 (-0400) Subject: Add Babel result screen for compact HTML::toPlaintext X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5d2bf735178ae0fcea8ba6b5831e65ef698cec6d;p=friendica.git Add Babel result screen for compact HTML::toPlaintext --- 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 . '
' + ]; } }