mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-08-17 19:25:57 +00:00
fix html entities in system report file
since the content of the window is encoded with 'Ext.htmlEncode' we have to decode it with 'Ext.String.htmlDecode' (Ext.htmlDecode is a deprecated alias for it) before downloading the file Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
9e9c9d2671
commit
5101a9f82e
@ -60,7 +60,7 @@ Ext.define('PMG.Subscription', {
|
|||||||
{
|
{
|
||||||
text: gettext('Download'),
|
text: gettext('Download'),
|
||||||
handler: function() {
|
handler: function() {
|
||||||
var fileContent = reportWindow.getComponent('system-report-view').html;
|
var fileContent = Ext.String.htmlDecode(reportWindow.getComponent('system-report-view').html);
|
||||||
var fileName = getReportFileName();
|
var fileName = getReportFileName();
|
||||||
|
|
||||||
// Internet Explorer
|
// Internet Explorer
|
||||||
|
Loading…
Reference in New Issue
Block a user