commit 4d62fba7f2d3b57889d5ba3bb34d2118c3f41ed6
parent 17acde5a1f2780ebe759655984574f3b9bd5db7d
Author: Matthew Flatt <mflatt@racket-lang.org>
Date: Thu, 25 Feb 2016 08:53:42 -0700
fix `scribble --redirect-main` with indirect links
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scribble-lib/scribble/html-render.rkt b/scribble-lib/scribble/html-render.rkt
@@ -1346,7 +1346,7 @@
(if (or indirect-link? dest)
`((a ([href
,(cond
- [(and ext-id external-root-url
+ [(and ext-id external-root-url dest
(let* ([ref-path (relative->path (dest-path dest))]
[rel (if (relative-path? ref-path)
#f