[TYPO3-RTE] Wrap a single tag

Stanislas Rolland stanislas.rolland at fructifor.ca
Mon Feb 27 07:13:22 CET 2006


Bjoern Kraus a écrit :
> 
> I'd like to wrap the hr-Tag ("<hr>") with "<div class="hr">|</div>" on 
> FE page generation. Can this be accomplished with TS?
> If this is not possible: Can I replace the default definition of the 
> hr-Tag with "<div class="hr"><hr /></div>"?
> 
You may be able to force the class attribute and remap the tag when 
rendering to the FE. I never tried it. See: 
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/5/18/

Perhaps, hr could also be treated as a custom tag and processed through 
parseFunc which may offer more stdWrap possibilities. I never tried it 
either. See: 
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/5/14/

You may also try to get advice from the content-rendering newsgroup.

Regards,
Stanislas




More information about the TYPO3-project-rte mailing list