You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
New feature transSupportBasicHtmlNodes allow to use simple html elements like <br/> with Trans component, but it doesn't work with Trans component without props.children
Occurs in react-i18next version
react-i18next@10.5.1
If you like this module don’t forget to star this repo. Make a tweet, share the word or have a look at our https://locize.com to support the devs of this project -> there are many ways to help this project 🙏
Describe the bug
New feature
transSupportBasicHtmlNodes
allow to use simple html elements like<br/>
with Trans component, but it doesn't work withTrans
component withoutprops.children
Occurs in react-i18next version
react-i18next@10.5.1
To Reproduce
translation json:
JSX: Trans component self-closing:
Results:
html elements was render as string
but for:
works as expected
The text was updated successfully, but these errors were encountered: