From 1af8b1724453cbf2e0fdcd440e7b49b85d83e12d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 25 Apr 2019 15:58:25 +0000 Subject: [PATCH] Fix line number links The anchors no longer point to anything in the page. --- buildsrht/blueprints/jobs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildsrht/blueprints/jobs.py b/buildsrht/blueprints/jobs.py index da272b8..e61a6bb 100644 --- a/buildsrht/blueprints/jobs.py +++ b/buildsrht/blueprints/jobs.py @@ -245,7 +245,8 @@ def logify(text, task, log_url): + Markup('')) linenos = Markup('
')
     for no in range(1, nlines + 1):
-        linenos += Markup(f"{no}")
+        linenos += Markup(f'{no}')
         if no != nlines:
             linenos += Markup("\n")
     linenos += Markup("
") -- 2.38.5