{"action":"created","issue":{"url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/3797","repository_url":"https://api.github.com/repos/salesagility/SuiteCRM","labels_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/3797/labels{/name}","comments_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/3797/comments","events_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/3797/events","html_url":"https://github.com/salesagility/SuiteCRM/issues/3797","id":238624208,"number":3797,"title":"Issue on saving plain html code in email templates","user":{"login":"squestel","id":29713538,"avatar_url":"https://avatars0.githubusercontent.com/u/29713538?v=3","gravatar_id":"","url":"https://api.github.com/users/squestel","html_url":"https://github.com/squestel","followers_url":"https://api.github.com/users/squestel/followers","following_url":"https://api.github.com/users/squestel/following{/other_user}","gists_url":"https://api.github.com/users/squestel/gists{/gist_id}","starred_url":"https://api.github.com/users/squestel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squestel/subscriptions","organizations_url":"https://api.github.com/users/squestel/orgs","repos_url":"https://api.github.com/users/squestel/repos","events_url":"https://api.github.com/users/squestel/events{/privacy}","received_events_url":"https://api.github.com/users/squestel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-06-26T18:07:05Z","updated_at":"2017-06-29T16:04:07Z","closed_at":"2017-06-28T14:37:57Z","body":"\r\n#### Issue\r\nI try to generate an email template from html/css code, on saving everything disappear\r\n\r\n#### Expected Behavior\r\nOf course I expect the html page to be saved properly and keeping the css like it's meant to be\r\n\r\n#### Actual Behavior\r\nI get a white page, like the default model\r\n\r\n#### Possible Fix\r\nI suggest that the html check doesn't reject a plain html code (<!DOCTYPE HTML>......)\r\n\r\n#### Context\r\nIt's a high priority because we take our tme to make a complete html template for our emails, and suitecrm rejects it ! \r\n\r\n#### Your Environment\r\n* SuiteCRM Version used: We use SuiteCRM 7.8.5 but it does that in previous versions too\r\n* Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): I use Firefox but it does that on every browsers\r\n* Environment name and version (e.g. MySQL, PHP 7): we use PHP 5.6 and MySQL\r\n* Operating System and version (e.g Ubuntu 16.04): Windows 7,10 and Debian\r\n\r\n**Would you please tell me where to modify the check system on click on the save button so it can accept my html content**"},"comment":{"url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/comments/312013581","html_url":"https://github.com/salesagility/SuiteCRM/issues/3797#issuecomment-312013581","issue_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/3797","id":312013581,"user":{"login":"squestel","id":29713538,"avatar_url":"https://avatars0.githubusercontent.com/u/29713538?v=3","gravatar_id":"","url":"https://api.github.com/users/squestel","html_url":"https://github.com/squestel","followers_url":"https://api.github.com/users/squestel/followers","following_url":"https://api.github.com/users/squestel/following{/other_user}","gists_url":"https://api.github.com/users/squestel/gists{/gist_id}","starred_url":"https://api.github.com/users/squestel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squestel/subscriptions","organizations_url":"https://api.github.com/users/squestel/orgs","repos_url":"https://api.github.com/users/squestel/repos","events_url":"https://api.github.com/users/squestel/events{/privacy}","received_events_url":"https://api.github.com/users/squestel/received_events","type":"User","site_admin":false},"created_at":"2017-06-29T16:04:07Z","updated_at":"2017-06-29T16:04:07Z","body":"Thanks for caring, unfortunately after doing your changes, and repairing, on two different instances, I still get a blank page ( at the repair i've been proposed to execute sql queries )."}}
{"actor":{"display_login":"squestel"}}