diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-05-11 11:16:03 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-05-11 13:13:02 +0200 |
commit | e42bd4bd55320b05265f9e6d3942c3b169104240 (patch) | |
tree | 15e146827f23e309c3c848fb3b1fee1e6c4ff8df /crawl-ref/source/util/FAQ2html.pl | |
parent | 8330b58e71055cdd34a117c5f76ac6ebd830d65f (diff) | |
download | crawl-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-x | crawl-ref/source/util/FAQ2html.pl | 2 |
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) |