Permalink
Browse files

Fix https links

  • Loading branch information...
1 parent 7dc2ada commit 44b8ca64c88cf5d74637958510e56595cf7030e5 @incognico committed Jul 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 htdocs/index.cgi
View
@@ -235,7 +235,7 @@ sub print_page {
for (keys($$ttvars{huds})) {
if ($$ttvars{huds}{$_}{description}) {
$$ttvars{huds}{$_}{description} = encode_entities($$ttvars{huds}{$_}{description});
- $$ttvars{huds}{$_}{description} =~ s!\b((?:[hH][tT][tT][pP]://|[wW][wW][wW]\.)[^\s)'"]+)!<a style="font-weight:normal;" href="$1">$1</a>!g;
+ $$ttvars{huds}{$_}{description} =~ s!\b((?:[hH][tT][tT][pP][sS]?://|[wW][wW][wW]\.)[^\s)'"]+)!<a style="font-weight:normal;" href="$1">$1</a>!g;
#$$ttvars{huds}{$_}{description} =~ s/\s+/<br />/g;
$$ttvars{huds}{$_}{description} =~ s/\s/ /g;
}

0 comments on commit 44b8ca6

Please sign in to comment.