ui: remove unnecessary Ext.htmlEncode call

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

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
Link: https://lore.proxmox.com/20241210161358.385845-1-g.goller@proxmox.com
This commit is contained in:
Gabriel Goller 2024-12-10 17:13:58 +01:00 committed by Thomas Lamprecht
parent 254169f622
commit a7a28c4d95

View File

@ -25,10 +25,8 @@ Ext.define('PBS.LoginView', {
Ext.create('Proxmox.window.ConsentModal', { Ext.create('Proxmox.window.ConsentModal', {
autoShow: true, autoShow: true,
consent: Proxmox.Markdown.parse( consent: Proxmox.Markdown.parse(
Ext.htmlEncode(
Proxmox.Utils.base64ToUtf8(Proxmox.consentText), Proxmox.Utils.base64ToUtf8(Proxmox.consentText),
), ),
),
}); });
} }
}, },