diff --git a/sourcing/templates/base.html b/sourcing/templates/base.html index 0756ab2..d910e10 100644 --- a/sourcing/templates/base.html +++ b/sourcing/templates/base.html @@ -6,8 +6,10 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{% block title %}Xanadu{% endblock %}</title> +<link href="https://fonts.googleapis.com/css?family=Neuton" rel="stylesheet"> <link rel="stylesheet" href="{{ url_for('static', filename='bootstrap4/css/bootstrap.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}"> + {% block style %} {% endblock %} </head> diff --git a/sourcing/templates/view.html b/sourcing/templates/view.html index 3b4cd4d..da00a34 100644 --- a/sourcing/templates/view.html +++ b/sourcing/templates/view.html @@ -80,7 +80,7 @@ </p> {%- endfor -%} {% else %} - {%- for start, line in iter_lines(text) if line -%} + {%- for start, line in iter_lines(text) if line != '\r\n' -%} {# <p data-start="{{ start }}">{% if line != "\n" and line != "\r\n" %}{{ line }}{% else %} {% endif %}</p>#} <p data-start="{{ start }}">{{ nbsp_at_start(line) }}</p>