public inbox for pbs-devel@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

* [pbs-devel] applied: [PATCH proxmox-backup] ui: remove unnecessary Ext.htmlEncode call
  2024-12-10 16:13 [pbs-devel] [PATCH proxmox-backup] ui: remove unnecessary Ext.htmlEncode call Gabriel Goller
@ 2025-04-08 11:06 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-04-08 11:06 UTC (permalink / raw)
  To: pbs-devel, Gabriel Goller

On Tue, 10 Dec 2024 17:13:58 +0100, Gabriel Goller wrote:
> The Ext.htmlEncode call is unnecessary, it is already called in
> Markdown.parse.
> 
> 

Applied, thanks!

[1/1] ui: remove unnecessary Ext.htmlEncode call
      commit: a7a28c4d952453548aaa5b0545a3e53aa4617fc6


_______________________________________________
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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal