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
Converter raises a parse error when interpolation is use in attribute that are enclosed by "" #409
Comments
@Malian this one is going to be tough. Since the new Tokenizer doesn't accept embedded expressions in strings, it will always close the string on the second
which will have the attribute value parsed as I know it's not ideal but I'm not sure we should make the tokenizer more complex just to handle that. I don't expect seeing this very often. WDYT? |
I've used interpolation embedded in strings in at least a few places throughout my app, so it'd be nice to make it so the converter could handle this correctly @Malian if you try using the |
@lnr0626 no, I have the same issue with the In my main project, I counted 15 times this issue. To fix it I was looking for I do not know how much time it will take to update the tokenizer, but as we will remove this part of the code in future versions, we could maybe handle this. Another solution is to merge the current code into master and wait for community feedback. |
Ok. I'll try to come up with the simplest solution possible so we can remove it later. |
@msaraiva It works! Thanks ❤️ |
Fixed in #412. |
The converter returns an error with the following code:
The error:
If I remove the
""
that encloses the interpolation, it works as expected:The text was updated successfully, but these errors were encountered: