Skip to content

Character escaping in expressions #1929

@janschoenherr

Description

@janschoenherr
<textarea placeholder="{{ 'I\'ll be back.' | trans }}"></textarea>

In previous Vue versions this would send the string I'll be back. to the trans filter. It seems that escaping the ' with a backslash no longer works. It returns a 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions