[Typo3] insertData and htmlSpecialChars
Peter Russ
peter.russ at 4many.net
Tue Nov 8 15:55:09 CET 2005
Rudy Gnodde wrote:
> 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
>
>
Try
lib.header=TEXT
lib.header{
data={page:title}
htmlSpecialChars=1
}
Regs. Peter.
--
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ
More information about the TYPO3-english
mailing list