You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/01/14 20:36:33 UTC
[GitHub] [royale-compiler] greg-dove opened a new issue #110: Escaping Curly
Braces for String literals in mxml
greg-dove opened a new issue #110: Escaping Curly Braces for String literals in mxml
URL: https://github.com/apache/royale-compiler/issues/110
Support escaping curly braces to allow curly braces in string literal assignments in mxml
Flex permits the following:
`<s:Label text="\{entry\}" />`
where 'entry' is a local [Bindable] property
and the text will not create a binding, and will simply be interpreted as a string literal assigment.
Royale has a bug where the same code will create a binding, returning a string literal, something like the following:
```
function() { return "\\{entry\\"; },
null,
["$ID27", "text"]
```
Aside from being unnecessary, that also results in the wrong content being displayed (because it retains the backslashes, and omits the second curly brace)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services