aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/src/sgml/stylesheet-common.xsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/src/sgml/stylesheet-common.xsl b/doc/src/sgml/stylesheet-common.xsl
index e3841130eb7..c23d38f1280 100644
--- a/doc/src/sgml/stylesheet-common.xsl
+++ b/doc/src/sgml/stylesheet-common.xsl
@@ -77,7 +77,9 @@
<!-- Special support for Tcl synopses -->
<xsl:template match="optional[@role='tcl']">
- ?<xsl:call-template name="inline.charseq"/>?
+ <xsl:text>?</xsl:text>
+ <xsl:call-template name="inline.charseq"/>
+ <xsl:text>?</xsl:text>
</xsl:template>
</xsl:stylesheet>