all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] ui: remove unnecessary Ext.htmlEncode call
@ 2024-12-10 16:13 Gabriel Goller
  2025-04-08 11:06 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Goller @ 2024-12-10 16:13 UTC (permalink / raw)
  To: pbs-devel

The Ext.htmlEncode call is unnecessary, it is already called in
Markdown.parse.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
 www/LoginView.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/www/LoginView.js b/www/LoginView.js
index f9da8ede1b99..07d14dc6cae2 100644
--- a/www/LoginView.js
+++ b/www/LoginView.js
@@ -25,9 +25,7 @@ Ext.define('PBS.LoginView', {
 		Ext.create('Proxmox.window.ConsentModal', {
 		    autoShow: true,
 		    consent: Proxmox.Markdown.parse(
-			Ext.htmlEncode(
-			    Proxmox.Utils.base64ToUtf8(Proxmox.consentText),
-			),
+			Proxmox.Utils.base64ToUtf8(Proxmox.consentText),
 		    ),
 		});
 	    }
-- 
2.39.5



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-08 11:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-10 16:13 [pbs-devel] [PATCH proxmox-backup] ui: remove unnecessary Ext.htmlEncode call Gabriel Goller
2025-04-08 11:06 ` [pbs-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal