So i am using python flask to output the result of a script to plain text on a webpage. When I print the function from CLI the output looks like this:
1
2
3
4
5
However when it is on the website it looks like this:
1
2
3
4
5
The output HTML file looks like this:
<plaintext>
{% for rows in report %}
{{rows}}
{% endfor %}
Im really not great at HTML, but is there a way to remove the new lines that are added?