Fix description of read-html-as-xml.

Fixes Issue #427.
This commit is contained in:
Sam Tobin-Hochstadt 2014-03-25 11:04:55 -04:00
parent b338025b33
commit 8fa61c5e31

View File

@ -27,8 +27,8 @@ Reads (X)HTML from a port, producing an @racket[html] instance.}
@defproc[(read-html-as-xml [port input-port?]) @defproc[(read-html-as-xml [port input-port?])
(listof content/c)]{ (listof content/c)]{
Reads HTML from a port, producing an @xexpr compatible with the Reads HTML from a port, producing a list of XML content, each of which could be
@racketmodname[xml] library (which defines @racket[content/c]).} turned into an @|xexpr|, if necessary, with @racket[xml->xexpr].}
@defboolparam[read-html-comments v]{ @defboolparam[read-html-comments v]{
If @racket[v] is not @racket[#f], then comments are read and returned. Defaults to @racket[#f]. If @racket[v] is not @racket[#f], then comments are read and returned. Defaults to @racket[#f].