How can I add a whitespace to a filter?

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Sev

How can I add a whitespace to a filter?

Post by Sev »

Using the element helper, I can get rid of a page element easily. But sometimes, the page element has a space character after it, which I want to get rid of as well.

But adding a literal " " at the end of the filter rule doesn't work. So, how can I do this?
Wladimir Palant

Re: How can I add a whitespace to a filter?

Post by Wladimir Palant »

"A space" is a text node - and CSS selectors cannot be applied to text nodes, only to page elements containing them. So most likely the answer is: you cannot. But maybe somebody will be able to find a way if you show a particular example (link to a webpage and tell what exactly you would like to remove).
Locked