From 57c9c2a90ea1bf875d93fa97fbb7a14e68692ff0 Mon Sep 17 00:00:00 2001
From: Max-Ferdinand Zeterberg <zeterberg@sub.uni-goettingen.de>
Date: Wed, 17 Apr 2024 18:07:05 +0200
Subject: [PATCH] fix(line): remove a-tag from line

---
 .../edxml2html/libs/html-facsimile.lib.xsl    | 24 +++++++++----------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/scenarios/xslt/edxml2html/libs/html-facsimile.lib.xsl b/scenarios/xslt/edxml2html/libs/html-facsimile.lib.xsl
index b0d0981..231eeaf 100644
--- a/scenarios/xslt/edxml2html/libs/html-facsimile.lib.xsl
+++ b/scenarios/xslt/edxml2html/libs/html-facsimile.lib.xsl
@@ -80,19 +80,17 @@
         </xsl:variable>
         <div class="line-container">
             <div class="line" id="{$id}">
-                <a href="#{$id}" class="line-anchor">
-                    <span>
-                        <xsl:choose>
-                            <xsl:when test="@n">
-                                <xsl:attribute name="class">line-nr explicit</xsl:attribute>
-                            </xsl:when>
-                            <xsl:otherwise>
-                                <xsl:attribute name="class">line-nr calculated</xsl:attribute>
-                            </xsl:otherwise>
-                        </xsl:choose>
-                        <xsl:value-of select="$auto-nr"/>
-                    </span>
-                </a>
+                <span>
+                    <xsl:choose>
+                        <xsl:when test="@n">
+                            <xsl:attribute name="class">line-nr explicit</xsl:attribute>
+                        </xsl:when>
+                        <xsl:otherwise>
+                            <xsl:attribute name="class">line-nr calculated</xsl:attribute>
+                        </xsl:otherwise>
+                    </xsl:choose>
+                    <xsl:value-of select="$auto-nr"/>
+                </span>
                 <span class="line-body">
                     <xsl:apply-templates/>
                 </span>
-- 
GitLab