-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
Leave html tags as they are. Is it possible? #177
Comments
Any update on this one 🙏 ? @cheton ? It would be cool if we can interpolate tags with react components too |
It will be resolved when PR #211 is merged. |
@cheton can I help in some way with this PR? It's one year later and is still not merged and this problem is still relevant for us. |
@cheton what I can say is much better, but still require some improvements, bellow I wrote two snippets of code with are parsed incorrectly
I got key ->
I get key -> @cheton also I would like to give extra feedback about developer experience / problems which I med and (as I think) are worthy to point out:
Version which I build locally:
It can be connected with incorrect install dependencies on my side (lack of package.lock.json, and many I hope my feedback will help make your package better ;) |
The issue of incorrectly indexed tags was fixed in f9cf506 by filtering out nodes with empty strings.
I forgot to replace
Thanks for the finding. I accidentally made a breaking change in PR #220 when migrating to Jest. Fixed in c6bc159 to keep it compatible with CJS exports. |
Looks good all my problems disappear ;) Let's go with it 🕺 ! |
Published v4.0.0 |
Hi we are using lokalise for the translation on our website.
This is the string to translate (react):
<Trans i18nKey="testTranslation">Test <strong>{{ variable }}</strong> ok</Trans>
the exporter is replacing
<strong>
with <0> which is not supported by lokalise.Is there a way to avoid this conversion?
Thanks
Version
Configuration
The text was updated successfully, but these errors were encountered: