{"action":"created","issue":{"url":"https://api.github.com/repos/google/trace-viewer/issues/588","labels_url":"https://api.github.com/repos/google/trace-viewer/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/google/trace-viewer/issues/588/comments","events_url":"https://api.github.com/repos/google/trace-viewer/issues/588/events","html_url":"https://github.com/google/trace-viewer/issues/588","id":43547309,"number":588,"title":"malformed HTML when thread names include double quotes","user":{"login":"natduca","id":412396,"avatar_url":"https://avatars.githubusercontent.com/u/412396?v=3","gravatar_id":"","url":"https://api.github.com/users/natduca","html_url":"https://github.com/natduca","followers_url":"https://api.github.com/users/natduca/followers","following_url":"https://api.github.com/users/natduca/following{/other_user}","gists_url":"https://api.github.com/users/natduca/gists{/gist_id}","starred_url":"https://api.github.com/users/natduca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natduca/subscriptions","organizations_url":"https://api.github.com/users/natduca/orgs","repos_url":"https://api.github.com/users/natduca/repos","events_url":"https://api.github.com/users/natduca/events{/privacy}","received_events_url":"https://api.github.com/users/natduca/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/trace-viewer/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/google/trace-viewer/labels/Pri-2","name":"Pri-2","color":"FFFFFF"},{"url":"https://api.github.com/repos/google/trace-viewer/labels/Type-Bug","name":"Type-Bug","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-09-22T20:26:34Z","updated_at":"2015-02-06T03:01:36Z","closed_at":null,"body":"_From [hasin...@google.com](https://code.google.com/u/104989367987927762730/) on August 12, 2014 18:40:55_\n\nWhen thread name include double quotes (\"), trace.html can't be opened, because the HTML is malformed. The messages from the Chrome developer console is:\r\n\r\nUncaught SyntaxError: Unexpected identifier /usr/local/google/home/tianxin/android/broken_trace.html:43781\r\nUncaught ReferenceError: linuxPerfData is not defined \r\n\r\nExample bad line:\r\n           <...>-1214  (-----) [001] d..4  1532.059330: sched_wakeup: comm=Task system \"AE pid=3317 prio=120 success=1 target_cpu=001\\n\\\r\n\r\nEvery single line where the thread name has double quotes seems to barf at the point where the quotes should've been terminated. What version of the product are you using? On what operating system? Android KK MR1\n\n_Original issue: http://code.google.com/p/trace-viewer/issues/detail?id=583_"},"comment":{"url":"https://api.github.com/repos/google/trace-viewer/issues/comments/73175567","html_url":"https://github.com/google/trace-viewer/issues/588#issuecomment-73175567","issue_url":"https://api.github.com/repos/google/trace-viewer/issues/588","id":73175567,"user":{"login":"natduca","id":412396,"avatar_url":"https://avatars.githubusercontent.com/u/412396?v=3","gravatar_id":"","url":"https://api.github.com/users/natduca","html_url":"https://github.com/natduca","followers_url":"https://api.github.com/users/natduca/followers","following_url":"https://api.github.com/users/natduca/following{/other_user}","gists_url":"https://api.github.com/users/natduca/gists{/gist_id}","starred_url":"https://api.github.com/users/natduca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natduca/subscriptions","organizations_url":"https://api.github.com/users/natduca/orgs","repos_url":"https://api.github.com/users/natduca/repos","events_url":"https://api.github.com/users/natduca/events{/privacy}","received_events_url":"https://api.github.com/users/natduca/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T03:01:36Z","updated_at":"2015-02-06T03:01:36Z","body":"You're on the right repo, though fixing this short term is gonna take a while to roll into your sdk, this is the right place to begin fixing. Can you attach a file with a repro so I can write a fix and test and such?\r\n"}}