diff options
author | Ralph Amissah <ralph@amissah.com> | 2007-10-15 19:27:27 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2007-10-15 19:27:27 +0100 |
commit | 7330cf6ae4fa17e3f6d9914ead719655ebbe590b (patch) | |
tree | 1f7253a22872ca2501d7aefc2a48b9b2df65f7f4 /lib/sisu/v0/html_format_css.rb | |
parent | debian/control add depends on rsync (diff) | |
parent | mostly the arrangement of conditionals (diff) |
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/html_format_css.rb')
-rw-r--r-- | lib/sisu/v0/html_format_css.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v0/html_format_css.rb b/lib/sisu/v0/html_format_css.rb index 497e883c..497ae1c2 100644 --- a/lib/sisu/v0/html_format_css.rb +++ b/lib/sisu/v0/html_format_css.rb @@ -344,7 +344,8 @@ module SiSU_HTML_Format_type #{@vz.table_close}} end def subtoc_lev - one=if @one and @one =~/<\/?i>|<a\s+name="\S+?">/mi + one=if @one \ + and @one =~/<\/?i>|<a\s+name="\S+?">/mi @one.gsub(/<\/?i>|<a\s+name="\S+?">/mi,'') #removes name markers from subtoc, go directly to substantive text else @one end |