diff --git a/collects/scribble/html-render.ss b/collects/scribble/html-render.ss index 0b99d796..5a5bd336 100644 --- a/collects/scribble/html-render.ss +++ b/collects/scribble/html-render.ss @@ -964,8 +964,8 @@ (define/override (get-suffix) #"") (define/override (get-dest-directory) - (or (build-path (or (super get-dest-directory) (current-directory)) - (current-subdirectory)) + (or (and (current-subdirectory) + (build-path (or (super get-dest-directory) (current-directory)) (current-subdirectory))) (super get-dest-directory))) (define/override (derive-filename d)