22 Apr
2004
22 Apr
'04
9:53 a.m.
Matt Hamilton wrote:
Vital Lobachevsky wrote:
Hi, all!
How to get this working with ZPT?
<!-- Page Template Diagnostics Compilation failed TAL.HTMLTALParser.NestingError: Open tags <html>, <body>, <script> do not match close tag </a>, at line 7, column 26 --> <html> <head> </head>
<body> <script language="javascript"> var str = "<a href=''>xxx</a>"; </script>
</body> </html>
Of cause, I can put < and >, but I need proper html in this string.
Vital, Try:
var str = "<" + "a href=''>xxx<" +"/a>";
It works. But doesn't look very friendly. =)