{"action":"created","issue":{"url":"https://api.github.com/repos/MrRio/jsPDF/issues/1518","repository_url":"https://api.github.com/repos/MrRio/jsPDF","labels_url":"https://api.github.com/repos/MrRio/jsPDF/issues/1518/labels{/name}","comments_url":"https://api.github.com/repos/MrRio/jsPDF/issues/1518/comments","events_url":"https://api.github.com/repos/MrRio/jsPDF/issues/1518/events","html_url":"https://github.com/MrRio/jsPDF/issues/1518","id":274835778,"number":1518,"title":"Angular+jspdf: css was not applied","user":{"login":"pierre03","id":18083828,"avatar_url":"https://avatars0.githubusercontent.com/u/18083828?v=4","gravatar_id":"","url":"https://api.github.com/users/pierre03","html_url":"https://github.com/pierre03","followers_url":"https://api.github.com/users/pierre03/followers","following_url":"https://api.github.com/users/pierre03/following{/other_user}","gists_url":"https://api.github.com/users/pierre03/gists{/gist_id}","starred_url":"https://api.github.com/users/pierre03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierre03/subscriptions","organizations_url":"https://api.github.com/users/pierre03/orgs","repos_url":"https://api.github.com/users/pierre03/repos","events_url":"https://api.github.com/users/pierre03/events{/privacy}","received_events_url":"https://api.github.com/users/pierre03/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-17T11:29:44Z","updated_at":"2017-11-17T21:12:00Z","closed_at":null,"author_association":"NONE","body":"I use Angular and nodejs, i want to export the html file into a pdf report, but it doesn't work correctly. \r\n\r\n\r\n**Are you using the latest version of jsPDF?**\r\nYes, with gn-cli, i got the latest version\r\n**Have you tried using jspdf.debug.js?**\r\nNo\r\n**Steps to reproduce**\r\n```\r\nimport * as jsPDF from 'jspdf';\r\nimport * as html2canvas from 'html2canvas';\r\n\r\nfunction export:\r\nconst pdf = new jsPDF('p', 'pt', 'a4');\r\nhtml2canvas(document.body).then((canvas)=>{\r\n   pdf.fromHTML(document.body, 10, 10, {pagesplit: true}, () => {\r\n       pdf.save('export.pdf');\r\n   }\r\n});\r\n```\r\n\r\n**What I saw**\r\nThe file is created, but not in good format.\r\n\r\n**What I expected**\r\nThe same html page in pdf file."},"comment":{"url":"https://api.github.com/repos/MrRio/jsPDF/issues/comments/345366488","html_url":"https://github.com/MrRio/jsPDF/issues/1518#issuecomment-345366488","issue_url":"https://api.github.com/repos/MrRio/jsPDF/issues/1518","id":345366488,"user":{"login":"arasabbasi","id":5059100,"avatar_url":"https://avatars1.githubusercontent.com/u/5059100?v=4","gravatar_id":"","url":"https://api.github.com/users/arasabbasi","html_url":"https://github.com/arasabbasi","followers_url":"https://api.github.com/users/arasabbasi/followers","following_url":"https://api.github.com/users/arasabbasi/following{/other_user}","gists_url":"https://api.github.com/users/arasabbasi/gists{/gist_id}","starred_url":"https://api.github.com/users/arasabbasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arasabbasi/subscriptions","organizations_url":"https://api.github.com/users/arasabbasi/orgs","repos_url":"https://api.github.com/users/arasabbasi/repos","events_url":"https://api.github.com/users/arasabbasi/events{/privacy}","received_events_url":"https://api.github.com/users/arasabbasi/received_events","type":"User","site_admin":false},"created_at":"2017-11-17T21:12:00Z","updated_at":"2017-11-17T21:12:00Z","author_association":"CONTRIBUTOR","body":"I have no experience with angularJS."}}
{"actor":{"display_login":"arasabbasi"}}