Closed T-Pham closed 2 years ago
Thanks for the detailed writeup. This issue was fixed a while ago in the v1 alpha branch. You can get that version by running npm install brighterscript@next
.
If your project doesn't use any brighterscript plugins (such as a custom plugin, or @rokucommunity/bslint), then you can switch to using the v1 branch right now with little risk.
I'll look into porting the fix back to v0 since this is a pretty bad bug.
Hi, I would like to report an issue as below.
Let's say we have a custom SceneGraph component called
Animated
which has aframes
field of typestringarray
:In an xml where we use
Animated
, we can pass in an array of strings for theframes
field using double quotes within single quotes as below:This runs fine if packaged and side loaded to a Roku manually. However, when compiled with bsc command, the XML is converted to an XML with error as below. Notice the double quotes within double quotes.
Attached is an example project where the issue can be reproduced: animationreprex.zip