[TYPO3-RTE] RTE - XHTML link without target but rel

Daniel Huf dhuf at cross-systems.com
Mon Mar 16 12:02:58 CET 2009


Yes I still get the "target" attribut in the front end...
<a target="_top" href="http://url">link</a>

Isn't there a way to replace it with the "rel="

Thanks

Stanislas Rolland wrote:
> Daniel Huf a écrit :
>> I need to make a valid WAI (AAA) website, but the links from the 
>> HTMLAREA don't seem to convert the target="_blank" to rel="external".
>>
>> Is there a way ?
>>
>> I'm using:
>>
>> lib.parseFunc.tags.link.typolink.target >
>> PAGE_TARGET =
>> styles.content.links.extTarget =
>> styles.content.links.target =
>> content.pageFrameObj =
>> styles.content.mailform.target =
>> styles.content.searchresult.resultTarget =
>> styles.content.searchresult.target =
>>
>>
>> config {
>>    doctype = xhtml_strict
>>    doctypeSwitch = 0
>>
>>    xhtmlDoctype = xhtml_strict      xmlprologue = none
>>
>>    xhtml_cleaning = all
>> }
>> [browser = msie] && [version= <7]
>>    config.doctypeSwitch = 1
>> [global]
>>
>> And the TSCONFIG for the RTE
>>
>> RTE.default.proc.HTMLparser_db {
>>     xhtml_cleaning = 1
>> }
>>
>> even tried :
>> a.fixAttrib.target.unset = 1
>> a.allowedAttribs = class, target, id, title
>>
>> But it didn't work...
>>
> What did not work? Do you still get a target attribute in the frontend?
> 
> Stanislas


More information about the TYPO3-project-rte mailing list