{"action":"created","issue":{"url":"https://api.github.com/repos/samclarke/SCEditor/issues/360","labels_url":"https://api.github.com/repos/samclarke/SCEditor/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/samclarke/SCEditor/issues/360/comments","events_url":"https://api.github.com/repos/samclarke/SCEditor/issues/360/events","html_url":"https://github.com/samclarke/SCEditor/issues/360","id":48124137,"number":360,"title":"SUB bug: When subbing and then un-subbing, sub is still active","user":{"login":"q2apro","id":6764548,"avatar_url":"https://avatars.githubusercontent.com/u/6764548?v=3","gravatar_id":"","url":"https://api.github.com/users/q2apro","html_url":"https://github.com/q2apro","followers_url":"https://api.github.com/users/q2apro/followers","following_url":"https://api.github.com/users/q2apro/following{/other_user}","gists_url":"https://api.github.com/users/q2apro/gists{/gist_id}","starred_url":"https://api.github.com/users/q2apro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/q2apro/subscriptions","organizations_url":"https://api.github.com/users/q2apro/orgs","repos_url":"https://api.github.com/users/q2apro/repos","events_url":"https://api.github.com/users/q2apro/events{/privacy}","received_events_url":"https://api.github.com/users/q2apro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/samclarke/SCEditor/labels/Bug","name":"Bug","color":"F55847"}],"state":"open","locked":false,"assignee":{"login":"samclarke","id":490870,"avatar_url":"https://avatars.githubusercontent.com/u/490870?v=3","gravatar_id":"","url":"https://api.github.com/users/samclarke","html_url":"https://github.com/samclarke","followers_url":"https://api.github.com/users/samclarke/followers","following_url":"https://api.github.com/users/samclarke/following{/other_user}","gists_url":"https://api.github.com/users/samclarke/gists{/gist_id}","starred_url":"https://api.github.com/users/samclarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samclarke/subscriptions","organizations_url":"https://api.github.com/users/samclarke/orgs","repos_url":"https://api.github.com/users/samclarke/repos","events_url":"https://api.github.com/users/samclarke/events{/privacy}","received_events_url":"https://api.github.com/users/samclarke/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/samclarke/SCEditor/milestones/7","html_url":"https://github.com/samclarke/SCEditor/milestones/v1.5.0","labels_url":"https://api.github.com/repos/samclarke/SCEditor/milestones/7/labels","id":752583,"number":7,"title":"v1.5.0","description":"","creator":{"login":"samclarke","id":490870,"avatar_url":"https://avatars.githubusercontent.com/u/490870?v=3","gravatar_id":"","url":"https://api.github.com/users/samclarke","html_url":"https://github.com/samclarke","followers_url":"https://api.github.com/users/samclarke/followers","following_url":"https://api.github.com/users/samclarke/following{/other_user}","gists_url":"https://api.github.com/users/samclarke/gists{/gist_id}","starred_url":"https://api.github.com/users/samclarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samclarke/subscriptions","organizations_url":"https://api.github.com/users/samclarke/orgs","repos_url":"https://api.github.com/users/samclarke/repos","events_url":"https://api.github.com/users/samclarke/events{/privacy}","received_events_url":"https://api.github.com/users/samclarke/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":3,"state":"open","created_at":"2014-08-13T18:10:34Z","updated_at":"2015-04-09T19:57:58Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2014-11-07T19:59:52Z","updated_at":"2015-04-10T11:15:45Z","closed_at":null,"body":"Obviously there is a bug when unsubbing in certain situations, please see videoclip:\r\n\r\n![vorschau](https://cloud.githubusercontent.com/assets/6764548/4959406/1771edde-66b8-11e4-86ce-96e761833660.gif)\r\n\r\nThe HTML that was shown after clicking the source button - from the test above: \r\n\r\n\t<p>\r\n\t\tTest per Maus: x<sub>1</sub> = richtig\r\n\t</p>\r\n\t<p>\r\n\t\tx<sub>2 = falsch</sub> = war noch mal geklickt\r\n\t</p>\r\n\t<p>\r\n\t\tx<sub>3</sub> = richtig\r\n\t</p>\r\n\t<p>\r\n\t\tNun per Tastatuturkürzel: x4 -- geht nicht mehr. Jap, ein Bug....<br />\r\n\t</p>\r\n\r\nWith another test, I had always the subbing in the last line, that was the HTML source: \r\n\r\n\t<p>\r\n\t\t x<sub>1</sub> = test \r\n\t</p>\r\n\t \r\n\t<p>\r\n\t\t x<sub>1</sub> = test \r\n\t</p>\r\n\t \r\n\t<p>\r\n\t\t x<sub>2 = test</sub> \r\n\t</p>\r\n\t \r\n\t<p>\r\n\t\t <br /> \r\n\t</p>\r\n\r\nEven though, there is only a `<br />` element in the end, it sub'ed the input in the new line. However, when loading the editor anew and pasting the HTML directly in source mode, and then writing into the last line, the sub was gone. \r\n\r\nCannot understand where the bug is coming from. \r\n\r\nSystem: Win 7, Firefox 33.0.3"},"comment":{"url":"https://api.github.com/repos/samclarke/SCEditor/issues/comments/91519669","html_url":"https://github.com/samclarke/SCEditor/issues/360#issuecomment-91519669","issue_url":"https://api.github.com/repos/samclarke/SCEditor/issues/360","id":91519669,"user":{"login":"samclarke","id":490870,"avatar_url":"https://avatars.githubusercontent.com/u/490870?v=3","gravatar_id":"","url":"https://api.github.com/users/samclarke","html_url":"https://github.com/samclarke","followers_url":"https://api.github.com/users/samclarke/followers","following_url":"https://api.github.com/users/samclarke/following{/other_user}","gists_url":"https://api.github.com/users/samclarke/gists{/gist_id}","starred_url":"https://api.github.com/users/samclarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samclarke/subscriptions","organizations_url":"https://api.github.com/users/samclarke/orgs","repos_url":"https://api.github.com/users/samclarke/repos","events_url":"https://api.github.com/users/samclarke/events{/privacy}","received_events_url":"https://api.github.com/users/samclarke/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T11:15:45Z","updated_at":"2015-04-10T11:15:45Z","body":"@q2apro I've uploaded it [here](https://dl.dropboxusercontent.com/u/56830471/jquery.sceditor.xhtml.min.js)."}}