From d345aacb4860d28135938a8181a08d551d0b5a9c Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 24 Sep 2007 14:13:54 +0100 Subject: html table of contents, cosmetic fix for rights and prefix appearing with toc --- CHANGELOG | 3 +++ lib/sisu/v0/html_format.rb | 10 ++-------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index bf49070d..1e5b9603 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -18,6 +18,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_0.59.1.orig.tar.gz * documentation headers cleanup + * html table of contents, cosmetic fix for rights and prefix appearing with + toc + %% sisu_0.59.0.orig.tar.gz (2007-09-23:38/7) http://www.jus.uio.no/sisu/pkg/src/sisu_0.59.0.orig.tar.gz 1f2497d2ac39ed9af24c0747b536e50e 10705420 sisu_0.59.0.orig.tar.gz diff --git a/lib/sisu/v0/html_format.rb b/lib/sisu/v0/html_format.rb index d9fa95c2..618799a7 100644 --- a/lib/sisu/v0/html_format.rb +++ b/lib/sisu/v0/html_format.rb @@ -468,17 +468,11 @@ WOK end def rights rights=@md.dc_rights.gsub(/^\s*Copyright\s+\(C\)/,'Copyright © ') - %{

#{rights}

+ %{

Rights: #{rights}

} end def prefix_b - %{ - - -
  - #{@md.prefix_b} -#{@vz.table_close} -

} + %{

Prefix: #{@md.prefix_b}

} end def scroll_head_title_banner_open %{

-- cgit v1.2.3