adjust text layout
This commit is contained in:
parent
5f510e715b
commit
571a67507b
|
@ -46,7 +46,7 @@
|
||||||
</p>
|
</p>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{% else %}
|
{% 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 data-start="{{ start }}">{% if line != "\n" and line != "\r\n" %}{{ line }}{% else %} {% endif
|
||||||
%}</p>#}
|
%}</p>#}
|
||||||
<p data-start="{{ start }}">{{ nbsp_at_start(line) }}</p>
|
<p data-start="{{ start }}">{{ nbsp_at_start(line) }}</p>
|
||||||
|
|
Loading…
Reference in a new issue