[TYPO3-dev] Problem using & (ampersand) in headerdData
Stefan Geith
typo3dev2009.nospam1 at geithware.de
Mon Oct 26 14:44:10 CET 2009
Hi Devs,
maybe I am too dumb today:
I need to add headerData which contains the &-sign (ampersand).
So I added this TS to my TS-Setup:
...
headerData.1234 = TEXT
headerData.1234.insertData = 1
headerData.1234.value = <script type="text/javascript"
src="{getIndpEnv:TYPO3_SITE_URL}index.php?eID=getMaincats&levels=2"></script>
But the '&' always gets transformed to '&', so that I don't get the
needed paramters when I generate my JS-Output ...
_How_ can I avoid this ?
I tried
headerData.1234.htmlSpecialChars = 0
and many others - including a userFunc, but nothing helps.
What is the recomended way to simple ampersands to the header-data ?
/Stefan
P.S.: using Typo3 4.3-trunk
More information about the TYPO3-dev
mailing list