Filter text not being normalized by SDK
Steps to reproduce
Run the following code in the background page:
EWE.filters.add("foo")
EWE.filters.add(" foo")
EWE.filters.disable(" foo")
Observed behavior
The following custom filters were added:
- "foo" (enabled)
- " foo" (disabled)
Expected behavior
The following custom filters were added:
- "foo" (disabled)
Further information
Neither the SDK nor Core seem to call Filter.normalize()
before using the filter. The UI is also expected not to call it anymore (see #34 (closed)).