If I have in my jinja2 template
<td>{{ cell.text }}</td>
where in my python code I have
cell['text'] = 'Some Text\nSome Other Text'
I get
Some Text Some Other Text
When I was expecting
Some Text
Some Other Text
What do I need to do differently?
or – Val F. May 26 '22 at 18:59
Some Other Text", it didn't seem to parse it as HTML. I also tried "U+000A" and something like "&0016;", I forget what because I deleted it and can't find the code again for some reason. In both cases it just passed the literal string in. – Frank Harris May 26 '22 at 19:14