Meaningful notification message

This commit is contained in:
Michael 2021-08-19 13:58:55 +00:00
parent f0bb83c225
commit 6899d3c618
4 changed files with 321 additions and 98 deletions

View file

@ -175,7 +175,7 @@ class Plaintext
}
}
$html = BBCode::convert($post['text'] . ($post['after'] ?? ''), false, $htmlmode);
$html = BBCode::convertForUriId($item['uri-id'], $post['text'] . ($post['after'] ?? ''), $htmlmode);
$msg = HTML::toPlaintext($html, 0, true);
$msg = trim(html_entity_decode($msg, ENT_QUOTES, 'UTF-8'));