nedbat,
@nedbat@hachyderm.io avatar

Anyone with some Javascript/HTML knowledge want to help me fix what should be a simple problem with the coverage.py HTML report? https://github.com/nedbat/coveragepy/issues/1765

danzin,
@danzin@mastodon.social avatar

@nedbat I get error messages about the lines starting at:

174 <a id="prevFileLink" class="nav" href="d_7b071bdc2a35fa80_whiteutils_py.html"/>

It says you cannot use a self-closing tag here, so it considers this an opening tag and the next tag a closing one. Maybe try </a> and </button> in these lines instead?

nedbat,
@nedbat@hachyderm.io avatar

@danzin Thanks! This was indeed the problem. I have to validate the whole file, i've been misusing closing tags.

danzin,
@danzin@mastodon.social avatar

@nedbat Ah, I think I get it. The fact that the <a> tag for the nextFileLink isn't properly closed makes the <button>s children of this link.

Somehow, that makes the shortcuts activate that link. You can see that by pressing "?", which also takes you to the next file.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ngwrru68w68
  • tacticalgear
  • JUstTest
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • provamag3
  • lostlight
  • All magazines