summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/FAQ2html.pl
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-05-11 11:12:11 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-05-11 13:13:02 +0200
commit67b16a19f1443669c3f28b6e93c1948f6f686c15 (patch)
treead07adfb070d78ba1d8243fb08b822f657cead3a /crawl-ref/source/util/FAQ2html.pl
parent1a5a8f68f969819edb6c39507e8c88c6562fbb7a (diff)
downloadcrawl-ref-67b16a19f1443669c3f28b6e93c1948f6f686c15.tar.gz
crawl-ref-67b16a19f1443669c3f28b6e93c1948f6f686c15.zip
Fix https:// links not being hyperlinked.
Diffstat (limited to 'crawl-ref/source/util/FAQ2html.pl')
-rwxr-xr-xcrawl-ref/source/util/FAQ2html.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/util/FAQ2html.pl b/crawl-ref/source/util/FAQ2html.pl
index f0d87c3944..a76760a038 100755
--- a/crawl-ref/source/util/FAQ2html.pl
+++ b/crawl-ref/source/util/FAQ2html.pl
@@ -133,7 +133,7 @@ while (my $line = <FILE>)
# same line.
my @links;
my $count = 0;
- while ($line =~ /^(.*)\b(http[^\s\)\,]+)([\s\)\,].*)/g)
+ while ($line =~ /^(.*)\b(http(?:s?)[^\s\)\,]+)([\s\)\,].*)/g)
{
$count++;