diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-02-05 01:09:02 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-02-05 01:09:02 -0500 |
commit | d79d6050ce31f7d8d65a87be4008e11fae368770 (patch) | |
tree | 7599c14156ab2e5a79e9d87117e2d2ff7835da61 /lib/sisu/v6/html.rb | |
parent | v5 v6: epub, hash digests used only if available (diff) |
v5 v6: html, (output) cleaning
Diffstat (limited to 'lib/sisu/v6/html.rb')
-rw-r--r-- | lib/sisu/v6/html.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v6/html.rb b/lib/sisu/v6/html.rb index f1651326..8c9869e2 100644 --- a/lib/sisu/v6/html.rb +++ b/lib/sisu/v6/html.rb @@ -623,7 +623,8 @@ WOK toc_shared << format_txt_obj.center_bold @segtoc << format_txt_obj.center_bold if defined? @md.creator.author - creator_endnote=@md.creator.author.gsub(/(\*+)/, + creator=SiSU_HTML_Tune::CleanHTML.new(@md.creator.author).clean_for_html + creator_endnote=creator.gsub(/(\*+)/, %{ <sup><a href="#notes">\\1</a></sup>}) tmp_head=creator_endnote + "\n" txt_obj={ txt: tmp_head } |