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
I would like to make a pull request for this feature:
[ ] Yes! 🚀
[X] Maybe next time
The text was updated successfully, but these errors were encountered:
Serrulien
changed the title
Incorrect matching of translation key when the binding attribute is preceded by an expression with a literal string
Incorrect matching of translation key when the attribute interpolation is preceded by an expression with a literal string
Aug 5, 2021
Current behavior
Both lines will output a translation key nammed
quz
.Expected behavior
Should output two translation keys nammed
key1
andkey2
.Steps To Reproduce
Nothing uncommon: create a blank angular project, add transloco and add the 2 lines in a html file.
Environment
Additional context
IMO the regexp for pipes is not accurate enough.
https://regex101.com/r/K75FbF/6
![image](https://user-images.githubusercontent.com/16616176/136343963-8fe758b3-639f-4c5a-a873-91e97996713f.png)
Contribution
I would like to make a pull request for this feature:
[ ] Yes! 🚀
[X] Maybe next time
The text was updated successfully, but these errors were encountered: