Open
Description
If a url is created as part of an alert (I assume this holds for all message types) via inline markup, there are additional "invisible" characters added to the string that make the url invalid.
library(cli)
test <- "path"
cli_alert("{.url https://example.com/{test}}")
#> → <https://example.com/path>
In both cases you cannot see the invalid characters but when you click the link, it turns into https://example.com/%1B%5B3mpath%1B%5B3m
in the browser.