Index: lib/subscriptionClasses.js |
=================================================================== |
--- a/lib/subscriptionClasses.js |
+++ b/lib/subscriptionClasses.js |
@@ -144,17 +144,17 @@ |
buffer.push("fixedTitle=true"); |
if (this._disabled) |
buffer.push("disabled=true"); |
}, |
serializeFilters(buffer) |
{ |
for (let filter of this.filters) |
- buffer.push(filter.text.replace(/\[/g, "\\[")); |
+ buffer.push(filter.text.replace(/^(\s*)\[/, "$1\\[")); |
}, |
toString() |
{ |
let buffer = []; |
this.serialize(buffer); |
return buffer.join("\n"); |
} |