#2594: Template system should handle whitespace better
----------------------------------------------------------+-----------------
Reporter: Gary Wilson <[email protected]> | Owner:
jshedd
Status: new | Milestone:
Component: Template system | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 1 | Needs_tests: 0
Needs_better_patch: 1 |
----------------------------------------------------------+-----------------
Comment (by steveire):
I'm not very familiar with the behavior of the blocktrans tag, but I guess
there would need to be some handling of the whitespace at the end of a
msgid being present in the po file, but not in the compiled template. I
don't know if gettext is that strict. I guess the message extractor script
should handle template syntax on its own line in the same way that the
latest patch here does.
If the django message extractor script already uses the same classes, then
there may be no problem, but it's something to look into.
This is related to #5849.
--
Ticket URL: <http://code.djangoproject.com/ticket/2594#comment:31>
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.