fix relative URLs in single-page Scribble HTML output
Merge to v5.0.1 (cherry picked from commit 8cb0b6fd7bf45324d668eef8101cc42437e58c3c) original commit: 4be160043c0baa717d815678dc1fd74918a5c17c
This commit is contained in:
parent
5602b633ee
commit
bf8039fc90
|
@ -358,8 +358,10 @@
|
|||
|
||||
(define/private (dest->url dest)
|
||||
(format "~a~a~a"
|
||||
(from-root (relative->path (dest-path dest))
|
||||
(get-dest-directory))
|
||||
(let ([p (relative->path (dest-path dest))])
|
||||
(if (equal? p (current-output-file))
|
||||
""
|
||||
(from-root p (get-dest-directory))))
|
||||
(if (dest-page? dest) "" "#")
|
||||
(if (dest-page? dest)
|
||||
""
|
||||
|
|
Loading…
Reference in New Issue
Block a user