diff --git a/racket/collects/xml/private/xexpr.rkt b/racket/collects/xml/private/xexpr.rkt index add87dd5f1..5dbad64766 100644 --- a/racket/collects/xml/private/xexpr.rkt +++ b/racket/collects/xml/private/xexpr.rkt @@ -131,7 +131,7 @@ (write-string/escape (cadr att) escape-attribute-table out) (write-string "\"" out)) (when insert-newlines? - (newline)) + (newline out)) ; Write end of opening tag (if (and (null? content) (case short