Project

General

Profile

Actions

Bug #60502

closed

CSS Styled Content may render duplicate image attribute "title"

Added by Markus no-lastname-given almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2014-07-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If you add an image to an Image-CE, you may add a title which is rendered as title attribute in the output.

If you additionally add a link to the image and add a title for that as well (I attached an example), the default Typoscript setting of "styles.content.imgtext.titleInLink = 1" will result in a duplicate title on the rendered link:

<a href="http://www.google.de" title="LINKTITLE" target="_blank" title="TITLE"><img src="/fileadmin/user_upload/dummy220.png" width="220" height="166"  alt="ALT"></a>

Files

duplicate_title.png (54.2 KB) duplicate_title.png Markus no-lastname-given, 2014-07-23 16:16
Actions

Also available in: Atom PDF