We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f12a0a0 + a40de16 commit d898efdCopy full SHA for d898efd
1 file changed
R/zzz.R
@@ -424,6 +424,10 @@ na.omit.list <- function(y) {
424
425
## Replace special characters in keywords like P&500 -> P%26500
426
encode_keyword <- function(url) {
427
+ url <- gsub("(?:\\G(?!^)|\\[\\s*)[^][\\s]*\\K\\&(?!])(?=[^][]*])", "%26", url, perl = TRUE)
428
429
430
431
gsub("(?:\\G(?!^)|\\[\\s*)[^][\\s]*\\K\\&(?!])(?=[^][]*])", "%26", url, perl = TRUE)
432
}
433
0 commit comments