https://bugzilla.wikimedia.org/show_bug.cgi?id=35013
Web browser: ---
Bug #: 35013
Summary: Sanitizer:removeHTMLtags failure: it removes XHMTL
style <img src=... /> tags when allowing this tag
expressly
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
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 ?
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l