﻿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
764	[i18n] blocktrans parsing error when filter argument contains spaces	Nebojša Đorđević - nesh <nesh@…>	hugo	"When I using this:
{{{
{% blocktrans with object.pub_date|date:""F j, Y"" as date %}
Posted by <strong>{{ object.author }}</strong> on {{ date }}
{% endblocktrans %}
}}}

I'm getting following exception
{{{
...
  File ""/store/django/django/core/template/__init__.py"", line 221, in parse
    nodelist.append(registered_tags[command](self, token))

  File ""/store/django/django/templatetags/i18n.py"", line 189, in do_block_translate
    (countervar, counter, extra_context) = BlockTranslateParser(token.contents).top()

  File ""/store/django/django/templatetags/i18n.py"", line 178, in top
    raise TemplateSyntaxError, ""variable bindings in 'blocktrans' must be 'with value as variable'""

TemplateSyntaxError: variable bindings in 'blocktrans' must be 'with value as variable'
}}}"	defect	closed	Template system		normal	fixed		nesh@…	Unreviewed	0	0	0	0	0	0
