#1176 closed enhancement (fixed)
[patch] Comment tag that doesn't generate a nodelist
Description ¶
The existing comment tag actually builds a nodelist from its contents. This means that you can't comment out broken template tags during debugging because they still generate exceptions.
This patch adds a skip_past(endtagname)
method to the parser so that the comment tag can ignore its contents.
Change History (2)
by , 19 years ago
Attachment: | comment_without_parse_r1831.diff added |
---|
comment:1 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Comment tag without building nodelist