summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles/pyfile.html
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-23 19:01:27 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-23 20:01:48 -0400
commitbd929f953734f3f5d6cf3e0534aa573b44fc45e2 (patch)
treef4acb62cc7983c64dfdf3488e8bc9e82d1c350d4 /coverage/htmlfiles/pyfile.html
parentc8ac44828eddfcb444dcdcfc7668370054e96cb9 (diff)
downloadpython-coveragepy-git-bd929f953734f3f5d6cf3e0534aa573b44fc45e2.tar.gz
fix(html): fix a few problems with the html report
- highlights weren't showing - anchored lines were not visible - some j/k motions were broken - clicking the big buttons at the top didn't work
Diffstat (limited to 'coverage/htmlfiles/pyfile.html')
-rw-r--r--coverage/htmlfiles/pyfile.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html
index 523f8483..1f7b6bd2 100644
--- a/coverage/htmlfiles/pyfile.html
+++ b/coverage/htmlfiles/pyfile.html
@@ -75,8 +75,8 @@
<main id="source">
{% for line in lines -%}
{% joined %}
- <p id="t{{line.number}}" class="{{line.css_class}}">
- <span class="n"><a href="#t{{line.number}}">{{line.number}}</a></span>
+ <p class="{{line.css_class}}">
+ <span class="n"><a id="t{{line.number}}" href="#t{{line.number}}">{{line.number}}</a></span>
<span class="t">{{line.html}}&nbsp;</span>
{% if line.context_list %}
<input type="checkbox" id="ctxs{{line.number}}" />