{"action":"created","issue":{"url":"https://api.github.com/repos/mpdf/mpdf/issues/788","repository_url":"https://api.github.com/repos/mpdf/mpdf","labels_url":"https://api.github.com/repos/mpdf/mpdf/issues/788/labels{/name}","comments_url":"https://api.github.com/repos/mpdf/mpdf/issues/788/comments","events_url":"https://api.github.com/repos/mpdf/mpdf/issues/788/events","html_url":"https://github.com/mpdf/mpdf/issues/788","id":335733500,"node_id":"MDU6SXNzdWUzMzU3MzM1MDA=","number":788,"title":" Who was an error this was not ạ :(","user":{"login":"TrungPhuNA","id":22425939,"node_id":"MDQ6VXNlcjIyNDI1OTM5","avatar_url":"https://avatars2.githubusercontent.com/u/22425939?v=4","gravatar_id":"","url":"https://api.github.com/users/TrungPhuNA","html_url":"https://github.com/TrungPhuNA","followers_url":"https://api.github.com/users/TrungPhuNA/followers","following_url":"https://api.github.com/users/TrungPhuNA/following{/other_user}","gists_url":"https://api.github.com/users/TrungPhuNA/gists{/gist_id}","starred_url":"https://api.github.com/users/TrungPhuNA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrungPhuNA/subscriptions","organizations_url":"https://api.github.com/users/TrungPhuNA/orgs","repos_url":"https://api.github.com/users/TrungPhuNA/repos","events_url":"https://api.github.com/users/TrungPhuNA/events{/privacy}","received_events_url":"https://api.github.com/users/TrungPhuNA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-26T09:27:54Z","updated_at":"2018-06-26T10:20:28Z","closed_at":null,"author_association":"NONE","body":"\r\n        if (isset($properties['VERTICAL-ALIGN'])) {\r\n            $objattr['vertical-align'] = self::ALIGN[strtolower($properties['VERTICAL-ALIGN'])];\r\n        }\r\n \r\n        $colsize = 20; //HTML default value\r\n        $rowsize = 2; //HTML default value\r\n        if (isset($attr['COLS'])) {\r\n            $colsize = (int) $attr['COLS'];\r\n        }\r\n        if (isset($attr['ROWS'])) {\r\n            $rowsize = (int) $attr['ROWS'];\r\n        }\r\n \r\n        $charsize = $this->mpdf->GetCharWidth('w', false);\r\n \r\n        if ($w) {\r\n \r\n            // default\r\n            $colsize = round(($w - ($this->form->form_element_spacing['textarea']['outer']['h'] * 2)\r\n                    - ($this->form->form_element_spacing['textarea']['inner']['h'] * 2)) / $charsize);\r\n \r\n        }\r\n        if ($h) {\r\n            $rowsize = round(($h - ($this->form->form_element_spacing['textarea']['outer']['v'] * 2)\r\n                    - ($this->form->form_element_spacing['textarea']['inner']['v'] * 2)) / $this->mpdf->lineheight);\r\n        }\r\n \r\n        $objattr['type'] = 'textarea';\r\n        $objattr['width'] = ($colsize * $charsize) + ($this->form->form_element_spacing['textarea']['outer']['h'] * 2)\r\n            + ($this->form->form_element_spacing['textarea']['inner']['h'] * 2);\r\n \r\n        $objattr['height'] = ($rowsize * $this->mpdf->lineheight)\r\n            + ($this->form->form_element_spacing['textarea']['outer']['v'] * 2)\r\n            + ($this->form->form_element_spacing['textarea']['inner']['v'] * 2);\r\n \r\n        $objattr['rows'] = $rowsize;\r\n        $objattr['cols'] = $colsize;\r\n \r\n        $this->mpdf->specialcontent = serialize($objattr);\r\n \r\nArguments\r\n\"Division by zero\""},"comment":{"url":"https://api.github.com/repos/mpdf/mpdf/issues/comments/400257869","html_url":"https://github.com/mpdf/mpdf/issues/788#issuecomment-400257869","issue_url":"https://api.github.com/repos/mpdf/mpdf/issues/788","id":400257869,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDI1Nzg2OQ==","user":{"login":"Klap-in","id":183250,"node_id":"MDQ6VXNlcjE4MzI1MA==","avatar_url":"https://avatars0.githubusercontent.com/u/183250?v=4","gravatar_id":"","url":"https://api.github.com/users/Klap-in","html_url":"https://github.com/Klap-in","followers_url":"https://api.github.com/users/Klap-in/followers","following_url":"https://api.github.com/users/Klap-in/following{/other_user}","gists_url":"https://api.github.com/users/Klap-in/gists{/gist_id}","starred_url":"https://api.github.com/users/Klap-in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Klap-in/subscriptions","organizations_url":"https://api.github.com/users/Klap-in/orgs","repos_url":"https://api.github.com/users/Klap-in/repos","events_url":"https://api.github.com/users/Klap-in/events{/privacy}","received_events_url":"https://api.github.com/users/Klap-in/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T10:20:28Z","updated_at":"2018-06-26T10:20:28Z","author_association":"CONTRIBUTOR","body":"Your example is not complete. It misses information."}}
{"actor":{"display_login":"Klap-in"}}