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. TIA, Vital Lobachevsky
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>"; -Matt -- Matt Hamilton matth@netsight.co.uk Netsight Internet Solutions, Ltd. Business Vision on the Internet http://www.netsight.co.uk +44 (0)117 9090901 Web Design | Zope/Plone Development & Consulting | Co-location | Hosting
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. =)
Vital Lobachevsky wrote at 2004-4-22 11:19 +0300:
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.
Looks like a bug... Please file a bug report to "http://www.zope.org/Collectors/Zope". -- Dieter
Dieter Maurer wrote:
Vital Lobachevsky wrote at 2004-4-22 11:19 +0300:
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.
Looks like a bug... Please file a bug report to "http://www.zope.org/Collectors/Zope".
Yes, it's bug in Zope 2.5.1. It works fine in Zope 2.7.0
participants (3)
-
Dieter Maurer -
Matt Hamilton -
Vital Lobachevsky