[TYPO3-templavoila] content inside <script> tags parsed?

Vladimir Podkovanov podkovanov at gmail.com
Fri Feb 1 03:37:13 CET 2008


Hello,
for some reason when I use TV I'm getting content inside <script> tags
parsed too,
for example if i try to insert counter code which has next lines

<script>
document.write("<a href='http://click.hotlog.ru/?488512'
target='_top'><img "+"
src='http://hit25.hotlog.ru/cgi-bin/hotlog/count?"+hotlog_r+"&'
border=0 width=88 height=31 alt=HotLog><\/a>")
</script>

I'm getting after TV next:

<script type="text/javascript">
document.write("<a href="http://click.hotlog.ru/?488512"
target="_top"><img
src="http://hit25.hotlog.ru/cgi-bin/hotlog/count?&quot;+hotlog_r+&quot;&amp;"
border="0" width="88" height="31" alt="HotLog" /><\/a>")
</script>
</a>

I know I can use typoscript to add such code, however is it TV related
bug or HTML parser's one?

Thank you in advance.

-rgds-
Vladimir


More information about the TYPO3-project-templavoila mailing list