diff options
Diffstat (limited to 'lib/sisu/v0/texpdf.rb')
-rw-r--r-- | lib/sisu/v0/texpdf.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v0/texpdf.rb b/lib/sisu/v0/texpdf.rb index d19384cf..f11e456d 100644 --- a/lib/sisu/v0/texpdf.rb +++ b/lib/sisu/v0/texpdf.rb @@ -302,12 +302,12 @@ module SiSU_TeX else para end if para.class == String - @md.flag_tables=true if para =~/<!Th?¡\s+c/ + @md.flag_tables=true if para =~/<!Th?¡\s+c/u do_mono=SiSU_TeX_Pdf::Format_text_object.new(@md,para) @tex_file << do_mono.special_characters elsif para.class == Array para.each do |grp| - @md.flag_tables=true if grp =~/<!Th?¡\s+c/ + @md.flag_tables=true if grp =~/<!Th?¡\s+c/u do_mono=SiSU_TeX_Pdf::Format_text_object.new(@md,grp) @tex_file << do_mono.special_characters end @@ -343,7 +343,7 @@ module SiSU_TeX @@tableheader={ :p => 0, :l => 0 } @tex_file=[] data.each do |para| - @tex_file << if para =~/¡|<!T/ + @tex_file << if para =~/¡|<!T/u tables_hash(@md,para) #Hash result else para end |