diff --git a/src/Parser.js b/src/Parser.js index e283df8..08e2502 100644 --- a/src/Parser.js +++ b/src/Parser.js @@ -34,6 +34,7 @@ Ext.define('Proxmox.Markdown', { let url = new URL(value, window.location.origin); if ( _isHTTPLike(url.protocol) || + node.tagName.toLowerCase() === 'a' || (node.tagName.toLowerCase() === 'img' && url.protocol.toLowerCase() === 'data:') ) { node.attributes[i].value = url.href;