From 571a67507b3aaec67851f07d078ec72ba383423e Mon Sep 17 00:00:00 2001
From: Edward Betts
Date: Wed, 7 Jun 2017 13:33:00 +0100
Subject: [PATCH] adjust text layout
---
sourcing/templates/view.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sourcing/templates/view.html b/sourcing/templates/view.html
index 1e14187..458c4e6 100644
--- a/sourcing/templates/view.html
+++ b/sourcing/templates/view.html
@@ -46,7 +46,7 @@
{%- endfor -%}
{% else %}
- {%- for start, line in iter_lines(text) if line -%}
+ {%- for start, line in iter_lines(text) if line != '\r\n' -%}
{# {% if line != "\n" and line != "\r\n" %}{{ line }}{% else %} {% endif
%}
#}
{{ nbsp_at_start(line) }}