[TYPO3-templavoila] content inside <script> tags parsed?
Vladimir Podkovanov
podkovanov at gmail.com
Fri Feb 1 03:59:36 CET 2008
2008/2/1, Vladimir Podkovanov <podkovanov at gmail.com>:
> 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?"+hotlog_r+"&"
> 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
> _______________________________________________
> TYPO3-project-templavoila mailing list
> TYPO3-project-templavoila at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila
>
In mentioned example TV has substituted ' on " and added dublicate
</a> after script.
-rgds-
Vladimir
More information about the TYPO3-project-templavoila
mailing list