diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-10-19 21:10:14 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-10-19 21:11:09 -0400 |
commit | 41ad83d4cdb6c27054bd69977f9640b56c220520 (patch) | |
tree | 0fbcbd2daa015d87fc8d92362612c352b34ec581 /lib/sisu/v5/html_segments.rb | |
parent | v5 v6: html, remove trailing backslash for empty linebreak & paragraph, <br> <p> (diff) |
v5 v6: html_format, "id"s for objects & footnotes
Diffstat (limited to 'lib/sisu/v5/html_segments.rb')
-rw-r--r-- | lib/sisu/v5/html_segments.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v5/html_segments.rb b/lib/sisu/v5/html_segments.rb index 4c588bb9..06aac4e1 100644 --- a/lib/sisu/v5/html_segments.rb +++ b/lib/sisu/v5/html_segments.rb @@ -672,7 +672,7 @@ module SiSU_HTML_Seg @@seg_subtoc_array << subtoc end if @md.flag_auto_endnotes - if (dob.obj =~/(?:#{Mx[:en_a_o]}|#{Mx[:en_b_o]})[\d*+]+ <a name="#{Mx[:note]}[\d*+]+"/) \ + if (dob.obj =~/(?:#{Mx[:en_a_o]}|#{Mx[:en_b_o]})[\d*+]+\s*<a href="##{Mx[:note_ref]}[\d*+]+"/) \ && dob.is !=:code # endnote- endnote_array=[] if dob.obj=~/#{Mx[:en_a_o]}.+?#{Mx[:en_a_c]}/m |