more scribble reader section fixes (for IE)

svn: r6877
This commit is contained in:
Matthew Flatt 2007-07-10 02:02:29 +00:00
parent 966a9a41a6
commit a1b7fd3d36
2 changed files with 5 additions and 3 deletions

View File

@ -338,7 +338,7 @@ the opening marker to have the text terminated by a @litchar["}|"].
@scribble-examples|==={
@foo|{...}|
@foo|{"}" closes, "{" opens}|
@foo|{"}" follows "{"}|
@foo|{Nesting |{is}| ok}|
}===|
@ -474,7 +474,6 @@ A single newline that follows an open brace or precedes a closing
brace is discarded, unless there are only newlines in the body; other
newlines are read as a @scheme["\n"] string
@;FIXME empty lines are ignored in generated HTML output (with IE?)
@scribble-examples|==={
@foo{bar
}

View File

@ -15,7 +15,10 @@
(make-table
#f
(map (lambda (s)
(list (make-flow (list (make-paragraph (list (litchar s)))))))
(list (make-flow (list (make-paragraph
(if (string=? s "")
'(nbsp) ; needed for IE
(list (litchar s))))))))
strs)))))
(define (as-flow e)