{"action":"closed","issue":{"url":"https://api.github.com/repos/w3c/webvtt/issues/252","labels_url":"https://api.github.com/repos/w3c/webvtt/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webvtt/issues/252/comments","events_url":"https://api.github.com/repos/w3c/webvtt/issues/252/events","html_url":"https://github.com/w3c/webvtt/issues/252","id":116541071,"number":252,"title":"Tokenizer doesn't parse escapes in annotation","user":{"login":"zcorpan","id":244772,"avatar_url":"https://avatars.githubusercontent.com/u/244772?v=3","gravatar_id":"","url":"https://api.github.com/users/zcorpan","html_url":"https://github.com/zcorpan","followers_url":"https://api.github.com/users/zcorpan/followers","following_url":"https://api.github.com/users/zcorpan/following{/other_user}","gists_url":"https://api.github.com/users/zcorpan/gists{/gist_id}","starred_url":"https://api.github.com/users/zcorpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcorpan/subscriptions","organizations_url":"https://api.github.com/users/zcorpan/orgs","repos_url":"https://api.github.com/users/zcorpan/repos","events_url":"https://api.github.com/users/zcorpan/events{/privacy}","received_events_url":"https://api.github.com/users/zcorpan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"zcorpan","id":244772,"avatar_url":"https://avatars.githubusercontent.com/u/244772?v=3","gravatar_id":"","url":"https://api.github.com/users/zcorpan","html_url":"https://github.com/zcorpan","followers_url":"https://api.github.com/users/zcorpan/followers","following_url":"https://api.github.com/users/zcorpan/following{/other_user}","gists_url":"https://api.github.com/users/zcorpan/gists{/gist_id}","starred_url":"https://api.github.com/users/zcorpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcorpan/subscriptions","organizations_url":"https://api.github.com/users/zcorpan/orgs","repos_url":"https://api.github.com/users/zcorpan/repos","events_url":"https://api.github.com/users/zcorpan/events{/privacy}","received_events_url":"https://api.github.com/users/zcorpan/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-12T12:34:20Z","updated_at":"2015-11-30T14:30:57Z","closed_at":"2015-11-30T14:30:57Z","body":"https://w3c.github.io/webvtt/#webvtt-start-tag-annotation-state\r\n\r\n> WebVTT start tag annotation state\r\n> Jump to the entry that matches the value of c:\r\n>\r\n> U+003E GREATER-THAN SIGN character (>)\r\n> Advance position to the next character in input, then jump to the next \"end-of-file marker\" entry below.\r\n>\r\n> End-of-file marker\r\n> Remove any leading or trailing space characters from buffer, and replace any sequence of one or more consecutive space characters in buffer with a single U+0020 SPACE character; then, return a start tag whose tag name is result, with the classes given in classes, and with buffer as the annotation, and abort these steps.\r\n>\r\n> Anything else\r\n> Append c to buffer and jump to the step labeled next.\r\n\r\nThis doesn't tokenize escapes, AFAICT. But the syntax allows escapes in annotations:\r\n\r\nhttps://w3c.github.io/webvtt/#webvtt-cue-span-start-tag\r\n\r\n>If the start tag requires an annotation: a U+0020 SPACE character or a U+0009 CHARACTER TABULATION (tab) character, followed by one or more of the following components, the concatenation of their representations having a value that contains at least one character other than U+0020 SPACE and U+0009 CHARACTER TABULATION (tab) characters:\r\n>\r\n> WebVTT cue span start tag annotation text, representing the text of the annotation.\r\n> A WebVTT cue amp escape, representing a \"&\" character in the text of the annotation.\r\n> A WebVTT cue lt escape, representing a \"<\" character in the text of the annotation.\r\n> A WebVTT cue gt escape, representing a \">\" character in the text of the annotation.\r\n> A WebVTT cue lrm escape, representing a U+200E LEFT-TO-RIGHT MARK Unicode bidirectional formatting character in the text of the cue.\r\n> A WebVTT cue rlm escape, representing a U+200F RIGHT-TO-LEFT MARK Unicode bidirectional formatting character in the text of the cue.\r\n> A WebVTT cue nbsp escape, representing a U+00A0 NO-BREAK SPACE character in the text of the cue."}}