kopia lustrzana https://github.com/dgtlmoon/changedetection.io
/preview format doesnt need <pre> - fixing too many returnlines in content on diff/preview page
rodzic
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 %}
|
||||
Ładowanie…
Reference in New Issue