• Resolved venizia

    (@venizia)


    Hello!

    Is it possible to have html in __() (from wp.i18n) ? It does display the raw html tag instead of as html content.

    Thx!

    • This topic was modified 5 years, 11 months ago by venizia.
    • This topic was modified 5 years, 11 months ago by venizia.
Viewing 1 replies (of 1 total)
  • Thread Starter venizia

    (@venizia)

    I continue to search on the net and I was successful: the solution is to use:
    dangerouslySetInnerHTML={__html: var}

Viewing 1 replies (of 1 total)
  • The topic ‘i18n javascript function __() & html’ is closed to new replies.