Skip to content

Question about link rendering #8961

Answered by KalleOlaviNiemitalo
TiLied asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like a bug in #1157:

<xsl:template match="see[@href and not(parent::member)]">
<a>
<xsl:apply-templates select="@*|node()"/>
<xsl:if test="not(text())">
<xsl:value-of select="@href"/>
</xsl:if>
</a>
</xsl:template>
<xsl:template match="seealso[@href and not(parent::member)]">
<a>
<xsl:apply-templates select="@*|node()"/>
<xsl:if test="not(text())">
<xsl:value-of select="@href"/>
</xsl:if>
</a>
</xsl:template>

Because your seealso element has no text directly in it (although there is text in the em child e…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@TiLied
Comment options

@KalleOlaviNiemitalo
Comment options

Answer selected by TiLied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants