is valid?      

Text formatted with Texy:


“;
document.write(od­kaz);

Generated HTML code:

<p><script
type="text/javascript"> var x = document.getE&shy;lementsByTagNa&shy;me(‚h2‘); for (i=0;x &amp;&amp; i &lt; x.length; i++) 	{ 	var odkaz = „&lt;a href=\“#„+ x[i].id +“\„&gt;“+ x[i].innerHTML +„</script><br>
“;<br>
document.write(od&shy;kaz);<br>
}&nbsp;</p>

Verze Texy: 3.2.3 (konfigurace)