]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
bump version to 3.2-3
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 5 Jul 2021 08:02:32 +0000 (10:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 5 Jul 2021 08:11:46 +0000 (10:11 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/changelog
src/Parser.js

index e2996684a7080894b3d9f299547414fc8c9ac380..4408ae8de2d74519606b22d3e243a492c9c9d7d2 100644 (file)
@@ -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 <support@proxmox.com>  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 <support@proxmox.com>  Sat, 03 Jul 2021 16:33:40 +0200
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 05 Jul 2021 09:47:46 +0200
 
 proxmox-widget-toolkit (3.2-1) bullseye; urgency=medium
 
index 779195fdb4a5a33b2111faf18e2d3b02bd81afb8..c70e759e5a083a3482c081da4023221bedd6a972 100644 (file)
@@ -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);