1
0
Fork 0

Add Babel result screen for compact HTML::toPlaintext

This commit is contained in:
Hypolite Petovan 2019-05-27 12:02:28 -04:00
parent 5f9fb1f14f
commit 5d2bf73517

View file

@ -159,6 +159,12 @@ class Babel extends BaseModule
'title' => L10n::t('HTML::toPlaintext'),
'content' => '<pre>' . $text . '</pre>'
];
$text = Text\HTML::toPlaintext($html, 0, true);
$results[] = [
'title' => L10n::t('HTML::toPlaintext'),
'content' => '<pre>' . $text . '</pre>'
];
}
}