Revert "Fix PHP Warning: DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity"
This reverts commit 184928204a
This commit is contained in:
parent
0a5ac62b59
commit
c873f7e702
@ -295,8 +295,6 @@ function bb_to_markdown($Text, $options = []) {
|
||||
*/
|
||||
function html2markdown($html,$options = []) {
|
||||
$markdown = '';
|
||||
|
||||
$html = htmlspecialchars($html);
|
||||
|
||||
$environment = Environment::createDefaultEnvironment($options);
|
||||
$environment->addConverter(new TableConverter());
|
||||
|
Reference in New Issue
Block a user