aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/dal_doc_str.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-26 19:12:44 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-26 19:12:46 -0400
commit1084e67511a39928d8f9c7a0af6ae36bcdb08b80 (patch)
tree4e6f8368911dda3581fcd73f51320bc286368527 /lib/sisu/v2/dal_doc_str.rb
parenttexpdf_format, https: url match with tilde, fix (diff)
dal syntax, doc_str, http: matches to include https:
also dal_syntax fix, no auto-bold or italics on relative or internal links
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)