Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
d-maurer opened this issue Jul 20, 2020 · 0 comments
Open

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

d-maurer opened this issue Jul 20, 2020 · 0 comments

Comments

@d-maurer
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant