Skip to content

Commit

Permalink
Merge pull request #4120 from raducoravu/map-conkeyref-title-ph
Browse files Browse the repository at this point in the history
Relaxed match to find ancestor map or topic
  • Loading branch information
jelovirt committed Feb 18, 2023
2 parents 91e475c + 4e33ee4 commit aaa1439
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -869,7 +869,7 @@ See the accompanying LICENSE file for applicable license.
<xsl:sequence select="."/>
</xsl:when>
<xsl:otherwise>
<xsl:variable name="topic" select="ancestor::*[contains(@class, ' topic/topic ')][1]" as="element()"/>
<xsl:variable name="topic" select="ancestor::*[contains(@class, ' topic/topic ') or contains(@class, ' map/map ')][1]" as="element()"/>
<xsl:sequence select="$topic/*[not(contains(@class, ' topic/topic '))]"/>
</xsl:otherwise>
</xsl:choose>
Expand Down

0 comments on commit aaa1439

Please sign in to comment.