﻿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
25067	Allowing all characters when parsing inclusion templatetags	Sven R. Kunze	nobody	"We use the inclusion_tag to create a special HTML DIV element with several custom attributes; basically like this:

{{{
@inclusion_tag('...')
def my_tag(x, **kwargs):
    return {
        'y': x +1,
        'extra_attrs': kwargs,
    }
}}}

Unfortunately, django/template/base.py:token_kwargs does not recognize '-' in variable names so that extra HTML attrs such as 'data-myattr' cannot be added to the DIV.

Python as such supports special characters in {{{**kwargs}}}."	Bug	closed	Template system	dev	Normal	duplicate	inclusion_tag, parse_bits, token_kwargs		Unreviewed	0	0	0	0	1	0
