mirror of https://github.com/xwiki-labs/cryptpad
guard against bad filenames in slide options
This commit is contained in:
parent
e65d93efdf
commit
28ce7f828d
|
@ -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)]));
|
||||
$('<span>', {
|
||||
'class': 'fa fa-times',
|
||||
title: Messages.printBackgroundRemove,
|
||||
|
|
Loading…
Reference in New Issue