adds a new hook 'InternalParseBeforeSanitize' to the parser
I am in need for a new hook, making it possible to change parser output before it goes to the sanitizer. This is the second extension I am working on which would profit from this.
The first time I was able to build around this by using 'InternalParseBeforeLinks' hook, calling Sanitizer::removeHTMLtags() manually on the newly inserted stuff. Now I had to run the whole sanitizer on the whole text for a second time.
I guess calling the sanitizer just once would be faster and the new hook would be more suitable for extension development. One suitable name could be 'InternalParseBeforeSanitize'. See my patch for details.
Version: 1.19
Severity: enhancement
attachment InternalParseBeforeSanitize.patch ignored as obsolete