Is there a prettier way than turning single tags into double tags when formatting rich text? #4896
MustThinkOfAName
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Have you checked out https://formatjs.github.io/docs/react-intl/components#defaultrichtextelements ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
Thank you for your hard work.
An example is worth a thousand words:
The following works but is extremely ugly. I tried my best to make it work the way it should
'hello<br/>world'
without success.Maybe I missed something, maybe it's a voluntary choice but I couldn't find similar concerns online.
Thank you for reading.
Beta Was this translation helpful? Give feedback.
All reactions