Skip to content

Commit 119c46f

Browse files
committed
no_wrap() also needs to escape
1 parent 47c988c commit 119c46f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

R/utils.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ is_rstudio_running <- function() {
4747

4848
# Suppress cli wrapping
4949
no_wrap <- function(x) {
50+
x <- gsub("{", "{{", x, fixed = TRUE)
51+
x <- gsub("}", "}}", x, fixed = TRUE)
5052
x <- gsub(" ", "\u00a0", x, fixed = TRUE)
5153
x <- gsub("\n", "\f", x, fixed = TRUE)
5254
x

0 commit comments

Comments
 (0)