Message5193
See also
http://issues.roundup-tracker.org/issue2550811
> Bernhard Reiter added the comment:
> The solution sketched in my roundup-r4962-issue811-ber1.patch
> will not be good enough. The problem is: functions like .plain()
> will be called from within templating.py as well, so we get a mixture
> of str and unicode objects and some functions do not like unicode
> objects.
> For example urllib.quote will not like them and barf.
> I've also tested solutions using functions like .plainu(), but this will get too
> ugly. So I believe the solution should be to use a custom jinja2 filter to do
> unicode conversion on each variable call.
> Note that some objects will just be called from jinja2 and then use str() to
> get its string value. Example {{context.title}}
> ________________________________________________
> Roundup tracker <issues@roundup-tracker.org>
> <http://issues.roundup-tracker.org/issue2550811>
> ________________________________________________ |
|
Date |
User |
Action |
Args |
2015-01-28 10:09:06 | techtonik | unlink | issue2550811 messages |
2015-01-21 11:13:36 | antmail | set | recipients:
+ antmail, ber, pcaulagi, shammash |
2015-01-21 11:13:36 | antmail | link | issue2550811 messages |
2015-01-21 11:13:35 | antmail | create | |
|