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
Hello Coen! First of all, great work and thanks for making this tool. Helped me a lot, super easy to use!
I learned something when implementing it in my project. Not sure if I should call it a bug, but I wanted to share it with you regardless. When namespaces are specified in strings then it seems like Mozart is only able to prefix namespaces where the backslash is not escaped. See the example below.
Initially I thought this was related to the use of single- or double-quotes, but it only seems to be an issue when using escaped backslashes in the namespace string. Probably not the biggest issue, but it would probably be nice to also support escaped backslashes IMO.
Kind regards,
Robert Sæther
The text was updated successfully, but these errors were encountered:
deviationist
changed the title
Namespaces surrounded by single-quotes are not replaced
Namespaces with escaped backslashes in strings are not replaced
Apr 15, 2021
Hello Coen! First of all, great work and thanks for making this tool. Helped me a lot, super easy to use!
I learned something when implementing it in my project. Not sure if I should call it a bug, but I wanted to share it with you regardless. When namespaces are specified in strings then it seems like Mozart is only able to prefix namespaces where the backslash is not escaped. See the example below.
Before namespace prefixing:
After namespace prefixing:
Initially I thought this was related to the use of single- or double-quotes, but it only seems to be an issue when using escaped backslashes in the namespace string. Probably not the biggest issue, but it would probably be nice to also support escaped backslashes IMO.
Kind regards,
Robert Sæther
The text was updated successfully, but these errors were encountered: