Skip to content

(tal) start tags with missing end tag are silently ignored #327

Open

Description

@d-maurer

Reproduced by (e.g.)

from chameleon.zpt.template import PageTemplate
ts = """<tal:define define="x 1"><span tal:content="x"/>"""
t = PageTemplate(ts)
t()

It is quite frequent to forget end tags (or place them at the wrong place in the template structure). Silently ignoring the corresponding start tags makes the analysis of such errors much more difficult.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions