Opened 14 years ago
Closed 14 years ago
#15248 closed (wontfix)
Can not embed a comment bloc in another comment block
Reported by: | postal2600 | Owned by: | nobody |
---|---|---|---|
Component: | Template system | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | postal2600 | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I don't know if this is a bug or it should be like this, but if you have a {% comment %}{% endcomment %} bloc, in another comment block, you'll get an exception
Change History (2)
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This isn't an uncommon limitation in many programming languages. because it's syntactically ambiguous. In the following template:
Is the second
{% comment %}
something that is being commented out, or the start of a second comment?