mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
parent
b7abd20087
commit
5252102def
@ -563,6 +563,22 @@
|
|||||||
</xsl:if>
|
</xsl:if>
|
||||||
</template-type-parameter>
|
</template-type-parameter>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
<!-- Doxygen 1.5.8 generates odd xml for template type parameters.
|
||||||
|
This deals with that -->
|
||||||
|
<xsl:when test="not(declname) and
|
||||||
|
(starts-with(string(type), 'class ') or starts-with(string(type), 'typename '))">
|
||||||
|
<template-type-parameter>
|
||||||
|
<xsl:attribute name="name">
|
||||||
|
<xsl:value-of select="normalize-space(substring-after(string(type), ' '))"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:if test="defval">
|
||||||
|
<default>
|
||||||
|
<xsl:apply-templates select="defval/*|defval/text()"
|
||||||
|
mode="passthrough"/>
|
||||||
|
</default>
|
||||||
|
</xsl:if>
|
||||||
|
</template-type-parameter>
|
||||||
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<template-nontype-parameter>
|
<template-nontype-parameter>
|
||||||
<xsl:attribute name="name">
|
<xsl:attribute name="name">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user