Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
also convert ref tag when refid is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
superyyrrzz committed Sep 7, 2017
1 parent abb97fc commit f7f06ae
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,15 @@
</returns>
</xsl:template>

<xsl:template match="ref[normalize-space(@refid)]">
<xsl:template match="ref">
<xref>
<xsl:attribute name="href">
<xsl:attribute name="uid">
<xsl:value-of select="@refid"/>
</xsl:attribute>
<xsl:attribute name="data-throw-if-not-resolved">
<xsl:text>false</xsl:text>
</xsl:attribute>
<xsl:value-of select="current()"/>
</xref>
</xsl:template>

Expand Down

0 comments on commit f7f06ae

Please sign in to comment.