From 28ce7f828d561e996d8d095e20ff61c628d8036b Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 10 Feb 2022 12:03:48 +0530 Subject: [PATCH] guard against bad filenames in slide options --- www/slide/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/slide/inner.js b/www/slide/inner.js index 9c9b9c70b..02c9c2642 100644 --- a/www/slide/inner.js +++ b/www/slide/inner.js @@ -229,7 +229,7 @@ define([ var refreshValue = function () { $bgValue.html(''); if (slideOptionsTmp.background && slideOptionsTmp.background.name) { - $bgValue.append(Messages._getKey("printBackgroundValue", [slideOptionsTmp.background.name])); + $bgValue.append(Messages._getKey("printBackgroundValue", [Util.fixHTML(slideOptionsTmp.background.name)])); $('', { 'class': 'fa fa-times', title: Messages.printBackgroundRemove,