]> granicus.if.org Git - docbook-dsssl/commitdiff
Added 'ln-' prefix to the name of the legalnotice chunk, in order to match the
authorMauritz Jeanson <mj@johanneberg.com>
Sat, 8 Sep 2007 08:24:19 +0000 (08:24 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Sat, 8 Sep 2007 08:24:19 +0000 (08:24 +0000)
<link href"..."> that is output by make.legalnotice.head.links (chunk-common.xsl).
Modified the href attribute on the legalnotice link.
Closes bug #1790495.

xsl/html/titlepage.xsl

index c8a374059b0497cce3ddd8c1b49cbcfbbc767a3c..fcaa667325ed9b8c296446354685daba5f5fcce0 100644 (file)
       <xsl:variable name="filename">
         <xsl:call-template name="make-relative-filename">
           <xsl:with-param name="base.dir" select="$base.dir"/>
-         <xsl:with-param name="base.name" select="concat($id,$html.ext)"/>
+         <xsl:with-param name="base.name" select="concat('ln-',$id,$html.ext)"/>
         </xsl:call-template>
       </xsl:variable>
 
         <xsl:apply-templates select="." mode="title.markup"/>
       </xsl:variable>
 
-      <xsl:variable name="href">
-        <xsl:apply-templates mode="chunk-filename" select="."/>
-      </xsl:variable>
-
-      <a href="{$href}">
+      <a href="{concat('ln-',$id,$html.ext)}">
         <xsl:copy-of select="$title"/>
       </a>