[TYPO3-RTE] Attribute lang vs xml:lang - Problems with the former
Martin Kutschker
masi-no at spam-typo3.org
Tue Sep 23 11:17:48 CEST 2008
Hi!
I want to enter and save SPAN tags with a lang attribute. I thought I
managed this once but now the RTE kills all my lang attributes. After
digging into the code I found the place where my attribute is removed.
I'm not sure why this happens and what is the purpose of it.
The problem is in class.t3lib_parsehtml_proc.php. In the function
getKeepTags() is some magic that tries to clean the SPAN on the way to
the DB. By doing so it removes the attribute lang and title.
I want to allow these attributes in future versions of TYPO3. Any
objections?
Can I overcome this problem by TS configuration in the meantime?
Masi
More information about the TYPO3-project-rte
mailing list