aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/xhtml.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-09-05 23:24:51 -0400
committerRalph Amissah <ralph@amissah.com>2014-09-05 23:24:51 -0400
commita8187c8aa978e99dfbbcae1c6729e16c3438414e (patch)
treedb1ec0a09e972d2122059e665b59ad413a8fb648 /lib/sisu/v6/xhtml.rb
parentdebian/changelog (5.6.4-1) (diff)
parentv5 v6: ao_doc_str, if faulty document structure, stop; if --no-stop option, skip (diff)
Merge tag 'sisu_5.6.5' into debian/sid
SiSU 5.6.5
Diffstat (limited to 'lib/sisu/v6/xhtml.rb')
-rw-r--r--lib/sisu/v6/xhtml.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v6/xhtml.rb b/lib/sisu/v6/xhtml.rb
index 17f3a335..3bb33066 100644
--- a/lib/sisu/v6/xhtml.rb
+++ b/lib/sisu/v6/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