diff --git a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/tools.js b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/tools.js index f578f71..c853887 100644 --- a/luci-app-zapret/htdocs/luci-static/resources/view/zapret/tools.js +++ b/luci-app-zapret/htdocs/luci-static/resources/view/zapret/tools.js @@ -429,6 +429,10 @@ return baseclass.extend({ value = value.replace(/\r/g, ''); if (value != "" && value != "\t") { value = '\n' + value + '\n'; + if (this.multiline == 2) { + value = value.replace(/"/g, ''); + value = value.replace(/'/g, ''); + } } } else { value = value.replace(/\r\n/g, ' ');