From 3f282d767483807e33d4d1611056a005cdd68ff5 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 26 Sep 2007 23:43:31 +0100 Subject: matches to take account of internal new naming/tagging of "document information" heading 1~meta --- lib/sisu/v0/html.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/sisu/v0/html.rb') diff --git a/lib/sisu/v0/html.rb b/lib/sisu/v0/html.rb index bdfd98ee..d12b6637 100644 --- a/lib/sisu/v0/html.rb +++ b/lib/sisu/v0/html.rb @@ -390,14 +390,14 @@ WOK end toc={} format_toc=SiSU_HTML_Format_type::Format_toc.new(@md,title) - toc[:seg]=if para =~/^\d~\s+Document Information/ + toc[:seg]=if para =~/^\d~meta\s+Document Information/ format_toc.lev0 else format_toc.lev1 end title=if para =~/(<~0;(?:\w|[0-6]:)\d+;\w\d+><#@dp:#@dp>)$/ m=/#{$1}/ para.gsub!(m,'') - if para=~/^\d~\s+Document Information/ + if para=~/^\d~meta\s+Document Information/ %{#{linkname}} else linkname end @@ -409,7 +409,7 @@ WOK %{#{linkname}} end format_toc=SiSU_HTML_Format_type::Format_toc.new(@md,title) - toc[:scr]=if para =~/^\d~\s+Document Information/ + toc[:scr]=if para =~/^\d~meta\s+Document Information/ format_toc.lev0 else format_toc.lev1 end -- cgit v1.2.3