Skip to content

Commit 6433a4c

Browse files
committed
Allow big HTML by default
I don't see any downside from enabling this, and it is common with rmarkdown et al. See issue #455
1 parent ca85c89 commit 6433a4c

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ VignetteBuilder:
3636
Config/Needs/website: tidyverse/tidytemplate
3737
Encoding: UTF-8
3838
Roxygen: list(markdown = TRUE)
39-
RoxygenNote: 7.2.3
39+
RoxygenNote: 7.3.2
4040
SystemRequirements: libxml2: libxml2-dev (deb), libxml2-devel (rpm)
4141
Collate:
4242
'S4.R'

R/xml_parse.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ read_xml <- function(x, encoding = "", ..., as_html = FALSE, options = "NOBLANKS
6969
read_html <- function(x,
7070
encoding = "",
7171
...,
72-
options = c("RECOVER", "NOERROR", "NOBLANKS")) {
72+
options = c("RECOVER", "NOERROR", "NOBLANKS", "HUGE")) {
7373
UseMethod("read_html")
7474
}
7575

7676
#' @export
7777
read_html.default <- function(x,
7878
encoding = "",
7979
...,
80-
options = c("RECOVER", "NOERROR", "NOBLANKS")) {
80+
options = c("RECOVER", "NOERROR", "NOBLANKS", "HUGE")) {
8181
options <- parse_options(options, xml_parse_options())
8282

8383
suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))

man/read_xml.Rd

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)