[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[TYPO3] Replacing a character during content rendering


I would like to replace all straight apostrophes (') with the ’ 
character in all my text and text w/image blocks. The reason is that the 
straight apostrophe is not good in a typesetting context.

I found a way using a hook on


but I had to parse myself the whole HTML output and thus I cannot 
identify whether the content originated from a text block or not. The 
problem is that I still want straight apostrophes in my source code, 
when I use the source_highlighter plugin.

I think, it should be wise to hook instead in lib.parseFunc_RTE or 
lib.parseFunc but I could not find a way to hook there.

Any advice?

Xavier Perseguers
TYPO3-english mailing list
[email protected]