{"action":"created","issue":{"url":"https://api.github.com/repos/sstur/draft-js-export-html/issues/19","repository_url":"https://api.github.com/repos/sstur/draft-js-export-html","labels_url":"https://api.github.com/repos/sstur/draft-js-export-html/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/sstur/draft-js-export-html/issues/19/comments","events_url":"https://api.github.com/repos/sstur/draft-js-export-html/issues/19/events","html_url":"https://github.com/sstur/draft-js-export-html/pull/19","id":158673642,"number":19,"title":"Use div instead p for the default unstyled element","user":{"login":"xarg","id":94721,"avatar_url":"https://avatars.githubusercontent.com/u/94721?v=3","gravatar_id":"","url":"https://api.github.com/users/xarg","html_url":"https://github.com/xarg","followers_url":"https://api.github.com/users/xarg/followers","following_url":"https://api.github.com/users/xarg/following{/other_user}","gists_url":"https://api.github.com/users/xarg/gists{/gist_id}","starred_url":"https://api.github.com/users/xarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xarg/subscriptions","organizations_url":"https://api.github.com/users/xarg/orgs","repos_url":"https://api.github.com/users/xarg/repos","events_url":"https://api.github.com/users/xarg/events{/privacy}","received_events_url":"https://api.github.com/users/xarg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-06T13:09:40Z","updated_at":"2016-07-05T00:49:12Z","closed_at":"2016-07-05T00:41:56Z","pull_request":{"url":"https://api.github.com/repos/sstur/draft-js-export-html/pulls/19","html_url":"https://github.com/sstur/draft-js-export-html/pull/19","diff_url":"https://github.com/sstur/draft-js-export-html/pull/19.diff","patch_url":"https://github.com/sstur/draft-js-export-html/pull/19.patch"},"body":"The default unstyled element in draft is `div` instead of `p`. This is a quick-fix that fixes this. It should use the DefaultDraftBlockRenderMap instead (possibly with an option to specify the rendering of block types). Once #15 is done, I'd be willing to add support for it.\r\n\r\nhttps://github.com/facebook/draft-js/blob/master/src/model/immutable/DefaultDraftBlockRenderMap.js#L62\r\n\r\nNote: this was tested with Draft.js v0.7.0"},"comment":{"url":"https://api.github.com/repos/sstur/draft-js-export-html/issues/comments/230367598","html_url":"https://github.com/sstur/draft-js-export-html/pull/19#issuecomment-230367598","issue_url":"https://api.github.com/repos/sstur/draft-js-export-html/issues/19","id":230367598,"user":{"login":"sstur","id":369384,"avatar_url":"https://avatars.githubusercontent.com/u/369384?v=3","gravatar_id":"","url":"https://api.github.com/users/sstur","html_url":"https://github.com/sstur","followers_url":"https://api.github.com/users/sstur/followers","following_url":"https://api.github.com/users/sstur/following{/other_user}","gists_url":"https://api.github.com/users/sstur/gists{/gist_id}","starred_url":"https://api.github.com/users/sstur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstur/subscriptions","organizations_url":"https://api.github.com/users/sstur/orgs","repos_url":"https://api.github.com/users/sstur/repos","events_url":"https://api.github.com/users/sstur/events{/privacy}","received_events_url":"https://api.github.com/users/sstur/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T00:49:12Z","updated_at":"2016-07-05T00:49:12Z","body":"Alternatively, I'm happy to allow you to specify custom tags for each block. In fact, I think that's the right thing to do here, similar to #15. I will create an issue to that effect.."}}
{"actor":{"display_login":"sstur"}}