Skip to content

Allow raw HTML in i18n message? #24

Description

@gigix

For example, if I have a multi-paragraph message need to be translated, I'll have this in my i18n.js:

i18n.map('en', {
  great_text: '<p>paragraph 1</p><p>paragraph 2</p>'
});

But then {{i18n "great_text"}} will escape html tags and display following to user:

<p>paragraph 1</p><p>paragraph 2</p>

Is it possible to disable html escaping and just insert raw html into page?

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