mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
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
Block a user