/preview format doesnt need <pre> - fixing too many returnlines in content on diff/preview page

pull/402/head
dgtlmoon 3 years ago
parent 8607eccaad
commit 8e54a17e14

@ -6,21 +6,16 @@
<h1>Current</h1>
</div>
<div id="diff-ui">
<table>
<tbody>
<tr>
<!-- just proof of concept copied straight from github.com/kpdecker/jsdiff -->
<td id="diff-col">
<span id="result">{% for row in content %}<pre>{{row}}</pre>{% endfor %}</span>
<span id="result">{% for row in content %}{{row}}{% endfor %}</span>
</td>
</tr>
</tbody>
</table>
</div>
{% endblock %}
Loading…
Cancel
Save