zpt and javascript xhtml errors
Bug #428571 reported by
macadames
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.pagetemplate |
Invalid
|
Low
|
Unassigned |
Bug Description
Hello
The bug https:/
many thanks for your attention
Jean-mat
Changed in zope2: | |
importance: | Undecided → Low |
affects: | zope2 → zope.pagetemplate |
To post a comment you must log in.
Perhaps it's not exactly the same problem. When publishing the same html content, the error message is :
<!-- Page Template Diagnostics htmltalparser. NestingError: Open tags <html>, <body>, <script> do not match close tag </title>, at line 14, column 42
Compilation failed
zope.tal.
-->
Perhaps a new bug ?
I can reproduce the same problem with this simple html code :
<html>
<head>
<title>Enter the title of your XHTML document here</title>
<script type="JavaScript">
<![CDATA[
toto= '<p>test< /p>';
alert (toto);
]]>
</script>
</head>
<body>
<div>test</div>
</body>
</html>
The </p> tag inside <![CDATA[ is not invalid
Thanks