Index: lib/filterClasses.js |
=================================================================== |
--- a/lib/filterClasses.js |
+++ b/lib/filterClasses.js |
@@ -1355,18 +1355,17 @@ |
ElemHideBase.prototype = extend(ContentFilter, { |
/** |
* CSS selector for the HTML elements that should be hidden |
* @type {string} |
*/ |
get selector() |
{ |
- // Braces are being escaped to prevent CSS rule injection. |
- return this.body.replace("{", "\\7B ").replace("}", "\\7D "); |
+ return this.body; |
} |
}); |
/** |
* Class for element hiding filters |
* @param {string} text see {@link Filter Filter()} |
* @param {string} [domains] see {@link ElemHideBase ElemHideBase()} |
* @param {string} selector see {@link ElemHideBase ElemHideBase()} |