[TYPO3-RTE] What to do with lang and xml:attribues?

ben van 't ende [netcreators] ben at netcreators.nl
Wed Feb 1 23:33:03 CET 2006


Martin Kutschker wrote:
> ben van 't ende schrieb:
>> Martin Kutschker wrote:
>>
>>> Hi!
>>>
>>> To clarify, I know how to use them when I write my own HTML. But how do
>>> I use them from the RTE?
>>>
>>> The default setup allow the attribute nearly everywhere. Fine. But I
>>> don't know how the manipluate the attribute? I can neither set, change
>>> nor remove it manually.
>>>
>>> I have noticed that the attribute may come in via the clipboard. Guess
>>> what? lang="en-US" all over my German site :-(
>>>
>>> Any idea how to cope with it?

Hi Martin,

But seriously ;-) You have pasted content from another source? It should
be possible to remove lang attribute with a transformation by TSconfig.
Is it in a span tag?

If I read the documentation correctly this should do the trick then.

entryHTMLparser_db.tags.span.fixAttrib.lang.unset = 1

gRTz

ben
-- 
netcreators::creation and innovation
www.netcreators.com -  www.typo3.nl





More information about the TYPO3-project-rte mailing list