#10891: Blocktrans fails in 1.1b if there are newlines in the text
------------------------------------+---------------------------------------
Reporter: stavros | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: 1.1-beta-1
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by Alex):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old description:
> The blocktrans tag silently fails to show the translation if there are
> newlines in the text to be translated. Only the original text is shown.
>
> {% blocktrans %}
> A test.
> {% endblocktrans %}
>
> fails.
>
> {% blocktrans %}A test.{% endblocktrans %}
>
> succeeds.
New description:
The blocktrans tag silently fails to show the translation if there are
newlines in the text to be translated. Only the original text is shown.
{{{
{% blocktrans %}
A test.
{% endblocktrans %}
}}}
fails.
{{{
{% blocktrans %}A test.{% endblocktrans %}
}}}
succeeds.
Comment:
Please use preview.
--
Ticket URL: <http://code.djangoproject.com/ticket/10891#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---