[tor-commits] [webwml/master] Fix display of ipv6 addresses on the website

sebastian at torproject.org sebastian at torproject.org
Tue Oct 11 15:25:53 UTC 2016


commit 6c84e8022ee16fcb532ebeaa0744d2dea3da379c
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Tue Oct 11 17:23:28 2016 +0200

    Fix display of ipv6 addresses on the website
    
    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.
---
 docs/en/tor-manual.wml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/en/tor-manual.wml b/docs/en/tor-manual.wml
index 3c81813..3d55e65 100644
--- a/docs/en/tor-manual.wml
+++ b/docs/en/tor-manual.wml
@@ -14,7 +14,7 @@
   <div id="maincol">  
     <:
     	die "Missing git clone at $(TORGIT)" unless -d "$(TORGIT)";
-    	my $man = `GIT_DIR=$(TORGIT) git show $(STABLETAG):doc/tor.1.txt | asciidoc -d manpage -s -o - -`;
+    	my $man = `GIT_DIR=$(TORGIT) git show $(STABLETAG):doc/tor.1.txt | asciidoc -d manpage -s -o - - | sed 's/\\[/\\[/g'`;
     	die "No manpage because of asciidoc error or file not available from git" unless $man;
     	print $man;
     :>



More information about the tor-commits mailing list