mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-11 21:33:58 +00:00
Fixed a problem with boostbook printing an extra colon in the class
synopsis, when a class inherits from a single base class and it's too long to fit on one line. [SVN r40048]
This commit is contained in:
parent
caeaebade4
commit
ebff982ef1
@ -546,17 +546,17 @@ Unknown type element "<xsl:value-of select="local-name(.)"/>" in type.display.na
|
||||
<xsl:when test="$single-line-candidate and
|
||||
(string-length($single-line) + $indentation + 3
|
||||
< $max-columns)">
|
||||
<xsl:text> : </xsl:text>
|
||||
<xsl:call-template name="print.base.classes.single"/>
|
||||
<xsl:text> {</xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:when test="$single-line-candidate and
|
||||
(string-length($single-line) + $base-indentation + 5
|
||||
(string-length($single-line) + $base-indentation + 2
|
||||
< $max-columns)">
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:text> : </xsl:text>
|
||||
<xsl:call-template name="indent">
|
||||
<xsl:with-param name="indentation" select="$base-indentation"/>
|
||||
<xsl:with-param name="indentation" select="$base-indentation + 2"/>
|
||||
</xsl:call-template>
|
||||
<xsl:text> : </xsl:text>
|
||||
<xsl:call-template name="print.base.classes.single"/>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:call-template name="indent">
|
||||
@ -582,7 +582,6 @@ Unknown type element "<xsl:value-of select="local-name(.)"/>" in type.display.na
|
||||
<xsl:template match="inherit">
|
||||
<xsl:choose>
|
||||
<xsl:when test="position()=1">
|
||||
<xsl:text> : </xsl:text>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:text>, </xsl:text>
|
||||
|
Loading…
x
Reference in New Issue
Block a user