commit db9d12594933ce3b84c4d8239b4ffc6001ac570c
parent dd52a32d66d3a3c40f383ddbe8d64b620e95e939
Author: Eli Barzilay <eli@barzilay.org>
Date: Sun, 20 Jun 2010 05:08:36 -0400
Apparently inline styles shouldn't be in comments now.
original commit: acb86d69f34483dbf3dce0f9748d3f1f01d0643b
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/collects/meta/web/html/html.rkt b/collects/meta/web/html/html.rkt
@@ -170,8 +170,7 @@
(provide style/inline)
(define (style/inline . args)
(let-values ([(attrs body) (attributes+body args)])
- (make-element 'style attrs
- `("\n" ,(apply comment #:newlines? #t body) "\n"))))
+ (make-element 'style attrs `("\n" ,body "\n"))))
;; ----------------------------------------------------------------------------
;; Entities