From 5f510e715b79c8c9001608ae97e71dc9c913fbd1 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 7 Jun 2017 13:32:42 +0100 Subject: [PATCH 1/2] add font --- sourcing/templates/base.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sourcing/templates/base.html b/sourcing/templates/base.html index 3f217b4..6ddba92 100644 --- a/sourcing/templates/base.html +++ b/sourcing/templates/base.html @@ -6,8 +6,10 @@ {% block title %}Xanadu{% endblock %} + + {% block style %} {% endblock %} From 571a67507b3aaec67851f07d078ec72ba383423e Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 7 Jun 2017 13:33:00 +0100 Subject: [PATCH 2/2] 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) }}