Project

General

Profile

Actions

Bug #30044

closed

The colon in the attribute xml:lang in some cases gets removed

Added by anybody no-lastname-given over 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-09-19
Due date:
% Done:

0%

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

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.

Actions #1

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>

Actions #2

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)?

Actions #3

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.

Actions #4

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.

Actions

Also available in: Atom PDF