From: Gabriel Goller <g.goller@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup] ui: remove unnecessary Ext.htmlEncode call
Date: Tue, 10 Dec 2024 17:13:58 +0100 [thread overview]
Message-ID: <20241210161358.385845-1-g.goller@proxmox.com> (raw)
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
reply other threads:[~2024-12-10 16:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241210161358.385845-1-g.goller@proxmox.com \
--to=g.goller@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox