Skip to content

Commit c21eae1

Browse files
authored
Fixed multi-line comment not properly escaped, causing unintended code to run (#338)
1 parent 1e903c0 commit c21eae1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

R/xml_text.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
#' x <- read_xml("<p> Some text </p>")
1818
#' xml_text(x, trim = TRUE)
1919
#'
20-
#' # xml_double() and xml_integer() are useful for extracting numeric
21-
#' attributes
20+
#' # xml_double() and xml_integer() are useful for extracting numeric attributes
2221
#' x <- read_xml("<plot><point x='1' y='2' /><point x='2' y='1' /></plot>")
2322
#' xml_integer(xml_find_all(x, "//@x"))
2423
#' @export

man/xml_text.Rd

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)