From 752cfd30e986d8a77bfcef51ee4a15ba3c044059 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 26 May 2010 19:16:02 -0400 Subject: general extension of regex matches for http: to include https: --- lib/sisu/v2/shared_html_lite.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sisu/v2/shared_html_lite.rb') 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!(/^:/,'') -- cgit v1.2.3