aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/html.rb
diff options
context:
space:
mode:
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 }