Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jimhester opened this issue Jul 10, 2018 · 0 comments
Labels

Comments

@jimhester
Copy link
Member

@jimhester jimhester commented Jul 10, 2018

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).

@jimhester jimhester added the feature label Jul 23, 2019
@jimhester jimhester closed this in 238a371 Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.