{ "id": "104728", "key": "AC-2218", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-02-06T23:22:31.000+0000", "created": "2012-11-09T00:05:01.000+0000", "labels": [ "alloy", "view", "xml" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:12.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": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "description": "Create a test file: test.xml\r\n\r\n \r\n \r\n \r\n\r\n\r\nWhen this is run as an Alloy app, Label 1 renders incorrectly. Label 2 renders correctly. I expected Label 1 to output as Label 2 does. But it renders like this:\r\n\r\nYear & Make", "attachment": [ { "id": "33361", "filename": "ampersand-fail.tiff", "author": { "name": "mjstelly", "key": "mjstelly", "displayName": "Michael Stelly", "active": true, "timeZone": "America/Chicago" }, "created": "2012-11-09T00:05:01.000+0000", "size": 126082, "mimeType": "image/tiff" } ], "flagged": false, "summary": "Ampersand renders incorrectly in view", "creator": { "name": "mjstelly", "key": "mjstelly", "displayName": "Michael Stelly", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "mjstelly", "key": "mjstelly", "displayName": "Michael Stelly", "active": true, "timeZone": "America/Chicago" }, "environment": "Mac OSX, Studio 2.1.2.201208301612", "comment": { "comments": [ { "id": "237549", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "In XML, if you need an ampersand in the content of an element, you need to use the XML-safe notation:\n\n{code:xml}\n\n \n \n \n\n{code}\n\nAlso, since you've indicated no styles, there's a chance they are sitting on top of each other.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-06T23:22:15.000+0000", "updated": "2013-02-06T23:22:15.000+0000" }, { "id": "237552", "author": { "name": "miles339", "key": "miles339", "displayName": "Miles Matthias", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{noformat}&{noformat} didn't work for me, however {noformat}\\u0026{noformat} did.", "updateAuthor": { "name": "miles339", "key": "miles339", "displayName": "Miles Matthias", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-06T23:36:54.000+0000", "updated": "2013-02-06T23:38:31.000+0000" }, { "id": "285978", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Since this is not reproducible, we are closing this.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-27T19:35:22.000+0000", "updated": "2013-12-27T19:35:22.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }