{"action":"created","issue":{"url":"https://api.github.com/repos/wvuweb/cleanslate-cms/issues/2","labels_url":"https://api.github.com/repos/wvuweb/cleanslate-cms/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/wvuweb/cleanslate-cms/issues/2/comments","events_url":"https://api.github.com/repos/wvuweb/cleanslate-cms/issues/2/events","html_url":"https://github.com/wvuweb/cleanslate-cms/issues/2","id":54915483,"number":2,"title":"Sanitize bad markup in Mercury editable regions","user":{"login":"adamjohnson","id":575865,"avatar_url":"https://avatars.githubusercontent.com/u/575865?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjohnson","html_url":"https://github.com/adamjohnson","followers_url":"https://api.github.com/users/adamjohnson/followers","following_url":"https://api.github.com/users/adamjohnson/following{/other_user}","gists_url":"https://api.github.com/users/adamjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjohnson/subscriptions","organizations_url":"https://api.github.com/users/adamjohnson/orgs","repos_url":"https://api.github.com/users/adamjohnson/repos","events_url":"https://api.github.com/users/adamjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/adamjohnson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wvuweb/cleanslate-cms/labels/feature%20request","name":"feature request","color":"009800"},{"url":"https://api.github.com/repos/wvuweb/cleanslate-cms/labels/Q1%20delivery","name":"Q1 delivery","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"nreckart","id":14725,"avatar_url":"https://avatars.githubusercontent.com/u/14725?v=3","gravatar_id":"","url":"https://api.github.com/users/nreckart","html_url":"https://github.com/nreckart","followers_url":"https://api.github.com/users/nreckart/followers","following_url":"https://api.github.com/users/nreckart/following{/other_user}","gists_url":"https://api.github.com/users/nreckart/gists{/gist_id}","starred_url":"https://api.github.com/users/nreckart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nreckart/subscriptions","organizations_url":"https://api.github.com/users/nreckart/orgs","repos_url":"https://api.github.com/users/nreckart/repos","events_url":"https://api.github.com/users/nreckart/events{/privacy}","received_events_url":"https://api.github.com/users/nreckart/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-01-20T17:47:38Z","updated_at":"2015-01-26T16:26:37Z","closed_at":null,"body":"_From @adamjohnson on October 9, 2013 19:30_\n\nWhen using Chrome, Mercury outputs style tags, random classes, divs, and other strange things in some crazy places after working with content (highlight something, then format it a bit).\r\n\r\n  * **A writeup on the subject:** http://www.neotericdesign.com/blog/2013/3/working-around-chrome-s-contenteditable-span-bug\r\n  * More beta: Sanitize.js: http://stackoverflow.com/questions/3306205/how-to-avoid-webkit-contenteditable-copy-paste-resulting-in-unwanted-css?rq=1\r\n  * Issues related to `<span style=\"xyz\">` in Mercury's issue tracker: https://github.com/search?l=&p=1&q=span+repo%3Ajejacks0n%2Fmercury&ref=advsearch&type=Issues\r\n    *  And more specifically: https://github.com/jejacks0n/mercury/issues/67\r\n\r\nKeeping solid, semantic markup is vital to SEO and content reuse. \r\n\r\n![Style Attribute](https://s3.amazonaws.com/f.cl.ly/items/051y0y0g3P0e1H2K2u22/mercury-style.png)\r\n\r\nhttp://cl.ly/Rrpj\r\n\r\n![Apple Converted Space](https://s3.amazonaws.com/f.cl.ly/items/382S1z2y2W1v1c2Y0e40/mercury-apple-converted-space.png)\r\n\r\nhttp://cl.ly/RroE\n\n_Copied from original issue: wvuweb/cleanslate#6_"},"comment":{"url":"https://api.github.com/repos/wvuweb/cleanslate-cms/issues/comments/71488541","html_url":"https://github.com/wvuweb/cleanslate-cms/issues/2#issuecomment-71488541","issue_url":"https://api.github.com/repos/wvuweb/cleanslate-cms/issues/2","id":71488541,"user":{"login":"nreckart","id":14725,"avatar_url":"https://avatars.githubusercontent.com/u/14725?v=3","gravatar_id":"","url":"https://api.github.com/users/nreckart","html_url":"https://github.com/nreckart","followers_url":"https://api.github.com/users/nreckart/followers","following_url":"https://api.github.com/users/nreckart/following{/other_user}","gists_url":"https://api.github.com/users/nreckart/gists{/gist_id}","starred_url":"https://api.github.com/users/nreckart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nreckart/subscriptions","organizations_url":"https://api.github.com/users/nreckart/orgs","repos_url":"https://api.github.com/users/nreckart/repos","events_url":"https://api.github.com/users/nreckart/events{/privacy}","received_events_url":"https://api.github.com/users/nreckart/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T16:26:37Z","updated_at":"2015-01-26T16:26:37Z","body":"Scribe would not be a replacement for Mercury. We're too heavily invested in some of the design decisions made for Mercury to ditch it at this point. And Scribe isn't an editor. It's an editor framework.\r\n\r\nIt is conceivable that Scribe could be integrated into Mercury. Mercury implements many of it's own custom 'editor' functions when interacting with a contentEditable. These functions could be handled by Scribe while still maintaing the interaction with Mercury. \r\n\r\n"}}