Bug #24336

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

Added by Sebastian Michaelsen almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2010-12-14
Due date:
% Done:

0%

TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

By default <img> 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)

History

#1 Updated by Ernesto Baschny almost 9 years ago

Committed v3 to trunk, rev. 10101

#2 Updated by Susanne Moog over 8 years ago

  • Target version deleted (4.5.0)

Also available in: Atom PDF