{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/web/issues/151","labels_url":"https://api.github.com/repos/OCA/web/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/OCA/web/issues/151/comments","events_url":"https://api.github.com/repos/OCA/web/issues/151/events","html_url":"https://github.com/OCA/web/issues/151","id":90425991,"number":151,"title":"[8.0] web_ckeditor4 does not work in email templates/mako","user":{"login":"RoelAdriaans-B-informed","id":7871661,"avatar_url":"https://avatars.githubusercontent.com/u/7871661?v=3","gravatar_id":"","url":"https://api.github.com/users/RoelAdriaans-B-informed","html_url":"https://github.com/RoelAdriaans-B-informed","followers_url":"https://api.github.com/users/RoelAdriaans-B-informed/followers","following_url":"https://api.github.com/users/RoelAdriaans-B-informed/following{/other_user}","gists_url":"https://api.github.com/users/RoelAdriaans-B-informed/gists{/gist_id}","starred_url":"https://api.github.com/users/RoelAdriaans-B-informed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoelAdriaans-B-informed/subscriptions","organizations_url":"https://api.github.com/users/RoelAdriaans-B-informed/orgs","repos_url":"https://api.github.com/users/RoelAdriaans-B-informed/repos","events_url":"https://api.github.com/users/RoelAdriaans-B-informed/events{/privacy}","received_events_url":"https://api.github.com/users/RoelAdriaans-B-informed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"hbrunn","id":2563186,"avatar_url":"https://avatars.githubusercontent.com/u/2563186?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrunn","html_url":"https://github.com/hbrunn","followers_url":"https://api.github.com/users/hbrunn/followers","following_url":"https://api.github.com/users/hbrunn/following{/other_user}","gists_url":"https://api.github.com/users/hbrunn/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrunn/subscriptions","organizations_url":"https://api.github.com/users/hbrunn/orgs","repos_url":"https://api.github.com/users/hbrunn/repos","events_url":"https://api.github.com/users/hbrunn/events{/privacy}","received_events_url":"https://api.github.com/users/hbrunn/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-06-23T15:56:35Z","updated_at":"2015-06-30T06:48:27Z","closed_at":null,"body":"With the web_ckeditor4 enabled, editing an email template breaks the template.\r\n\r\nThe code before saving is, for example:\r\n```mako\r\n       % if object.origin:\r\n       &nbsp;&nbsp;Order reference: ${object.origin}<br />\r\n       % endif\r\n```\r\nand after saving:\r\n```mako\r\n% if object.origin: &nbsp;&nbsp;Order reference: ${object.origin}<br />\r\n% endif %\r\n```\r\nThe missing enters break the mako formatting engine, you have to edit the template by hand.. \r\nThis is in 8.0. \r\n(Ninja edit, `%endif` is not removed)"},"comment":{"url":"https://api.github.com/repos/OCA/web/issues/comments/117021638","html_url":"https://github.com/OCA/web/issues/151#issuecomment-117021638","issue_url":"https://api.github.com/repos/OCA/web/issues/151","id":117021638,"user":{"login":"hbrunn","id":2563186,"avatar_url":"https://avatars.githubusercontent.com/u/2563186?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrunn","html_url":"https://github.com/hbrunn","followers_url":"https://api.github.com/users/hbrunn/followers","following_url":"https://api.github.com/users/hbrunn/following{/other_user}","gists_url":"https://api.github.com/users/hbrunn/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrunn/subscriptions","organizations_url":"https://api.github.com/users/hbrunn/orgs","repos_url":"https://api.github.com/users/hbrunn/repos","events_url":"https://api.github.com/users/hbrunn/events{/privacy}","received_events_url":"https://api.github.com/users/hbrunn/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T06:48:27Z","updated_at":"2015-06-30T06:48:27Z","body":"@RoelAdriaans-B-informed @pedrobaeza @antespi @rafaelbn \r\n\r\nI think @lfreeke mentioned this problem once.\r\n\r\nShould be fixed by #158 "}}