aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/xhtml_epub2_segments.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-02-05 01:02:31 -0500
committerRalph Amissah <ralph@amissah.com>2014-02-05 01:02:31 -0500
commit99c5b5d56f8785ee9ec2cc991c55a8a2eb6524bb (patch)
tree709cf7ab40ec7d5ab3e5ee25d1cbd1ac75a1dd57 /lib/sisu/v5/xhtml_epub2_segments.rb
parentv5 v6: ocn: strict html; turn on/off rules for txt & odf (diff)
v5 v6: html, endnote name and nameref make compliant (epub use same)
Diffstat (limited to 'lib/sisu/v5/xhtml_epub2_segments.rb')
-rw-r--r--lib/sisu/v5/xhtml_epub2_segments.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v5/xhtml_epub2_segments.rb b/lib/sisu/v5/xhtml_epub2_segments.rb
index 764fcc17..8612696f 100644
--- a/lib/sisu/v5/xhtml_epub2_segments.rb
+++ b/lib/sisu/v5/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 \