diff options
Diffstat (limited to 'django/template/defaulttags.py')
-rw-r--r-- | django/template/defaulttags.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py index d997d20077..2deae6d403 100644 --- a/django/template/defaulttags.py +++ b/django/template/defaulttags.py @@ -956,6 +956,7 @@ def url(parser, token): for arg in bits[2].split(','): if '=' in arg: k, v = arg.split('=', 1) + k = k.strip() kwargs[k] = parser.compile_filter(v) else: args.append(parser.compile_filter(arg)) |