From 694435b844760ca0443cf87bf73a537f06c37d7d Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 11 Nov 2019 13:08:43 -0500 Subject: Templite {% joined %} is more convenient than trailing hyphens --- coverage/htmlfiles/pyfile.html | 52 +++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'coverage/htmlfiles') diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 01659dd8..eb0f99c8 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -68,34 +68,34 @@
- {# These are the source lines, which are very sensitive to whitespace. -#} - {# The `{ # - # }` below are comments which slurp up the following space. -#} {% for line in lines -%} -

{#-#} - {{line.number}}{#-#} - {{line.html}} {#-#} - {% if line.context_list -%} - {#-#} - {% endif -%} - {# Things that should float right in the line. -#} - {#-#} - {% if line.annotate -%} - {{line.annotate}}{#-#} - {{line.annotate_long}}{#-#} - {% endif -%} - {% if line.contexts -%} - {#-#} - {% endif -%} - {#-#} - {# Things that should appear below the line. -#} - {% if line.context_list -%} - {#-#} - {% for context in line.context_list -%} - {{context}}{#-#} - {% endfor -%} - {#-#} - {% endif -%} + {% joined %} +

+ {{line.number}} + {{line.html}}  + {% if line.context_list %} + + {% endif %} + {# Things that should float right in the line. #} + + {% if line.annotate %} + {{line.annotate}} + {{line.annotate_long}} + {% endif %} + {% if line.contexts %} + + {% endif %} + + {# Things that should appear below the line. #} + {% if line.context_list %} + + {% for context in line.context_list %} + {{context}} + {% endfor %} + + {% endif %}

+ {% endjoined %} {% endfor %}
-- cgit v1.2.1