[TYPO3-ttnews] disqus on tx_news -> Uncaught SyntaxError: Unexpected token ILLEGAL

d.ros projects at r-system.de
Mon Jan 14 09:57:38 CET 2013


Hi,

i just put the the fluid line into my template file to run the shipped 
viewhelper with most recent git Version of tx_news. the console gives me 
a Uncaught SyntaxError: Unexpected token ILLEGAL back.

In FE this code is generated:

<div id="disqus_thread"></div><script type="text/javascript">
var disqus_shortname = 'myshortname_is_hidden';
var disqus_identifier = 'news_14';
var disqus_url = 
'\x3Ca\x20href\x3D\x22aktuelles\x2Fintegrated\x2Dprojects\x2Dtraining\x22\x20\x2F\x3E';
var disqus_title = 'Integrated\x20Projects\x20\x2D\x20Training';
(function() {
var dsq = document.createElement("script"); dsq.type = 
"text/javascript"; dsq.async = true;
dsq.src = "http://" + disqus_shortname + ".disqus.com/embed.js";
(document.getElementsByTagName("head")[0] || 
document.getElementsByTagName("body")[0]).appendChild(dsq);
					})();
</script>

is this kind of escaping correct ?  Especially the url loos quite nasty  . .

cheers

D.ros


More information about the TYPO3-project-tt-news mailing list