1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

TinyMce cleanup empty paragraph tags.

This commit is contained in:
Cameron
2016-04-28 18:26:21 -07:00
parent c40c909293
commit 2915c8b1f5

View File

@@ -221,6 +221,8 @@ TEMPL;
$text = e107::getBB()->htmltoBBcode($content); // not reliable enough yet.
}
$text = str_replace('[html]<p></p>[/html]','',$text); // cleanup.
return $text;
}