Actions
Feature #14587
closedXHTML 1.1 compliance of tt_content.stdWrap.dataWrap
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)
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:
- 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 |
Updated by Martin Kutschker over 19 years ago
IDs may never start with digit, neither in HTML nor XHTML.
Actions