From a5fd91365149c8b696e76a7a696a6191b3ae3930 Mon Sep 17 00:00:00 2001 From: Mauritz Jeanson Date: Wed, 12 Sep 2007 16:05:03 +0000 Subject: [PATCH] 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. --- xsl/html/chunk-common.xsl | 20 ++++++++++++++++++-- xsl/html/titlepage.xsl | 33 +++++++++++++++++++++++++++++---- 2 files changed, 47 insertions(+), 6 deletions(-) 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 @@ - + - + -- 2.40.0