[Typo3] insertData and htmlSpecialChars

Rudy Gnodde gnodde.rudy at wag.nl
Tue Nov 8 15:34:41 CET 2005


Hello,

 

We've run into a bit of a problem. We're trying to display the title of
the page somewhere, which is working. However when there are special
characters (like &) in the title it does not change them into
htmlspecialchars (&), even though we did set the htmlSpecialChars =
1 option in typoscript. Is this because htmlspecialchars is done before
the data is inserted?

 

Here is the typoscript we use:

 

lib.header = TEXT

lib.header.value = {page:title}

lib.header.insertData = 1

lib.header.htmlSpecialChars = 1

 

Met vriendelijke groet, 
Rudy Gnodde


WIND Internet
Tijnjedyk 89
8936 AC Leeuwarden
Tel: 058 - 280 28 87

Fax: 058 - 288 13 91
E-mail: gnodde.rudy at windinternet.nl
Internet: www.windinternet.nl <http://www.windinternet.nl>  



 




More information about the TYPO3-english mailing list