https://bugzilla.wikimedia.org/show_bug.cgi?id=46443
--- Comment #3 from T. Gries <[email protected]> --- (In reply to comment #0) > How to reproduce: > ================================================ .... > $extraInclude[] = "img"; > $text = '<img > src="http://tctechcrunch2011.files.wordpress.com/2013/03/ > yodlee_logo_final_rgb_lrg.jpg">'; > > $ret = Sanitizer::removeHTMLtags( $text, null, array(), $extraInclude, > $extraExclude ); > In my example above, the img tag was manually repaired, during my tests, and then I copied that too early to this bug. What I meant as test case is: $text = '<img src="http://tctechcrunch2011.files.wordpress.com/2013/03/yodlee_logo_final_rgb_lrg.jpg" />'; i.e. with the closing /> The effect is immediately apparent: the "open" image <img src=... > will be rendered, the "closed" <img src=... /> will not. Again, I am only talking about the case $extraInclude[] = "img"; -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
