Skip to content
Snippets Groups Projects
Commit 57c9c2a9 authored by Max-Ferdinand Zeterberg's avatar Max-Ferdinand Zeterberg
Browse files

fix(line): remove a-tag from line

parent a30eb942
No related branches found
No related tags found
1 merge request!33Resolve "remove a-Element"
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment