Remove wrap length in Babel HTML::toPlaintext display

2022.09-rc
Hypolite Petovan 2019-08-06 21:23:09 -04:00
rodzic d32de58e34
commit 66d4e5ce5f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -160,7 +160,7 @@ class Babel extends BaseModule
'content' => visible_whitespace($markdown) 'content' => visible_whitespace($markdown)
]; ];
$text = Text\HTML::toPlaintext($html); $text = Text\HTML::toPlaintext($html, 0);
$results[] = [ $results[] = [
'title' => L10n::t('HTML::toPlaintext'), 'title' => L10n::t('HTML::toPlaintext'),
'content' => '<pre>' . $text . '</pre>' 'content' => '<pre>' . $text . '</pre>'