aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/html_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-26 19:16:02 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-26 19:16:02 -0400
commit752cfd30e986d8a77bfcef51ee4a15ba3c044059 (patch)
tree648c5a2076a0c9eaea66d21e0ab2511490be2347 /lib/sisu/v2/html_format.rb
parentdal 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/html_format.rb')
-rw-r--r--lib/sisu/v2/html_format.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v2/html_format.rb b/lib/sisu/v2/html_format.rb
index 00706192..b3712690 100644
--- a/lib/sisu/v2/html_format.rb
+++ b/lib/sisu/v2/html_format.rb
@@ -408,7 +408,7 @@ WOK
end
end
def links_guide_vertical_open #???
- url=((defined? @vz.url_hp) && @vz.url_hp =~/^http:\/\/\S+$/ ? @vz.url_hp : @vz.url_home)
+ url=((defined? @vz.url_hp) && @vz.url_hp =~/^https?:\/\/\S+$/ ? @vz.url_hp : @vz.url_home)
%{
<div id="vertical_links">
<ul id="vertical">
@@ -428,7 +428,7 @@ WOK
<!- quick ref -!>}
end
def links_guide_horizontal_open #???
- url=((defined? @vz.url_hp) && @vz.url_hp =~/^http:\/\/\S+$/ ? @vz.url_hp : @vz.url_home)
+ url=((defined? @vz.url_hp) && @vz.url_hp =~/^https?:\/\/\S+$/ ? @vz.url_hp : @vz.url_home)
%{
<div id="horizontal_links">
<ul id="horizontal">