Skip to content

Link text containing curly braces breaks the interpolation #34

@wetterkrank

Description

@wetterkrank
I18n.backend.store_translations(:en, test1: 'I have %{some_link: this %{text}} in the middle')

It.it('.test1', some_link: '#', text: 'linked text') 
# "I have <a href=\"#\">this linked text</a>} in the middle"

It.it('.test1', some_link: '#', text: 'linked text{}') 
# Expected: "I have <a href=\"#\">this linked text{}</a>} in the middle"
# Now: "I have %{some_link: this linked text{}} in the middle"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions