{# We need to put file content in attribues, rather than as text children of the pre nodes, to prevent the DOM parser from stripping leading and trailing whitespace, which is important for matching line numbers. #} {% if viewer %} {% if viewer.selected and not viewer.selected['binary'] %}
{% endif %} {% elif diff %} {% if left or right %}
{% endif %} {% endif %}
{% if viewer %} {% if viewer.selected %} {% with selected = viewer.selected %} {% include "files/file.html" %} {% endwith %} {% endif %} {% elif diff %} {% if diff.left and diff.left.selected %} {% with selected = diff.left.selected %} {% include "files/file.html" %} {% endwith %} {% endif %} {% if diff.right and diff.right.selected %} {% with selected = diff.right.selected %} {% include "files/file.html" %} {% endwith %} {% endif %} {% endif %}