-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self closing tags are not supported (<br />) #3101
Comments
Hey, we are now using format.js for parsing tags and it doesn't support this, so now we don't have an easy way how to enable it. https://formatjs.io/docs/intl-messageformat#rich-text-support. We might change this by implementing our custom tag parser. Another thing is that we are preparing a new core library now, so after we release that, we might look at this again. |
Thanks for letting me know! @stepan662 |
Hi, just wanted to ask if there are any updates on this? Thanks in advance! |
Hey, sorry not yet. Will try to get to this, as I had multiple requests. |
for self closing tags you can use icu placeholder as mentioned here an example provided by fromatJs guys |
Hey everyone hope all is going well,
I am trying to use the line break element without success, even if I try using the function form does not work. I guess this is happening will all these kinds of tags
Do you know what the problem might be? Or which file can I modify to fix it?
Thank you so much,
Screenshots
Code snippet
Enviorement
"@tolgee/react": "^4.9.2",
"react": "^17.0.2",
"next": "12.1.0",
The text was updated successfully, but these errors were encountered: