markdown parser: correctly remove src & href attribute if not valid URL

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-03 13:04:14 +02:00
parent e09af56554
commit 28f879c09e

View File

@ -38,7 +38,7 @@ Ext.define('Proxmox.Markdown', {
node.attributes.removeNamedItem(name); node.attributes.removeNamedItem(name);
} }
} catch (e) { } catch (e) {
node.attributes[i].removeNamedItem(name); node.attributes.removeNamedItem(name);
} }
} }
} }