Last modified: 2012-03-07 20:48:12 UTC
When allowing <img> tags by using $string = Sanitizer:removeHTMLtags( $string, null, array(), array( "img" ) ); this fails: Sanitizer htmlescapes the _closed_ img tag even when I say by using the allowed tag array( "img" ) that I want allow it and the tag should not be escaped. Can parser and sanitizer experts please have look into this singular problem and repair it ?
It appears that I made a mistake in my numerous tests: a constructed "a" link in "img"-tag preceeding context was not properly closed. This then broke the rest ... End of that story, and good news: Sanitizer:removeHTMLtags appears to work as designed.