Skip to content

Commit

Permalink
additional fixes for the same problem as 9357f84
Browse files Browse the repository at this point in the history
  • Loading branch information
staffanm committed Oct 19, 2018
1 parent 2946721 commit fcf4dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ferenda/sources/legal/se/res/xsl/sfs.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@
</li>
</xsl:template>

<xsl:template match="xhtml:div[@typeof='rpubl:Kapitel']" mode="toc">
<xsl:template match="xhtml:div[@typeof='rpubl:Kapitel' and @id]" mode="toc">
<li><a href="#{@id}"><xsl:value-of select="xhtml:h1"/></a>
<xsl:if test="xhtml:h2|xhtml:h3">
<ul class="nav">
Expand Down

0 comments on commit fcf4dff

Please sign in to comment.