aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/odf.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-08-29 21:40:02 -0400
committerRalph Amissah <ralph@amissah.com>2008-08-29 21:40:02 -0400
commit749e0d8443028eaff7af93d17c8dae8d44be42bc (patch)
tree256bda91525894d928c74f8984d5e429311e0cb6 /lib/sisu/v0/odf.rb
parenttexpdf: removed space at beginning of paragraph; grouped text url fix (diff)
texpdf: paper use dimensions, tolerance, url matching; removal of dummy headings when not used; manifest presentation
* texpdf: paper use dimensions, tolerance, url matching; * removal of dummy headings when not used (html scroll, latex/pdf, odf) * manifest presentation
Diffstat (limited to 'lib/sisu/v0/odf.rb')
-rw-r--r--lib/sisu/v0/odf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sisu/v0/odf.rb b/lib/sisu/v0/odf.rb
index 03a94ce6..6b1491c2 100644
--- a/lib/sisu/v0/odf.rb
+++ b/lib/sisu/v0/odf.rb
@@ -441,6 +441,7 @@ module SiSU_ODF
data.each do |para|
#p para if para =~safe_characters and @md.cmd =~/V/ #KEEP
#para.gsub!(/&lt;(~\d+;(?:\w|[0-6]:)\d+;\w\d+)&gt;&lt;(#@dp:#@dp)&gt;/,'<\1><\2>')
+ para='' if para =~/#{Mx[:lv_o]}\d+:.*?#{Mx[:lv_c]}.+?#{Mx[:pa_non_object_dummy_heading]}/
para_array=[]
word=para.scan(/\S+|\n/)
if word