aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/xhtml_epub2_segments.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-02-05 01:28:30 -0500
committerRalph Amissah <ralph@amissah.com>2014-02-05 01:28:30 -0500
commitba017314c06829b8d8a92a85d2111a8582c4e1cc (patch)
treeae413a3c2eacce20422b238e0a57c16d5632adf8 /lib/sisu/v6/xhtml_epub2_segments.rb
parentdebian/changelog (5.3.0-1) (diff)
parentREADME & manpage (sisu.1) update (diff)
Merge tag 'sisu_5.3.1' into debian/sid
SiSU 5.3.1
Diffstat (limited to 'lib/sisu/v6/xhtml_epub2_segments.rb')
-rw-r--r--lib/sisu/v6/xhtml_epub2_segments.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v6/xhtml_epub2_segments.rb b/lib/sisu/v6/xhtml_epub2_segments.rb
index 2be4afd9..d249b0ff 100644
--- a/lib/sisu/v6/xhtml_epub2_segments.rb
+++ b/lib/sisu/v6/xhtml_epub2_segments.rb
@@ -401,7 +401,7 @@ WOK
sto.break
end
if @md.flag_separate_endnotes # may need to revisit, check
- dob.obj=dob.obj.gsub(/"\s+href="#note_ref(\d+)">/,%{" href=\"endnotes#{Sfx[:epub_xhtml]}#note_ref\\1">}) #endnote- twice #removed file type
+ dob.obj=dob.obj.gsub(/"\s+href="##{Mx[:note_ref]}(\d+)">/,%{" href=\"endnotes#{Sfx[:epub_xhtml]}##{Mx[:note_ref]}\\1">}) #endnote- twice #removed file type
end
if (dob.is ==:heading \
|| dob.is==:heading_insert \