From 7159e1686c7c14f41ab6200ea7b4a1ed4edf0372 Mon Sep 17 00:00:00 2001 From: Spencer Florence Date: Tue, 30 Dec 2014 13:17:19 -0600 Subject: [PATCH] fixed extra line breaks in html output --- private/html.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/private/html.rkt b/private/html.rkt index c75de4e..a4a0409 100644 --- a/private/html.rkt +++ b/private/html.rkt @@ -114,7 +114,7 @@ [(yes) "green"] [(no) "red"] [(missing) "black"])) - `(div ((style ,(string-append "color:" color))) ,@body)) + `(span ((style ,(string-append "color:" color))) ,@body)) (module+ test (define (test file out) @@ -125,5 +125,5 @@ (clear-coverage!)) (define f (path->string (simplify-path path))) (test f - `((div ((style "color:green")) + `((span ((style "color:green")) ,@(encode-string (file->string f))))))