mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
provide commentable state and minor cleanup
This commit is contained in:
@@ -120,6 +120,10 @@ function collecturls($message) {
|
||||
function html2plain($html, $wraplength = 75, $compact = false)
|
||||
{
|
||||
|
||||
if (!$html) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$message = str_replace("\r", "", $html);
|
||||
|
||||
// mb_convert_encoding() is deprecated
|
||||
|
||||
Reference in New Issue
Block a user