{"action":"created","issue":{"url":"https://api.github.com/repos/Sigil-Ebook/Sigil/issues/232","repository_url":"https://api.github.com/repos/Sigil-Ebook/Sigil","labels_url":"https://api.github.com/repos/Sigil-Ebook/Sigil/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/Sigil-Ebook/Sigil/issues/232/comments","events_url":"https://api.github.com/repos/Sigil-Ebook/Sigil/issues/232/events","html_url":"https://github.com/Sigil-Ebook/Sigil/issues/232","id":164729655,"number":232,"title":"Non breaking space (&nbsp;) duplicated when inserting a file","user":{"login":"vmalep","id":2742150,"avatar_url":"https://avatars.githubusercontent.com/u/2742150?v=3","gravatar_id":"","url":"https://api.github.com/users/vmalep","html_url":"https://github.com/vmalep","followers_url":"https://api.github.com/users/vmalep/followers","following_url":"https://api.github.com/users/vmalep/following{/other_user}","gists_url":"https://api.github.com/users/vmalep/gists{/gist_id}","starred_url":"https://api.github.com/users/vmalep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmalep/subscriptions","organizations_url":"https://api.github.com/users/vmalep/orgs","repos_url":"https://api.github.com/users/vmalep/repos","events_url":"https://api.github.com/users/vmalep/events{/privacy}","received_events_url":"https://api.github.com/users/vmalep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":46,"created_at":"2016-07-10T19:17:43Z","updated_at":"2016-11-07T17:25:34Z","closed_at":null,"body":"I noticed that when inserting a image file into an htm file (i.e. <img alt= ...), Sigil duplicates all the non breaking space (\"&nbsp;\") into all the open files. I have to repeatedly search&replace for \"&nbsp;&nbsp;\" to \"&nbsp;\".\n\nMust be a bug, isn't it?\n\nMy version is 0.9.5 running on Ubuntu 16.04.\n"},"comment":{"url":"https://api.github.com/repos/Sigil-Ebook/Sigil/issues/comments/258901887","html_url":"https://github.com/Sigil-Ebook/Sigil/issues/232#issuecomment-258901887","issue_url":"https://api.github.com/repos/Sigil-Ebook/Sigil/issues/232","id":258901887,"user":{"login":"kevinhendricks","id":8493752,"avatar_url":"https://avatars.githubusercontent.com/u/8493752?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinhendricks","html_url":"https://github.com/kevinhendricks","followers_url":"https://api.github.com/users/kevinhendricks/followers","following_url":"https://api.github.com/users/kevinhendricks/following{/other_user}","gists_url":"https://api.github.com/users/kevinhendricks/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinhendricks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinhendricks/subscriptions","organizations_url":"https://api.github.com/users/kevinhendricks/orgs","repos_url":"https://api.github.com/users/kevinhendricks/repos","events_url":"https://api.github.com/users/kevinhendricks/events{/privacy}","received_events_url":"https://api.github.com/users/kevinhendricks/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T17:25:34Z","updated_at":"2016-11-07T17:25:34Z","body":"Yes either xml escape the \"&\" with \"&amp;\" or try with CDATA tags.  I am not sure that xhtml/epub supports CDATA tags officially on all epub devices.\r\n\r\nAnother way to handle this is to add a separate script file to the epub and simply reference that new script file instead of inlining the script.\r\n\r\n"}}
{"actor":{"display_login":"kevinhendricks"}}