* [pbs-devel] [PATCH proxmox-backup] ui: remove unnecessary Ext.htmlEncode call
@ 2024-12-10 16:13 Gabriel Goller
0 siblings, 0 replies; only message 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] only message in thread
only message in thread, other threads:[~2024-12-10 16:14 UTC | newest]
Thread overview: (only message) (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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox