sforkowany z mirror/friendica
Remove wrap length in Babel HTML::toPlaintext display
rodzic
d32de58e34
commit
66d4e5ce5f
|
@ -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>'
|
||||||
|
|
Ładowanie…
Reference in New Issue