{"action":"created","issue":{"url":"https://api.github.com/repos/FinalsClub/karmaworld/issues/406","labels_url":"https://api.github.com/repos/FinalsClub/karmaworld/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/FinalsClub/karmaworld/issues/406/comments","events_url":"https://api.github.com/repos/FinalsClub/karmaworld/issues/406/events","html_url":"https://github.com/FinalsClub/karmaworld/issues/406","id":58436302,"number":406,"title":"some notes are not editable","user":{"login":"btbonval","id":880439,"avatar_url":"https://avatars.githubusercontent.com/u/880439?v=3","gravatar_id":"","url":"https://api.github.com/users/btbonval","html_url":"https://github.com/btbonval","followers_url":"https://api.github.com/users/btbonval/followers","following_url":"https://api.github.com/users/btbonval/following{/other_user}","gists_url":"https://api.github.com/users/btbonval/gists{/gist_id}","starred_url":"https://api.github.com/users/btbonval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btbonval/subscriptions","organizations_url":"https://api.github.com/users/btbonval/orgs","repos_url":"https://api.github.com/users/btbonval/repos","events_url":"https://api.github.com/users/btbonval/events{/privacy}","received_events_url":"https://api.github.com/users/btbonval/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-02-21T02:22:33Z","updated_at":"2015-02-24T06:20:28Z","closed_at":null,"body":"Particular test case: `/note/harvard/reason-and-faith-in-the-west/resumepdf-5-27-43979`\r\n\r\nThat note allows me to open the editor, but it's all raw HTML in the editor. If I try to embolden some plain text, it just removes the editor window, refreshes the page, and nothing changed.\r\n\r\nNo errors on console besides `TypeError: m.getComputedStyle(...) is null ... wysihtml5x-toolbar.min.js:5`, but this error is relatively common on pages that work just fine. No errors on the server console.\r\n\r\nThis problem was originally noticed in #402 but I conflated a few different problems together in that ticket. I thought they might have all been resolved, but it appears not to be the case."},"comment":{"url":"https://api.github.com/repos/FinalsClub/karmaworld/issues/comments/75705834","html_url":"https://github.com/FinalsClub/karmaworld/issues/406#issuecomment-75705834","issue_url":"https://api.github.com/repos/FinalsClub/karmaworld/issues/406","id":75705834,"user":{"login":"btbonval","id":880439,"avatar_url":"https://avatars.githubusercontent.com/u/880439?v=3","gravatar_id":"","url":"https://api.github.com/users/btbonval","html_url":"https://github.com/btbonval","followers_url":"https://api.github.com/users/btbonval/followers","following_url":"https://api.github.com/users/btbonval/following{/other_user}","gists_url":"https://api.github.com/users/btbonval/gists{/gist_id}","starred_url":"https://api.github.com/users/btbonval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btbonval/subscriptions","organizations_url":"https://api.github.com/users/btbonval/orgs","repos_url":"https://api.github.com/users/btbonval/repos","events_url":"https://api.github.com/users/btbonval/events{/privacy}","received_events_url":"https://api.github.com/users/btbonval/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T06:20:28Z","updated_at":"2015-02-24T06:20:28Z","body":"Removed `<span>...</span>` and editor is back to WYSIWYG.\r\n\r\nAdded `<a href=\"place\">text</a>;`. Again, the tags are escaped. Went back to WYSIWYG. It's still WYSI, but `<a href=\"` and `</a>` are gone from the WYG, while `place\">text;` remains. Saving it, those escaped tags are totally gone.\r\n\r\nThis editor is not idempotent or else we are interfering with the results somehow.\r\n\r\nAnyway this is a big distraction. It seems that divs and spans cause issues, so let's see if we can avoid them."}}