Issue Bug Closed

#24336<img> Tags are rendered with border attribute in HTML5 mode

Sebastian Michaelsen 12/14/10, 12:13 updated 03/29/11, 23:46

Description

By default Tags are rendered with a border attribute in HTML5. Only with XHTML they are omitted.
This is a bug. in HTML5 the border attribute is not allowed.

You can disable the border attribute by using config.disableImgBorderAttr = 1, but it should be disabled by default when using html5 to produce valid code.
(issue imported from #M16740)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.