﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33243	Inline comment vanishes in parsed template, comment block is represented as CommentNode	D. W.	nobody	"When parsing a template via

{{{#!python
from django.template import Template
template1 = Template('{# inline comment #}')
template2 = Template('{% comment %}block comment{% endblock %}')
}}}

the nodelist of the inline comment '''{# ... #}''' will be empty, but the nodelist of the block comment '''{% comment %}...{% endcomment %}''' will show the CommentNode.

{{{#!python
print(template1.nodelist)
# -> []
print(template2.nodelist)
# -> [<django.template.defaulttags.CommentNode object at 0x...>]
}}}

The inline comment should also be visible in the nodelist ... as a CommentNode oder an InlineCommentNode.
"	New feature	closed	Template system	4.0	Normal	wontfix			Unreviewed	0	0	0	0	0	0
