aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/dal_doc_str.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-26 19:18:48 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-26 19:18:48 -0400
commit95c75e73f9c0074a3e44fd9999661dc732f30080 (patch)
tree840a970c68e5ffd1937d5729d7c3149528d62eb6 /lib/sisu/v2/dal_doc_str.rb
parentdebian/changelog (2.4.0-1) (diff)
parentupdate: changelog, version (2.4.1) (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v2/dal_doc_str.rb')
-rw-r--r--lib/sisu/v2/dal_doc_str.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v2/dal_doc_str.rb b/lib/sisu/v2/dal_doc_str.rb
index e35baf5a..1dc6076e 100644
--- a/lib/sisu/v2/dal_doc_str.rb
+++ b/lib/sisu/v2/dal_doc_str.rb
@@ -87,7 +87,7 @@ module SiSU_document_structure_extract
end
end
def image_test(str)
- boolean=(str=~/\{\s*\S+?\.png.+?\}http:\/\/\S+/ ? true : false)
+ boolean=(str=~/\{\s*\S+?\.png.+?\}https?:\/\/\S+/ ? true : false)
end
def bullet_test(str)
bool=((str=~/\*/) ? true : false)