fix img workaround code

fix bugs for external images and TinyMCE generated images url.
修复外部图像和 TinyMCE 生成的图像地址 Bug.