[ALOY-677] XML Entities in views are not unescaped
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-18T01:37:21.000+0000 |
Affected Version/s | Alloy 1.1.3 |
Fix Version/s | Alloy 1.2.0, 2013 Sprint 15 |
Components | XML |
Labels | qe-testadded |
Reporter | Chris Rose |
Assignee | Tony Lukasavage |
Created | 2013-05-29T11:17:27.000+0000 |
Updated | 2013-08-06T20:32:10.000+0000 |
Description
Using:
I would expect to see a label with "Hello & World", but it shows as "Hello & amp; World"
Using:
also displays a label with the text "Hello & amp; World" on it.
Attachments
File | Date | Size |
---|---|---|
iOS Simulator Screen shot 29 May 2013 12.11.40.png | 2013-05-29T11:17:27.000+0000 | 21046 |
Spaces added between & and amp; to stop JIRA escaping it :-)
PR: https://github.com/appcelerator/alloy/pull/185 test app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-677 Functional testing on all supported platforms should include:
Run the test app
Assert that the ampersand included in the markup for 2 of the OptionDialog buttons renders as an actual "&" and not as "&" as it did previous to this ticket.
Click any OptionDialog button to close it
Assert that the ampersand included in the markup for both the label and button renders as an actual "&" and not as "&" as it did previous to this ticket.
Verified working as expected. Titanium SDK 3.1.2.v20130806034554 Alloy 1.2.0-alpha6 Appcelerator Studio 3.1.2.201308021524 CLI 3.1.1 Node 0.10.13 Closing.