mirror of
https://github.com/friendica/friendica
synced 2024-11-19 01:03:40 +00:00
Remove extraneous HTML decode in Markdown::toBBCode
This commit is contained in:
parent
b0dc3d6cf9
commit
5c726493ae
1 changed files with 0 additions and 2 deletions
|
@ -109,8 +109,6 @@ class Markdown
|
|||
*/
|
||||
public static function toBBCode($s)
|
||||
{
|
||||
$s = html_entity_decode($s, ENT_COMPAT, 'UTF-8');
|
||||
|
||||
// The parser cannot handle paragraphs correctly
|
||||
$s = str_replace(['</p>', '<p>', '<p dir="ltr">'], ['<br>', '<br>', '<br>'], $s);
|
||||
|
||||
|
|
Loading…
Reference in a new issue