From: Thomas Lamprecht Date: Mon, 5 Jul 2021 08:02:32 +0000 (+0200) Subject: bump version to 3.2-3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=e1fc474412a556624c142610b434893a26ee4c10;p=proxmox-widget-toolkit.git bump version to 3.2-3 Signed-off-by: Thomas Lamprecht --- diff --git a/debian/changelog b/debian/changelog index e299668..4408ae8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,30 @@ -proxmox-widget-toolkit (3.2-2) UNRELEASED; urgency=medium +proxmox-widget-toolkit (3.2-3) bullseye; urgency=medium + + * node: repos: handle that components can be undefined + + * markdown: encode bad nodes HTML instead of pruning it + + * markdown: make sanitizer more strict in filtering tags and ensure that the + src and the href attributes point to a HTTP url, or is a data-url on a + image. + + * info widget: early return from update if text & value stayed the same + + * utils: updateColumnWidth: drop duplicate implementation and allow + overriding tresholdWidth + + * utils: updateColumnWidth: directly calculate column count by threshold, + automatically using more columns on wide containers. + + -- Proxmox Support Team Mon, 05 Jul 2021 10:10:47 +0200 + +proxmox-widget-toolkit (3.2-2) bullseye; urgency=medium * avoid using unique ids for components that may have more than one instance - at at time. Fixes and issue with switching between nodes on the new APT - Repository panel. + at the same time. Fixes and issue with switching between nodes on the new + APT Repository panel. - -- Proxmox Support Team Sat, 03 Jul 2021 16:33:40 +0200 + -- Proxmox Support Team Mon, 05 Jul 2021 09:47:46 +0200 proxmox-widget-toolkit (3.2-1) bullseye; urgency=medium diff --git a/src/Parser.js b/src/Parser.js index 779195f..c70e759 100644 --- a/src/Parser.js +++ b/src/Parser.js @@ -32,7 +32,7 @@ Ext.define('Proxmox.Markdown', { } else if ((name === 'href' || name === 'src') && !_isHTTPLike(value)) { try { let url = new URL(value, window.location.origin); - if (_isHTTPLike(url.protocol)) { + if (_isHTTPLike(url.protocol) || (node.tagName === 'img' && url.protocol === 'data:')) { node.attributes[i].value = url.href; } else { node.attributes.removeNamedItem(name);