/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> <h1>Current</h1>
</div> </div>
<div id="diff-ui"> <div id="diff-ui">
<table> <table>
<tbody> <tbody>
<tr> <tr>
<!-- just proof of concept copied straight from github.com/kpdecker/jsdiff -->
<td id="diff-col"> <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> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
{% endblock %} {% endblock %}
Loading…
Cancel
Save