Project

General

Profile

Actions

Bug #24336

closed

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

Added by Sebastian Michaelsen over 13 years ago. Updated about 13 years ago.

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

0%

Estimated time:
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)

Actions

Also available in: Atom PDF