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))))))