2
0
mirror of https://github.com/boostorg/docca.git synced 2026-01-19 04:12:08 +00:00

strip links within codeblocks

This commit is contained in:
Krystian Stasiowski
2023-07-25 17:22:33 -04:00
parent 8ba36c0c1e
commit 0ce4e19839

View File

@@ -89,6 +89,10 @@
<xsl:template priority="1"
match="*[my:is-syntax-block(.)]//ref">``[link {$doc-ref}.{@d:refid} {d:qb-escape(.)}]``</xsl:template>
<xsl:template match="td[1]//ref" >[link {$doc-ref}.{@d:refid} {d:qb-escape(.)}]</xsl:template>
<!--
<xsl:template match="codeline//ref" >[link {$doc-ref}.{@d:refid} {d:qb-escape(.)}]</xsl:template>
-->
<xsl:template match="codeline//ref" >{.}</xsl:template>
<xsl:template match="ref" >[link {$doc-ref}.{@d:refid} `{.}`]</xsl:template>
<xsl:template mode="before" match="*[my:is-code-block(.)]">`</xsl:template>