{% for line in hunk.lines %}
{% if line.left and line.left.line_num %}
{{ line.left.line_num }}
{% endif %}
{% if line.left and line.left.type == 'deletion' %}
-
{% elif line.type == 'context' %}
{% endif %}
{% if line.left and (line.left.highlighted_content or line.left.content) %}
{% if line.left.highlighted_content %}
{{ line.left.highlighted_content|safe }}
{% elif line.left.content %}
{{ line.left.content }}
{% endif %}
{% if line.left.missing_newline %}
↩
{% endif %}
{% else %}
{% endif %}
{% if line.right and line.right.line_num %}
{{ line.right.line_num }}
{% endif %}
{% if line.right and line.right.type == 'addition' %}
+
{% elif line.type == 'context' %}
{% endif %}
{% if line.right and (line.right.highlighted_content or line.right.content) %}
{% if line.right.highlighted_content %}
{{ line.right.highlighted_content|safe }}
{% elif line.right.content %}
{{ line.right.content }}
{% endif %}
{% if line.right.missing_newline %}
↩
{% endif %}
{% else %}
{% endif %}
{% endfor %}
{% if hunk.can_expand_after %}