Use "filters" for the htmlParser API
|Reported by:||fredck||Owned by:||fredck|
Currently, we are introducing specific output manipulation directly into the domParser code. This makes that code quite hard to maintain, and less flexible, as it is not able to customize the manipulation with easy.
There should be instead a way to attach a "filter" to the parser, including all necessary rules for it.
In this the data processor can have a public filter property, which can be easily modified by a plugin or external code.