diff --git a/module/file/model.php b/module/file/model.php index f6de5f4544..4ab9025187 100644 --- a/module/file/model.php +++ b/module/file/model.php @@ -742,7 +742,6 @@ class fileModel extends model $content = $this->pasteImage($data->$editorID, $uid); if($content) $data->$editorID = $content; - $data->$editorID = htmlspecialchars_decode($data->$editorID); $data->$editorID = preg_replace("/ src=\"$readLinkReg\" /", ' src="' . $imgURL . '" ', $data->$editorID); $data->$editorID = preg_replace("/ src=\"" . htmlSpecialString($readLinkReg) . "\" /", ' src="' . $imgURL . '" ', $data->$editorID);