Fix display of ipv6 addresses on the website
Sebastian Hahn

Sebastian Hahn commited on 2016-10-11 17:23:28
Zeige 1 geänderte Dateien mit 1 Einfügungen und 1 Löschungen.


I don't know what WML is doing, but somehow it's treating [FE80::] as a
special thing it doesn't want to display (unlike [::], which it displays
just fine). Fixes bug 18667.
... ...
@@ -14,7 +14,7 @@
14 14
   <div id="maincol">  
15 15
     <:
16 16
     	die "Missing git clone at $(TORGIT)" unless -d "$(TORGIT)";
17
-    	my $man = `GIT_DIR=$(TORGIT) git show $(STABLETAG):doc/tor.1.txt | asciidoc -d manpage -s -o - -`;
17
+    	my $man = `GIT_DIR=$(TORGIT) git show $(STABLETAG):doc/tor.1.txt | asciidoc -d manpage -s -o - - | sed 's/\\[/\\&lsqb;/g'`;
18 18
     	die "No manpage because of asciidoc error or file not available from git" unless $man;
19 19
     	print $man;
20 20
     :>
21 21