Skip to content

Inline formatters should add quotes if whitespace at start end #167

@hadley

Description

@hadley

eg. I think

x <- "weird-name "
cli::cli_text("The name is {.file {x}}")
#> The name is weird-name

should yield:

x <- "weird-name "
cli::cli_text("The name is {.file {x}}")
#> The name is 'weird-name '

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions