Open wcnjeusr opened 1 year ago
If you make path absolute <img src="/test.png">
or with protocol it worked <img src="http://example.com/text.png">
But it not worked for blobs for example <img src="blob:http://localhost:3000/396578e2-1e38-450a-a947-deb08d786d2d">
#264
use onTagAttr temporaryly solved this, example:
onTagAttr: function(tag, name, value, isWhiteAttr) { if (tag === 'img' && name === 'src') { if (value.indexOf('"') === -1) { return
${name}="${value}" } } }
<img src="test.png">
processed result is<img src>