sforkowany z mirror/friendica
Remove extraneous HTML decode in Markdown::toBBCode
rodzic
b0dc3d6cf9
commit
5c726493ae
|
@ -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);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue