aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/xhtml.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-09-05 22:54:22 -0400
committerRalph Amissah <ralph@amissah.com>2014-09-05 23:14:30 -0400
commit6a13e63f51e69dacefe580b9084006ae66d3fafc (patch)
tree59862efda52be828b6559910b2e80e0aa7f7dc06 /lib/sisu/v5/xhtml.rb
parentv5 v6: shared_metadata, requires xml_shared (diff)
v5 v6: xml xhtml outputs, &amp; issues
Diffstat (limited to 'lib/sisu/v5/xhtml.rb')
-rw-r--r--lib/sisu/v5/xhtml.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v5/xhtml.rb b/lib/sisu/v5/xhtml.rb
index 138ccf6d..60049043 100644
--- a/lib/sisu/v5/xhtml.rb
+++ b/lib/sisu/v5/xhtml.rb
@@ -234,7 +234,7 @@ WOK
end
extract_endnotes(dob)
dob.obj=dob.obj.gsub(/#{Mx[:en_a_o]}([\d*+]+)\s+(?:.+?)#{Mx[:en_a_c]}/,'<en>\1</en>'). #footnote/endnote clean
- gsub(/#{Mx[:en_b_o]}([\d*+]+)\s+(?:.+?)#{Mx[:en_b_c]}/,'<en>\1</en>') #footnote/endnote clean
+ gsub(/#{Mx[:en_b_o]}([\d*+]+)\s+(?:.+?)#{Mx[:en_b_c]}/,'<en>\1</en>')
util=SiSU_TextUtils::Wrap.new(dob.obj,70)
wrapped=util.line_wrap
@@xml[:body] << if defined? dob.ocn