Incorrect parsing of HTML by TAL parser
Bug #302887 reported by
altonator
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Won't Fix
|
Undecided
|
Unassigned | ||
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.tal |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
If you do:
<p>
<ul>
</ul>
</p>
Then the TAL parser fails giving an error, saying "NestingError: No tags are open to match </p>"
Putting <li>something</li> in the <ul> makes no difference.
If you change the <p> to anyting else, like <span>, <div>, <a> then the error doesn't occur. Magic!
Tried with:
Zope 2.11.1-final, python 2.4.5, freebsd7 (in page template in the ZMI)
Zope 2.10.5-final, python 2.4.4, darwin (in page template on local instance)
Zope 3 (tested by someone else on zope IRC)
Changed in zope2: | |
status: | Invalid → New |
Changed in zope3: | |
status: | Invalid → New |
Changed in zope3: | |
status: | New → Won't Fix |
Changed in zope2: | |
status: | New → Won't Fix |
Changed in zope.tal: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
To post a comment you must log in.
This is forbidden markup. As far as I know you can not nested block tags inside a <p> tag.