diff --git a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/tools.js b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/tools.js index 6fa0a75..7c0a00d 100644 --- a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/tools.js +++ b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/tools.js @@ -700,12 +700,11 @@ return baseclass.extend({ if (value != "" && value != "\t") { value = '\n' + value + '\n'; if (this.multiline == 2) { - if (value.includes("'") || value.includes('"')) { + if (value.includes('"')) { alert(_('Unable to save the contents') + ':\n' + _('text cannot contain quotes!')); return false; } value = value.replace(/"/g, ''); - value = value.replace(/'/g, ''); } } } else {