mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-08 18:33:58 +00:00
Pass through contents of parblock in Doxygen.
\parblock can be used to group multiple paragraps under a block command that expects a single paragraph as argument (e.g. \returns). So just forward the contents of the parblock in the current context.
This commit is contained in:
parent
1198d50fd9
commit
03120084bb
@ -1582,9 +1582,21 @@
|
||||
<xsl:value-of select="."/>
|
||||
</xsl:template>
|
||||
<xsl:template match="para" mode="passthrough">
|
||||
<para>
|
||||
<xsl:apply-templates mode="passthrough"/>
|
||||
</para>
|
||||
<xsl:choose>
|
||||
<xsl:when test="parblock">
|
||||
<!-- parblock is expected to contain a number of paragraphs,
|
||||
so just forward them directly in the current context. -->
|
||||
<xsl:apply-templates mode="passthrough"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<para>
|
||||
<xsl:apply-templates mode="passthrough"/>
|
||||
</para>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
<xsl:template match="parblock" mode="passthrough">
|
||||
<xsl:apply-templates mode="passthrough"/>
|
||||
</xsl:template>
|
||||
<xsl:template match="copydoc" mode="passthrough">
|
||||
<xsl:apply-templates mode="passthrough"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user