Skip to content

Commit

Permalink
accept xml2 as equivalent despite missing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
rsbivand committed Dec 23, 2023
1 parent 6efffd6 commit bc7f853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/xml1.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ parseGRASS <- function(cmd, legacyExec=NULL) {
}
tr <- readLines(outFile)
}
tr <- paste(gsub("\\t", " ", gsub("\\n", " ", tr)), collapse=" ")
tr <- paste(tr, collapse=" ")
enc <- get("override_encoding", envir=.GRASS_CACHE)
if (nchar(enc) > 0) {
# if (length(grep("UTF-8", tr[1])) > 0) {
Expand Down

0 comments on commit bc7f853

Please sign in to comment.