commit 4367ba6549752986529bc5e041e6000bb58bdee7
parent 133883ef2e68ba802e98448cf14c475632ec9541
Author: Matthew Flatt <mflatt@racket-lang.org>
Date: Thu, 24 Jul 2008 11:41:21 +0000
fix searching a different way, which more likely matches the intent
svn: r10899
original commit: 78c52208361a517c2ea4a9a2d9ccf4c0c65974d9
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/collects/scribble/html-render.ss b/collects/scribble/html-render.ss
@@ -770,8 +770,8 @@
[style (if (with-attributes? raw-style)
(with-attributes-style raw-style)
raw-style)])
- (if (and (pair? style) (eq? (car style) 'div))
- `((div-hack ,(cdr style) ,@contents))
+ (if (and (pair? style) (eq? (car style) 'div-hack))
+ `((div ,(cdr style) ,@contents))
`((,(if (string? style) 'div 'p)
,(append
(if (string? style)