{"action":"created","issue":{"url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2045","labels_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2045/labels{/name}","comments_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2045/comments","events_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2045/events","html_url":"https://github.com/MarkUsProject/Markus/issues/2045","id":57745141,"number":2045,"title":"Multli-line annotations for text files need page refresh to display correctly","user":{"login":"paymog","id":1986950,"avatar_url":"https://avatars.githubusercontent.com/u/1986950?v=3","gravatar_id":"","url":"https://api.github.com/users/paymog","html_url":"https://github.com/paymog","followers_url":"https://api.github.com/users/paymog/followers","following_url":"https://api.github.com/users/paymog/following{/other_user}","gists_url":"https://api.github.com/users/paymog/gists{/gist_id}","starred_url":"https://api.github.com/users/paymog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paymog/subscriptions","organizations_url":"https://api.github.com/users/paymog/orgs","repos_url":"https://api.github.com/users/paymog/repos","events_url":"https://api.github.com/users/paymog/events{/privacy}","received_events_url":"https://api.github.com/users/paymog/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-15T20:43:42Z","updated_at":"2015-03-02T00:23:24Z","closed_at":"2015-03-02T00:23:12Z","body":"Steps to repro:\r\n1) Start marking an assignment with a text file\r\n2) Select some text and create a new annotation with the following content (select an annotation category other than 1 time)\r\n<pre>\r\nhere is some content\r\n\r\nI've added some new lines\r\n\r\nit seems that new lines break things\r\n\r\nnot quite sure what yet. I'm also ensuring that this gets truncated in the annotation list.\r\n</pre> \r\n3) Create the annotation\r\n4) Notice that the selected lines do not get highlighted\r\n5) Refresh the page\r\n6) The lines are now highlighted and the annotation is working correctly\r\n\r\nAdditionally, this also occurs when the multiline annotation is selected from the predefined list (the reason the steps above suggest selecting an annotation category).\r\n"},"comment":{"url":"https://api.github.com/repos/MarkUsProject/Markus/issues/comments/76640727","html_url":"https://github.com/MarkUsProject/Markus/issues/2045#issuecomment-76640727","issue_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2045","id":76640727,"user":{"login":"david-yz-liu","id":3333115,"avatar_url":"https://avatars.githubusercontent.com/u/3333115?v=3","gravatar_id":"","url":"https://api.github.com/users/david-yz-liu","html_url":"https://github.com/david-yz-liu","followers_url":"https://api.github.com/users/david-yz-liu/followers","following_url":"https://api.github.com/users/david-yz-liu/following{/other_user}","gists_url":"https://api.github.com/users/david-yz-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/david-yz-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-yz-liu/subscriptions","organizations_url":"https://api.github.com/users/david-yz-liu/orgs","repos_url":"https://api.github.com/users/david-yz-liu/repos","events_url":"https://api.github.com/users/david-yz-liu/events{/privacy}","received_events_url":"https://api.github.com/users/david-yz-liu/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T00:23:24Z","updated_at":"2015-03-02T00:23:24Z","body":"Seems fixed now."}}