provide commentable state and minor cleanup

This commit is contained in:
Mario
2025-05-08 10:27:57 +00:00
parent 25e29ec544
commit 918377a67b
5 changed files with 23 additions and 25 deletions

View File

@@ -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