* Modify editor saved bug.

This commit is contained in:
caoyanyi
2022-05-31 10:20:37 +08:00
parent cf8fcb2c39
commit 55fe921331

View File

@@ -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);