diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-05-26 19:16:02 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-05-26 19:16:02 -0400 |
commit | 752cfd30e986d8a77bfcef51ee4a15ba3c044059 (patch) | |
tree | 648c5a2076a0c9eaea66d21e0ab2511490be2347 /lib/sisu/v2/shared_html_lite.rb | |
parent | dal syntax, doc_str, http: matches to include https: (diff) |
general extension of regex matches for http: to include https:
Diffstat (limited to 'lib/sisu/v2/shared_html_lite.rb')
-rw-r--r-- | lib/sisu/v2/shared_html_lite.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v2/shared_html_lite.rb b/lib/sisu/v2/shared_html_lite.rb index c1f53e10..2743a450 100644 --- a/lib/sisu/v2/shared_html_lite.rb +++ b/lib/sisu/v2/shared_html_lite.rb @@ -112,7 +112,7 @@ module SiSU_Format_Shared word.gsub!(/#{Mx[:lnk_o]}.+?#{Mx[:lnk_c]}(#{Mx[:url_o]}\S+?#{Mx[:url_c]}|image)/,ins) else u=case u - when /^http:\/\// + when /^https?:\/\// u when /^:/ u.gsub!(/^:/,'') |