diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-11-26 19:09:44 +0000 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-11-26 19:09:44 +0000 |
commit | 061ef005e2d3a00a4408df46e6ab91e961e9ebb0 (patch) | |
tree | 31cb5c8514f141a188518beb4e685891ec2dfc9b /lib | |
parent | html scroll, <hr> line separator before endnotes and metadata (diff) |
html scroll line separator before document information
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v0/html_scroll.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v0/html_scroll.rb b/lib/sisu/v0/html_scroll.rb index 1c5b9659..e7a63951 100644 --- a/lib/sisu/v0/html_scroll.rb +++ b/lib/sisu/v0/html_scroll.rb @@ -150,8 +150,8 @@ module SiSU_HTML_scroll format_seg=SiSU_HTML_Format_type::Format_seg.new(@md,one,two) para=format_seg.no_paranum end - if para =~/Document Information/ - para.gsub!(/(Document Information(?: \(metadata\))?)/,'<hr><br>\1') + if para =~/Document Information \(metadata\)/ + para.gsub!(/(Document Information \(metadata\))/,'<hr><br>\1') end if para =~/<a name="n\d+">/ \ and para =~/^(?:\^~\d+\s|<!e[:_]\d+!>)/ # hmmm re-adjusted 200507, for alt endnote which should again be matched ^~ ... not in response to problem though |