summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/FAQ2html.pl
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-05-11 11:16:03 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-05-11 13:13:02 +0200
commite42bd4bd55320b05265f9e6d3942c3b169104240 (patch)
tree15e146827f23e309c3c848fb3b1fee1e6c4ff8df /crawl-ref/source/util/FAQ2html.pl
parent8330b58e71055cdd34a117c5f76ac6ebd830d65f (diff)
downloadcrawl-ref-e42bd4bd55320b05265f9e6d3942c3b169104240.tar.gz
crawl-ref-e42bd4bd55320b05265f9e6d3942c3b169104240.zip
Fix URLs not being enclosed in quotation marks.
Unquoted slashes are not allowed in HTML attributes.
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 a76760a038..2f0f0d29d1 100755
--- a/crawl-ref/source/util/FAQ2html.pl
+++ b/crawl-ref/source/util/FAQ2html.pl
@@ -144,7 +144,7 @@ while (my $line = <FILE>)
push @links, $b;
my $l = "link$count";
- $line = "$a<a href=$l>$l</a>$c ";
+ $line = "$a<a href=\"$l\">$l</a>$c ";
}
$count = 0;
foreach my $l (@links)