diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-08-18 23:09:30 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-08-18 23:09:30 -0400 |
commit | 3ff0378e90fb7fc91a3c2a362400b4df9520d4f7 (patch) | |
tree | 081c3581e49db46d176622b150b75883677dc4d6 | |
parent | v3: 3.0.16 version & changelog "opened" (diff) |
v3: html_format, texinfo_format, minor, html seg presentation fix
-rw-r--r-- | lib/sisu/v3/html_format.rb | 2 | ||||
-rw-r--r-- | lib/sisu/v3/texinfo_format.rb | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v3/html_format.rb b/lib/sisu/v3/html_format.rb index e89b5c43..8558cf1e 100644 --- a/lib/sisu/v3/html_format.rb +++ b/lib/sisu/v3/html_format.rb @@ -994,7 +994,7 @@ WOK if defined? dob.tags \ and dob.tags.length > 0 # insert tags "hypertargets" dob.tags.each do |t| - tags=tags +%{<a name="#{t}" />} + tags=tags +%{<a name="#{t}" ></a>} end end tags diff --git a/lib/sisu/v3/texinfo_format.rb b/lib/sisu/v3/texinfo_format.rb index cd98754a..959cbf64 100644 --- a/lib/sisu/v3/texinfo_format.rb +++ b/lib/sisu/v3/texinfo_format.rb @@ -394,7 +394,6 @@ WOK txt.gsub!(/ø/,'\o'); txt.gsub!(/Ø/,'\O') txt.gsub!(/<a href=".+?">/i,' ') txt.gsub!(/<\/a>/i,' ') - txt.gsub!(/<:ee>/i,'') txt.gsub!(/<!>/i,' ') txt.gsub!(/#{Mx[:br_paragrph]}/i,'') #watch txt.gsub!(/#{Mx[:fa_bold_o]}(.+?)#{Mx[:fa_bold_c]}/,'*\1*') |