Add Babel result screen for compact HTML::toPlaintext
This commit is contained in:
parent
5f9fb1f14f
commit
5d2bf73517
1 changed files with 6 additions and 0 deletions
|
@ -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>'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue