Bug #30044
closedThe colon in the attribute xml:lang in some cases gets removed
0%
Description
If I use <p style="text-align: center" xml:lang="ar" lang="ar" dir="rtl">abc</p> the source of the frontend is <p style="text-align: center" class="bodytext" xmllang="ar" lang="ar" dir="rtl">abc</p>.
If I use <p style="text-align: center"><span xml:lang="ar" lang="ar" dir="rtl">abc</span></p> the output of the source of the frontend is ok.
Updated by Chris topher over 12 years ago
- Subject changed from Problems of the frontend output of the attribute xml:lang in some combinations (XHTML 1.0 trans) to The colon in the attribute xml:lang in some cases gets removed
If you wrote it that way, it would be understandable much more easily:
===
When I have this in a content element: <p xml:lang="ar" lang="ar">
abc
</p>
the source in the frontend misses the colon in xml:lang like that:<p class="bodytext" xmllang="ar" lang="ar">
abc
</p>
If I use span tags this is rendered correctly:<p><span xml:lang="ar" lang="ar">
abc
</span></p>
Updated by Alexander Opitz over 9 years ago
- Status changed from New to Needs Feedback
- Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.7)?
Updated by anybody no-lastname-given over 9 years ago
I could not more reconstruct the problem, but I changed also many parameters in the configuration like:
From XHTML 1.0 to XHTML 5
config.xhtml_cleaning = output, because the other variant did not more work.
Updated by Alexander Opitz over 9 years ago
- Status changed from Needs Feedback to Closed
Thanks for feedback, I'll close the issue, please open a new one if you encounter the problem again.