{"action":"created","issue":{"url":"https://api.github.com/repos/mpdf/mpdf/issues/649","repository_url":"https://api.github.com/repos/mpdf/mpdf","labels_url":"https://api.github.com/repos/mpdf/mpdf/issues/649/labels{/name}","comments_url":"https://api.github.com/repos/mpdf/mpdf/issues/649/comments","events_url":"https://api.github.com/repos/mpdf/mpdf/issues/649/events","html_url":"https://github.com/mpdf/mpdf/pull/649","id":296257006,"number":649,"title":"Ensure TOC page number isn't automatically reset","user":{"login":"jakejackson1","id":2918419,"avatar_url":"https://avatars1.githubusercontent.com/u/2918419?v=4","gravatar_id":"","url":"https://api.github.com/users/jakejackson1","html_url":"https://github.com/jakejackson1","followers_url":"https://api.github.com/users/jakejackson1/followers","following_url":"https://api.github.com/users/jakejackson1/following{/other_user}","gists_url":"https://api.github.com/users/jakejackson1/gists{/gist_id}","starred_url":"https://api.github.com/users/jakejackson1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakejackson1/subscriptions","organizations_url":"https://api.github.com/users/jakejackson1/orgs","repos_url":"https://api.github.com/users/jakejackson1/repos","events_url":"https://api.github.com/users/jakejackson1/events{/privacy}","received_events_url":"https://api.github.com/users/jakejackson1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-12T03:18:51Z","updated_at":"2018-02-13T00:59:41Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mpdf/mpdf/pulls/649","html_url":"https://github.com/mpdf/mpdf/pull/649","diff_url":"https://github.com/mpdf/mpdf/pull/649.diff","patch_url":"https://github.com/mpdf/mpdf/pull/649.patch"},"body":"As per the documentation for the [HTML control tag](http://mpdf.github.io/reference/html-control-tags/tocpagebreak.html) and [method call](http://mpdf.github.io/reference/mpdf-functions/tocpagebreak.html) `tocpagebreak`, the `resetpagenum` value when blank, omitted, or `0`will leave the proceeding page number sequence unchanged. However, since Mpdf 6 this hasn't been the case.\r\n\r\nThis PR will ensure the `resetpagenum` value isn't automatically set to `1` when omitted, blank or `0`.\r\n\r\nResolves #643"},"comment":{"url":"https://api.github.com/repos/mpdf/mpdf/issues/comments/365115697","html_url":"https://github.com/mpdf/mpdf/pull/649#issuecomment-365115697","issue_url":"https://api.github.com/repos/mpdf/mpdf/issues/649","id":365115697,"user":{"login":"jakejackson1","id":2918419,"avatar_url":"https://avatars1.githubusercontent.com/u/2918419?v=4","gravatar_id":"","url":"https://api.github.com/users/jakejackson1","html_url":"https://github.com/jakejackson1","followers_url":"https://api.github.com/users/jakejackson1/followers","following_url":"https://api.github.com/users/jakejackson1/following{/other_user}","gists_url":"https://api.github.com/users/jakejackson1/gists{/gist_id}","starred_url":"https://api.github.com/users/jakejackson1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakejackson1/subscriptions","organizations_url":"https://api.github.com/users/jakejackson1/orgs","repos_url":"https://api.github.com/users/jakejackson1/repos","events_url":"https://api.github.com/users/jakejackson1/events{/privacy}","received_events_url":"https://api.github.com/users/jakejackson1/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T00:59:41Z","updated_at":"2018-02-13T00:59:41Z","author_association":"CONTRIBUTOR","body":"PR relies on https://github.com/mpdf/mpdf/pull/641 being merged which is why the PHP7.2 test on Travis failed. "}}
{"actor":{"display_login":"jakejackson1"}}