I have a python list which holds a few email ids accepted as unicode strings:
[u'one@example.com',u'two@example.com',u'three@example.com']
This is assigned to values['Emails'] and values is passed to render as html.
The Html renders as this:
Emails: [u’one@example.com’,u’two@example.com’,u’three@example.com’]
I would like it to look like this:
Emails: [ one@example.com, two@example.com, three@example.com ]
How can I do this in the server script?
Is there a simple way to achieve this in the HTML itself?
The easiest way for you to do it would be to iterate over your email list. e.g.
This way you (or a designer) will have a lot more control of the layout.
Have a look at the template documentation for more details.