{"action":"created","issue":{"url":"https://api.github.com/repos/quilljs/quill/issues/568","labels_url":"https://api.github.com/repos/quilljs/quill/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/quilljs/quill/issues/568/comments","events_url":"https://api.github.com/repos/quilljs/quill/issues/568/events","html_url":"https://github.com/quilljs/quill/issues/568","id":128443885,"number":568,"title":"adjoining spans removes space in-between words","user":{"login":"shivanka-thunderbolt","id":16871182,"avatar_url":"https://avatars.githubusercontent.com/u/16871182?v=3","gravatar_id":"","url":"https://api.github.com/users/shivanka-thunderbolt","html_url":"https://github.com/shivanka-thunderbolt","followers_url":"https://api.github.com/users/shivanka-thunderbolt/followers","following_url":"https://api.github.com/users/shivanka-thunderbolt/following{/other_user}","gists_url":"https://api.github.com/users/shivanka-thunderbolt/gists{/gist_id}","starred_url":"https://api.github.com/users/shivanka-thunderbolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivanka-thunderbolt/subscriptions","organizations_url":"https://api.github.com/users/shivanka-thunderbolt/orgs","repos_url":"https://api.github.com/users/shivanka-thunderbolt/repos","events_url":"https://api.github.com/users/shivanka-thunderbolt/events{/privacy}","received_events_url":"https://api.github.com/users/shivanka-thunderbolt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-25T02:01:43Z","updated_at":"2016-01-26T06:07:16Z","closed_at":"2016-01-26T06:07:16Z","body":"when I wrap words with span to add style to words (selective words), editor removes space in-between words. it shows as one word. how can I preserve the space ? \r\n\r\n\"quill.setHTML ( '<span>Hellow</span> <span>World</span>' )\""},"comment":{"url":"https://api.github.com/repos/quilljs/quill/issues/comments/174849823","html_url":"https://github.com/quilljs/quill/issues/568#issuecomment-174849823","issue_url":"https://api.github.com/repos/quilljs/quill/issues/568","id":174849823,"user":{"login":"jhchen","id":192974,"avatar_url":"https://avatars.githubusercontent.com/u/192974?v=3","gravatar_id":"","url":"https://api.github.com/users/jhchen","html_url":"https://github.com/jhchen","followers_url":"https://api.github.com/users/jhchen/followers","following_url":"https://api.github.com/users/jhchen/following{/other_user}","gists_url":"https://api.github.com/users/jhchen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhchen/subscriptions","organizations_url":"https://api.github.com/users/jhchen/orgs","repos_url":"https://api.github.com/users/jhchen/repos","events_url":"https://api.github.com/users/jhchen/events{/privacy}","received_events_url":"https://api.github.com/users/jhchen/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T06:07:16Z","updated_at":"2016-01-26T06:07:16Z","body":"If you must use HTML, then the solution is HTML:\r\n\r\n```html\r\nquill.setHTML('<span>Hello</span>&nbsp;<span>World</span>');\r\n```\r\n\r\nNote spans with no attributes will be removed anyways, but not tags the contribute formatting like `<b>` or `<span style=\"color: red;\">`, as they change the content being represented. In general, Quill is built for editing content, not arbitrary HTML."}}