Project

General

Profile

Actions

Feature #14587

closed

XHTML 1.1 compliance of tt_content.stdWrap.dataWrap

Added by Martin Kutschker over 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2005-03-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The default is to wrap an A-tag with the attribute name before the content element.

This is not valid in XHTML 1.1, XHTML Basic and the upcoming XHTML 2.0. These standards allow only an "id" instead of the "name".

(issue imported from #M855)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #14733: XHTML compliance of section anchorsClosed2005-05-14

Actions
Actions #1

Updated by Ernesto Baschny over 19 years ago

Also note that integer-only id's are not valid in XHTML 1.1 et al, so we cannot even have <a id="999">. My solution was to add a "c" in front of the tt_content uid:

  1. Before each content object
    tt_content.stdWrap.dataWrap = <a id="c{field:uid}"></a> |

This might break a couple of other things that link to these internal links. One place that I have found is the cObj menu, type 3: "Section index (pagecontent w/Index checked)". A solution for that is:

tt_content.menu.20.3.renderObj.typolink.section.wrap = c |

Actions #2

Updated by Martin Kutschker about 19 years ago

IDs may never start with digit, neither in HTML nor XHTML.

Actions #3

Updated by Martin Kutschker over 18 years ago

Fixed.

Actions

Also available in: Atom PDF