Skip to content

Commit

Permalink
Merge pull request #150 from Bisaloo/patch-1
Browse files Browse the repository at this point in the history
Remove trailing comma in glue::glue()
  • Loading branch information
froggleston authored Mar 5, 2024
2 parents 1bc5753 + 4984a7e commit 77dcc92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/fix_links.R
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ make_link_patterns <- function(ns = "md:") {
predicate <- gsb("(<ctext('({{')> and <ctext('}}')>)")
asis_nodes <- "text[@asis][text()=']']"
destination <- glue::glue(
".//{ns}{asis_nodes}/following-sibling::{ns}text[{predicate}]",
".//{ns}{asis_nodes}/following-sibling::{ns}text[{predicate}]"
)
return(destination)
}
Expand Down

0 comments on commit 77dcc92

Please sign in to comment.