{ "id": "119519", "key": "ALOY-819", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-09-06T12:40:23.000+0000", "created": "2013-09-05T17:19:23.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-22T13:23:19.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h2. Problem description\r\nWhen using a control character (e.g. \\n) inside XML with Alloy 1.2.1, the character is escaped and shown in the text.\r\n\r\nh2. Steps to reproduce\r\nUse the following code in index.xml:\r\n\r\n{code}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nRunning the code on iPhone, I can see \\n\\n in the text. With Alloy 1.2.0 the new line is shown as a new line.", "attachment": [], "flagged": false, "summary": "Alloy 1.2.1 escapes control values contained within XML", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Alloy 1.2.1\r\nSDK 3.1.2", "comment": { "comments": [ { "id": "269771", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~dcassenti] I believe this is a duplicate of ALOY-813. Can you try running this sample against the 1_2_X branch of Alloy on Github and see if it resolves the error. You can install it straight from github like this:\n\n{code}\nsudo npm install -g git://github.com/appcelerator/alloy.git#1_2_X\n{code}", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-05T18:17:18.000+0000", "updated": "2013-09-05T18:17:18.000+0000" }, { "id": "269907", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of ALOY-813", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-06T12:40:23.000+0000", "updated": "2013-09-06T12:40:23.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }