[Typo3] graphical header converting & --> &

Peter Klein peter at umloud.dk
Mon Mar 7 10:35:36 CET 2005


"Ingo Renner" <typo3 at ingo-renner.com> skrev i en meddelelse 
news:mailman.1.1110159081.30224.typo3-english at lists.netfielders.de...
> Hi,
>
> I've implemented a graphical header but there's small problem left:
> If you have a header for example "me & you" this results in "me &amp; you"
>

Hi Ingo.

Remove this part from your TS code.

   text.htmlSpecialChars = 0
   text.preserveEntities = 1
   text.removeBadHTML = 0
   text.rawUrlEncode = 0

And add this instead.

   text.HTMLparser = 1
   text.HTMLparser.htmlSpecialChars = -1

That should do the trick.. ;)

-- 
Peter Klein/Umloud Untd





More information about the TYPO3-english mailing list