aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/html.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-02-05 01:09:02 -0500
committerRalph Amissah <ralph@amissah.com>2014-02-05 01:09:02 -0500
commitd79d6050ce31f7d8d65a87be4008e11fae368770 (patch)
tree7599c14156ab2e5a79e9d87117e2d2ff7835da61 /lib/sisu/v5/html.rb
parentv5 v6: epub, hash digests used only if available (diff)
v5 v6: html, (output) cleaning
Diffstat (limited to 'lib/sisu/v5/html.rb')
-rw-r--r--lib/sisu/v5/html.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v5/html.rb b/lib/sisu/v5/html.rb
index ef62b9bd..4a911d2c 100644
--- a/lib/sisu/v5/html.rb
+++ b/lib/sisu/v5/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(/(\*+)/,
%{&nbsp;<sup><a href="#notes">\\1</a></sup>})
tmp_head=creator_endnote + "\n"
txt_obj={ txt: tmp_head }