Upgrade to 3.9.0
This commit is contained in:
@@ -571,7 +571,8 @@ class ParsedownExtra extends Parsedown
|
||||
$DOMDocument = new DOMDocument();
|
||||
|
||||
# http://stackoverflow.com/q/11309194/200145
|
||||
$elementMarkup = mb_convert_encoding($elementMarkup, 'HTML-ENTITIES', 'UTF-8');
|
||||
$elementMarkup = htmlentities($elementMarkup);
|
||||
$elementMarkup = htmlspecialchars_decode($elementMarkup);
|
||||
|
||||
# Ensure that saveHTML() is not remove new line characters. New lines will be split by this character.
|
||||
$DOMDocument->formatOutput = true;
|
||||
|
Reference in New Issue
Block a user