We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<img src="test.png"> processed result is <img src>
<img src="test.png">
<img src>
The text was updated successfully, but these errors were encountered:
If you make path absolute <img src="/test.png"> or with protocol it worked <img src="http://example.com/text.png">
<img src="/test.png">
<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
<img src="blob:http://localhost:3000/396578e2-1e38-450a-a947-deb08d786d2d">
Sorry, something went wrong.
use onTagAttr temporaryly solved this, example: onTagAttr: function(tag, name, value, isWhiteAttr) { if (tag === 'img' && name === 'src') { if (value.indexOf('"') === -1) { return ${name}="${value}" } } }
onTagAttr: function(tag, name, value, isWhiteAttr) { if (tag === 'img' && name === 'src') { if (value.indexOf('"') === -1) { return
} } }
No branches or pull requests
<img src="test.png">
processed result is<img src>
The text was updated successfully, but these errors were encountered: