Skip to content

Think about printing HTML as {html_document} rather than {xml_document} #227

@jimhester

Description

@jimhester

I think these printing as xml_document is kind of confusing.

xml2::read_html("https://httpstatuses.com/200")
#> {xml_document}
#> <html lang="en">
#> [1] <head>\n<meta http-equiv="Content-Type" content="text/html; charset= ...
#> [2] <body>\n    <div class="banner">\n      <div class="container">\n    ...

Created on 2018-07-10 by the reprex package (v0.2.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions