aboutsummaryrefslogtreecommitdiffstats
path: root/include/markdown.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-09-22 14:15:30 +0200
committerMario <mario@mariovavti.com>2018-09-22 14:15:30 +0200
commitc873f7e70261e918b83689971b73080fe43815aa (patch)
treeb278e2e7dffdea1b1fdf636f32f6613bce1ec137 /include/markdown.php
parent0a5ac62b59bf80b9942b2b6805aeea3796379d06 (diff)
downloadvolse-hubzilla-c873f7e70261e918b83689971b73080fe43815aa.tar.gz
volse-hubzilla-c873f7e70261e918b83689971b73080fe43815aa.tar.bz2
volse-hubzilla-c873f7e70261e918b83689971b73080fe43815aa.zip
Revert "Fix PHP Warning: DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity"
This reverts commit 184928204a264b231814b46ef294ef185dc0cdae
Diffstat (limited to 'include/markdown.php')
-rw-r--r--include/markdown.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/markdown.php b/include/markdown.php
index 0d810764f..e5f5b9369 100644
--- a/include/markdown.php
+++ b/include/markdown.php
@@ -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());