Drop Data URI `data:` scheme from img element for base64 embedded inline image
-
I used WordPress v5.5.3–ja and WordPress Importer v0.7 on PHP 7.4.
Imported Posts have some img elements with Data URI base64 embedded inline image.
Import had no error. But imported posts have no
data:
scheme. So images do not rendering from Web Browser (Firefox and Chromium).– original post:
<img src="data:image/jpeg;base64,
– imported post:<img src="image/jpeg;base64,
I used WordPress default exporter. Exported XML has
data:
scheme.Why WordPress Importer drop
data:
scheme?I think this is WordPress Importer bug. I will fix imported posts by using [Search Regex] plugin in this time.
- The topic ‘Drop Data URI `data:` scheme from img element for base64 embedded inline image’ is closed to new replies.