Index: lib/content/elemHideEmulation.js |
=================================================================== |
--- a/lib/content/elemHideEmulation.js |
+++ b/lib/content/elemHideEmulation.js |
@@ -344,17 +344,18 @@ |
class ContainsSelector |
{ |
constructor(textContent) |
{ |
this.dependsOnDOM = true; |
this.dependsOnCharacterData = true; |
- this._regexp = makeRegExpParameter(textContent); |
+ this._regexp = makeRegExpParameter( |
+ textContent.replace("\\7B ", "{").replace("\\7D ", "}")); |
} |
*getSelectors(prefix, subtree, styles, targets) |
{ |
for (let element of this.getElements(prefix, subtree, styles, targets)) |
yield [makeSelector(element), subtree]; |
} |