diff options
author | Ralph Amissah <ralph@amissah.com> | 2008-02-05 05:02:54 +0000 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2008-02-05 05:02:54 +0000 |
commit | 4c36cadd7fef8b4bbdb0f423bdc4b7c7365d5699 (patch) | |
tree | 5e8d5017242f98cf516999e189d0616a479c7b0d /lib/sisu/v0/html_segments.rb | |
parent | for update replace LIKE with '=' ; required by pg8.3 bigint (diff) |
ruby 1.9 open; future pgsql testing on 8.3; encoding utf-8 checks; version bump 0.65.0
* ruby 1.9 use opened, testing required
* db sql pgsql future testing on version 8.3
* encoding utf-8 some compatibility checks
Diffstat (limited to 'lib/sisu/v0/html_segments.rb')
-rw-r--r-- | lib/sisu/v0/html_segments.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v0/html_segments.rb b/lib/sisu/v0/html_segments.rb index 7972619a..687000f1 100644 --- a/lib/sisu/v0/html_segments.rb +++ b/lib/sisu/v0/html_segments.rb @@ -174,7 +174,7 @@ module SiSU_HTML_seg end m=para[/.+?<a name="(\d+)">.*/]; @@get_hash_to=$1 if m # changed 2002w42, again w44 ! & again 2003w16 m=para[/^4~(\S+)/]; @@get_hash_fn=$1 if m - para=if para =~/<!Th?¡\s+c|<:(?:code|alt|verse|group)>/m; para.split(/\n/) + para=if para =~/<!Th?¡\s+c|<:(?:code|alt|verse|group)>/um; para.split(/\n/) else para end if para.class == String @@ -323,7 +323,7 @@ module SiSU_HTML_seg end else para end - elsif para =~/¡|<!T[hZ]?/ + elsif para =~/¡|<!T[hZ]?/u table=SiSU_HTML_shared::Table.new(para) para=table.table end |