diff --git a/sourcing/templates/view.html b/sourcing/templates/view.html index fb888e7..3a94b6d 100644 --- a/sourcing/templates/view.html +++ b/sourcing/templates/view.html @@ -19,14 +19,14 @@ div#text { font-family: Courier; }
{% for i in line %} {%- if i.highlight -%} - {% if i.highlight != '\n' and i.highlight != '\r\n' %} + {%- if i.highlight != '\n' and i.highlight != '\r\n' -%} {{- nbsp_at_start(i.highlight) -}} - {% endif %} + {%- endif -%} {%- else -%} {{- nbsp_at_start(i.text) -}} {%- endif -%} @@ -42,7 +42,7 @@ div#text { font-family: Courier; } {% endif %}
span:
{% endif %}