From: Mauritz Jeanson Date: Wed, 12 Sep 2007 16:05:03 +0000 (+0000) Subject: An update to the fix for bug #1790495 (r7433): X-Git-Tag: release/1.79.1~6^2~1659 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=215acf236bd0126623c699da26e0b7ef771f0d77;p=docbook-dsssl An update to the fix for bug #1790495 (r7433): The "ln-" prefix is output only when the legalnotice doesn't have an @id/@xml:id, in which case the stylesheets generate an ID value, resulting in a filename like "ln-7e0fwgj.html". This is useful because without the prefix, you wouldn't know that the file contained a legalnotice. The same logic is also applied to revhistory, using an "rh-" prefix. --- diff --git a/xsl/html/chunk-common.xsl b/xsl/html/chunk-common.xsl index f368af134..8b0fdae9d 100644 --- a/xsl/html/chunk-common.xsl +++ b/xsl/html/chunk-common.xsl @@ -1733,9 +1733,12 @@ + + + - + @@ -1756,9 +1759,22 @@ normalize-space( substring-after($html.head.legalnotice.link.types, ' ')),' ')"/> + + + + + + + + + + + + + - + + + + + + + + + + + + + + - + @@ -541,7 +554,7 @@ - + @@ -745,6 +758,18 @@ + + + + + + + + + + + + RevHistory @@ -776,11 +801,11 @@ - + - +