Skip to content

Commit

Permalink
Fix missing class name in "Unknown tag" message (#2398)
Browse files Browse the repository at this point in the history
  • Loading branch information
quantsch authored Mar 11, 2024
1 parent af45818 commit 70495ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/rd-html.R
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ as_html.tag <- function(x, ...) {
if (identical(class(x), "tag")) {
flatten_text(x, ...)
} else {
cli::cli_inform("Unknown tag: ", paste(class(x), collapse = "/"))
cli::cli_inform("Unknown tag: {.cls {class(x)}}")
""
}
}
Expand Down

0 comments on commit 70495ff

Please sign in to comment.