]> granicus.if.org Git - docbook-dsssl/commitdiff
In the <h1> output, replace call to 'get.doc.title' with
authorBob Stayton <bobs@sagehill.net>
Fri, 25 May 2012 16:59:12 +0000 (16:59 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 25 May 2012 16:59:12 +0000 (16:59 +0000)
mode="title.markup" because get.doc.title returns only
the string value of the title, losing any markup such
as <trademark> or <superscript>.

xsl/webhelp/xsl/webhelp-common.xsl

index db639cf9f3dfc2889faaf8e4189d3adbc3b3c935..5dd715f8ca68dfac15a1c6da3390d2926fbcadc1 100644 (file)
@@ -498,7 +498,7 @@ border: none; background: none; font-weight: none; color: none; }
            <xsl:call-template name="webhelpheader.logo"/>
             <!-- Display the page title and the main heading(parent) of it-->
             <h1>
-             <xsl:call-template name="get.doc.title"/>
+              <xsl:apply-templates select="/*[1]" mode="title.markup"/>
              <br/>
                 <xsl:choose>
                     <xsl:when