{"action":"closed","number":114,"pull_request":{"url":"https://api.github.com/repos/mjmlio/mjml/pulls/114","id":61410389,"html_url":"https://github.com/mjmlio/mjml/pull/114","diff_url":"https://github.com/mjmlio/mjml/pull/114.diff","patch_url":"https://github.com/mjmlio/mjml/pull/114.patch","issue_url":"https://api.github.com/repos/mjmlio/mjml/issues/114","number":114,"state":"closed","locked":false,"title":"Import user font only when use in HTML","user":{"login":"lohek","id":582703,"avatar_url":"https://avatars.githubusercontent.com/u/582703?v=3","gravatar_id":"","url":"https://api.github.com/users/lohek","html_url":"https://github.com/lohek","followers_url":"https://api.github.com/users/lohek/followers","following_url":"https://api.github.com/users/lohek/following{/other_user}","gists_url":"https://api.github.com/users/lohek/gists{/gist_id}","starred_url":"https://api.github.com/users/lohek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lohek/subscriptions","organizations_url":"https://api.github.com/users/lohek/orgs","repos_url":"https://api.github.com/users/lohek/repos","events_url":"https://api.github.com/users/lohek/events{/privacy}","received_events_url":"https://api.github.com/users/lohek/received_events","type":"User","site_admin":false},"body":"Without fonts\r\n\r\n```\r\n<!--[if !mso]><!-->\r\n<style type=\"text/css\">\r\n  @media only screen and (max-width:480px) {\r\n    @-ms-viewport { width:320px; }\r\n    @viewport { width:320px; }\r\n  }\r\n</style>\r\n<!--<![endif]-->\r\n<style type=\"text/css\">\r\n  @media only screen and (min-width:480px) {\r\n    .mj-column-per-100, * [aria-labelledby=\"mj-column-per-100\"] { width:100%!important; }\r\n  }\r\n</style>\r\n```\r\n\r\nWith fonts\r\n\r\n```\r\n<mj-body>\r\n    <mj-section>\r\n      <mj-column>\r\n        <mj-text font-family=\"Open Sans, Lato\">titi</mj-text>\r\n        <mj-text font-family=\"Ubuntu\">toto</mj-text>\r\n        <mj-text font-family=\"Ubuntu\">toto 2</mj-text>\r\n        <mj-raw><td><% if (undefined) {} %></td></mj-raw>\r\n      </mj-column>\r\n    </mj-section>\r\n  </mj-body>\r\n```\r\n\r\n```\r\n<!--[if !mso]><!-->\r\n<style type=\"text/css\">\r\n  @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700);\r\n  @import url(https://fonts.googleapis.com/css?family=Lato:300,400,500,700);\r\n  @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700);\r\n</style>\r\n<style type=\"text/css\">\r\n  @media only screen and (max-width:480px) {\r\n    @-ms-viewport { width:320px; }\r\n    @viewport { width:320px; }\r\n  }\r\n</style>\r\n<link href=\"https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700\" rel=\"stylesheet\" type=\"text/css\">\r\n<link href=\"https://fonts.googleapis.com/css?family=Lato:300,400,500,700\" rel=\"stylesheet\" type=\"text/css\">\r\n<link href=\"https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700\" rel=\"stylesheet\" type=\"text/css\">\r\n<!--<![endif]-->\r\n<style type=\"text/css\">\r\n  @media only screen and (min-width:480px) {\r\n    .mj-column-per-100, * [aria-labelledby=\"mj-column-per-100\"] { width:100%!important; }\r\n  }\r\n</style>\r\n```","created_at":"2016-03-02T14:48:07Z","updated_at":"2016-03-02T16:00:13Z","closed_at":"2016-03-02T16:00:13Z","merged_at":"2016-03-02T16:00:13Z","merge_commit_sha":"bf05b94770906900a632b92cc7746a2dec283cb3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mjmlio/mjml/pulls/114/commits","review_comments_url":"https://api.github.com/repos/mjmlio/mjml/pulls/114/comments","review_comment_url":"https://api.github.com/repos/mjmlio/mjml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mjmlio/mjml/issues/114/comments","statuses_url":"https://api.github.com/repos/mjmlio/mjml/statuses/40395d506e5e5ab63b432fdf7e9e3af580043e8c","head":{"label":"mjmlio:font-family","ref":"font-family","sha":"40395d506e5e5ab63b432fdf7e9e3af580043e8c","user":{"login":"mjmlio","id":16115896,"avatar_url":"https://avatars.githubusercontent.com/u/16115896?v=3","gravatar_id":"","url":"https://api.github.com/users/mjmlio","html_url":"https://github.com/mjmlio","followers_url":"https://api.github.com/users/mjmlio/followers","following_url":"https://api.github.com/users/mjmlio/following{/other_user}","gists_url":"https://api.github.com/users/mjmlio/gists{/gist_id}","starred_url":"https://api.github.com/users/mjmlio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjmlio/subscriptions","organizations_url":"https://api.github.com/users/mjmlio/orgs","repos_url":"https://api.github.com/users/mjmlio/repos","events_url":"https://api.github.com/users/mjmlio/events{/privacy}","received_events_url":"https://api.github.com/users/mjmlio/received_events","type":"Organization","site_admin":false},"repo":{"id":50586840,"name":"mjml","full_name":"mjmlio/mjml","owner":{"login":"mjmlio","id":16115896,"avatar_url":"https://avatars.githubusercontent.com/u/16115896?v=3","gravatar_id":"","url":"https://api.github.com/users/mjmlio","html_url":"https://github.com/mjmlio","followers_url":"https://api.github.com/users/mjmlio/followers","following_url":"https://api.github.com/users/mjmlio/following{/other_user}","gists_url":"https://api.github.com/users/mjmlio/gists{/gist_id}","starred_url":"https://api.github.com/users/mjmlio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjmlio/subscriptions","organizations_url":"https://api.github.com/users/mjmlio/orgs","repos_url":"https://api.github.com/users/mjmlio/repos","events_url":"https://api.github.com/users/mjmlio/events{/privacy}","received_events_url":"https://api.github.com/users/mjmlio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mjmlio/mjml","description":"MJML: the only framework that makes responsive-email easy","fork":false,"url":"https://api.github.com/repos/mjmlio/mjml","forks_url":"https://api.github.com/repos/mjmlio/mjml/forks","keys_url":"https://api.github.com/repos/mjmlio/mjml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mjmlio/mjml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mjmlio/mjml/teams","hooks_url":"https://api.github.com/repos/mjmlio/mjml/hooks","issue_events_url":"https://api.github.com/repos/mjmlio/mjml/issues/events{/number}","events_url":"https://api.github.com/repos/mjmlio/mjml/events","assignees_url":"https://api.github.com/repos/mjmlio/mjml/assignees{/user}","branches_url":"https://api.github.com/repos/mjmlio/mjml/branches{/branch}","tags_url":"https://api.github.com/repos/mjmlio/mjml/tags","blobs_url":"https://api.github.com/repos/mjmlio/mjml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mjmlio/mjml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mjmlio/mjml/git/refs{/sha}","trees_url":"https://api.github.com/repos/mjmlio/mjml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mjmlio/mjml/statuses/{sha}","languages_url":"https://api.github.com/repos/mjmlio/mjml/languages","stargazers_url":"https://api.github.com/repos/mjmlio/mjml/stargazers","contributors_url":"https://api.github.com/repos/mjmlio/mjml/contributors","subscribers_url":"https://api.github.com/repos/mjmlio/mjml/subscribers","subscription_url":"https://api.github.com/repos/mjmlio/mjml/subscription","commits_url":"https://api.github.com/repos/mjmlio/mjml/commits{/sha}","git_commits_url":"https://api.github.com/repos/mjmlio/mjml/git/commits{/sha}","comments_url":"https://api.github.com/repos/mjmlio/mjml/comments{/number}","issue_comment_url":"https://api.github.com/repos/mjmlio/mjml/issues/comments{/number}","contents_url":"https://api.github.com/repos/mjmlio/mjml/contents/{+path}","compare_url":"https://api.github.com/repos/mjmlio/mjml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mjmlio/mjml/merges","archive_url":"https://api.github.com/repos/mjmlio/mjml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mjmlio/mjml/downloads","issues_url":"https://api.github.com/repos/mjmlio/mjml/issues{/number}","pulls_url":"https://api.github.com/repos/mjmlio/mjml/pulls{/number}","milestones_url":"https://api.github.com/repos/mjmlio/mjml/milestones{/number}","notifications_url":"https://api.github.com/repos/mjmlio/mjml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mjmlio/mjml/labels{/name}","releases_url":"https://api.github.com/repos/mjmlio/mjml/releases{/id}","deployments_url":"https://api.github.com/repos/mjmlio/mjml/deployments","created_at":"2016-01-28T14:04:05Z","updated_at":"2016-03-02T15:10:15Z","pushed_at":"2016-03-02T16:00:13Z","git_url":"git://github.com/mjmlio/mjml.git","ssh_url":"git@github.com:mjmlio/mjml.git","clone_url":"https://github.com/mjmlio/mjml.git","svn_url":"https://github.com/mjmlio/mjml","homepage":"https://mjml.io","size":841,"stargazers_count":2689,"watchers_count":2689,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":125,"mirror_url":null,"open_issues_count":34,"forks":125,"open_issues":34,"watchers":2689,"default_branch":"master"}},"base":{"label":"mjmlio:1.3-beta","ref":"1.3-beta","sha":"33e6884ca755c505c72a9a7b7d013e87f536645a","user":{"login":"mjmlio","id":16115896,"avatar_url":"https://avatars.githubusercontent.com/u/16115896?v=3","gravatar_id":"","url":"https://api.github.com/users/mjmlio","html_url":"https://github.com/mjmlio","followers_url":"https://api.github.com/users/mjmlio/followers","following_url":"https://api.github.com/users/mjmlio/following{/other_user}","gists_url":"https://api.github.com/users/mjmlio/gists{/gist_id}","starred_url":"https://api.github.com/users/mjmlio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjmlio/subscriptions","organizations_url":"https://api.github.com/users/mjmlio/orgs","repos_url":"https://api.github.com/users/mjmlio/repos","events_url":"https://api.github.com/users/mjmlio/events{/privacy}","received_events_url":"https://api.github.com/users/mjmlio/received_events","type":"Organization","site_admin":false},"repo":{"id":50586840,"name":"mjml","full_name":"mjmlio/mjml","owner":{"login":"mjmlio","id":16115896,"avatar_url":"https://avatars.githubusercontent.com/u/16115896?v=3","gravatar_id":"","url":"https://api.github.com/users/mjmlio","html_url":"https://github.com/mjmlio","followers_url":"https://api.github.com/users/mjmlio/followers","following_url":"https://api.github.com/users/mjmlio/following{/other_user}","gists_url":"https://api.github.com/users/mjmlio/gists{/gist_id}","starred_url":"https://api.github.com/users/mjmlio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjmlio/subscriptions","organizations_url":"https://api.github.com/users/mjmlio/orgs","repos_url":"https://api.github.com/users/mjmlio/repos","events_url":"https://api.github.com/users/mjmlio/events{/privacy}","received_events_url":"https://api.github.com/users/mjmlio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mjmlio/mjml","description":"MJML: the only framework that makes responsive-email easy","fork":false,"url":"https://api.github.com/repos/mjmlio/mjml","forks_url":"https://api.github.com/repos/mjmlio/mjml/forks","keys_url":"https://api.github.com/repos/mjmlio/mjml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mjmlio/mjml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mjmlio/mjml/teams","hooks_url":"https://api.github.com/repos/mjmlio/mjml/hooks","issue_events_url":"https://api.github.com/repos/mjmlio/mjml/issues/events{/number}","events_url":"https://api.github.com/repos/mjmlio/mjml/events","assignees_url":"https://api.github.com/repos/mjmlio/mjml/assignees{/user}","branches_url":"https://api.github.com/repos/mjmlio/mjml/branches{/branch}","tags_url":"https://api.github.com/repos/mjmlio/mjml/tags","blobs_url":"https://api.github.com/repos/mjmlio/mjml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mjmlio/mjml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mjmlio/mjml/git/refs{/sha}","trees_url":"https://api.github.com/repos/mjmlio/mjml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mjmlio/mjml/statuses/{sha}","languages_url":"https://api.github.com/repos/mjmlio/mjml/languages","stargazers_url":"https://api.github.com/repos/mjmlio/mjml/stargazers","contributors_url":"https://api.github.com/repos/mjmlio/mjml/contributors","subscribers_url":"https://api.github.com/repos/mjmlio/mjml/subscribers","subscription_url":"https://api.github.com/repos/mjmlio/mjml/subscription","commits_url":"https://api.github.com/repos/mjmlio/mjml/commits{/sha}","git_commits_url":"https://api.github.com/repos/mjmlio/mjml/git/commits{/sha}","comments_url":"https://api.github.com/repos/mjmlio/mjml/comments{/number}","issue_comment_url":"https://api.github.com/repos/mjmlio/mjml/issues/comments{/number}","contents_url":"https://api.github.com/repos/mjmlio/mjml/contents/{+path}","compare_url":"https://api.github.com/repos/mjmlio/mjml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mjmlio/mjml/merges","archive_url":"https://api.github.com/repos/mjmlio/mjml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mjmlio/mjml/downloads","issues_url":"https://api.github.com/repos/mjmlio/mjml/issues{/number}","pulls_url":"https://api.github.com/repos/mjmlio/mjml/pulls{/number}","milestones_url":"https://api.github.com/repos/mjmlio/mjml/milestones{/number}","notifications_url":"https://api.github.com/repos/mjmlio/mjml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mjmlio/mjml/labels{/name}","releases_url":"https://api.github.com/repos/mjmlio/mjml/releases{/id}","deployments_url":"https://api.github.com/repos/mjmlio/mjml/deployments","created_at":"2016-01-28T14:04:05Z","updated_at":"2016-03-02T15:10:15Z","pushed_at":"2016-03-02T16:00:13Z","git_url":"git://github.com/mjmlio/mjml.git","ssh_url":"git@github.com:mjmlio/mjml.git","clone_url":"https://github.com/mjmlio/mjml.git","svn_url":"https://github.com/mjmlio/mjml","homepage":"https://mjml.io","size":841,"stargazers_count":2689,"watchers_count":2689,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":125,"mirror_url":null,"open_issues_count":34,"forks":125,"open_issues":34,"watchers":2689,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mjmlio/mjml/pulls/114"},"html":{"href":"https://github.com/mjmlio/mjml/pull/114"},"issue":{"href":"https://api.github.com/repos/mjmlio/mjml/issues/114"},"comments":{"href":"https://api.github.com/repos/mjmlio/mjml/issues/114/comments"},"review_comments":{"href":"https://api.github.com/repos/mjmlio/mjml/pulls/114/comments"},"review_comment":{"href":"https://api.github.com/repos/mjmlio/mjml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mjmlio/mjml/pulls/114/commits"},"statuses":{"href":"https://api.github.com/repos/mjmlio/mjml/statuses/40395d506e5e5ab63b432fdf7e9e3af580043e8c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lohek","id":582703,"avatar_url":"https://avatars.githubusercontent.com/u/582703?v=3","gravatar_id":"","url":"https://api.github.com/users/lohek","html_url":"https://github.com/lohek","followers_url":"https://api.github.com/users/lohek/followers","following_url":"https://api.github.com/users/lohek/following{/other_user}","gists_url":"https://api.github.com/users/lohek/gists{/gist_id}","starred_url":"https://api.github.com/users/lohek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lohek/subscriptions","organizations_url":"https://api.github.com/users/lohek/orgs","repos_url":"https://api.github.com/users/lohek/repos","events_url":"https://api.github.com/users/lohek/events{/privacy}","received_events_url":"https://api.github.com/users/lohek/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":85,"deletions":52,"changed_files":9}}