{"action":"created","issue":{"url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1520","repository_url":"https://api.github.com/repos/beautify-web/js-beautify","labels_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1520/labels{/name}","comments_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1520/comments","events_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1520/events","html_url":"https://github.com/beautify-web/js-beautify/issues/1520","id":355198852,"node_id":"MDU6SXNzdWUzNTUxOTg4NTI=","number":1520,"title":"PHP code gets put on one line and not spread out.","user":{"login":"Cockers2001","id":38226871,"node_id":"MDQ6VXNlcjM4MjI2ODcx","avatar_url":"https://avatars2.githubusercontent.com/u/38226871?v=4","gravatar_id":"","url":"https://api.github.com/users/Cockers2001","html_url":"https://github.com/Cockers2001","followers_url":"https://api.github.com/users/Cockers2001/followers","following_url":"https://api.github.com/users/Cockers2001/following{/other_user}","gists_url":"https://api.github.com/users/Cockers2001/gists{/gist_id}","starred_url":"https://api.github.com/users/Cockers2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cockers2001/subscriptions","organizations_url":"https://api.github.com/users/Cockers2001/orgs","repos_url":"https://api.github.com/users/Cockers2001/repos","events_url":"https://api.github.com/users/Cockers2001/events{/privacy}","received_events_url":"https://api.github.com/users/Cockers2001/received_events","type":"User","site_admin":false},"labels":[{"id":311981969,"node_id":"MDU6TGFiZWwzMTE5ODE5Njk=","url":"https://api.github.com/repos/beautify-web/js-beautify/labels/needs%20more%20info","name":"needs more info","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-29T14:51:51Z","updated_at":"2018-08-29T17:16:31Z","closed_at":null,"author_association":"NONE","body":"# Description\r\n> PHP code gets put on one line and not spread out over multipul lines after the ';'.\r\n>\r\n\r\n# Input\r\nThe code looked like this before beautification:\r\n```\r\n<?php\r\n`include '../../includes/session.php';\r\ninclude '../../includes/dbh.inc.php';\r\ninclude '../../includes/header.php';\r\n$ePerms = $_SESSION['e_perms'];\r\nif ($ePerms['e-read'] != '1') {    \r\nheader('Location: lvlError.php');\r\n}\r\n?>\r\n```\r\n\r\n# Expected Output\r\nThe code should have looked like this after beautification:\r\n```\r\n<?php\r\n       include '../../includes/session.php';\r\n       include '../../includes/dbh.inc.php';\r\n       include '../../includes/header.php';\r\n       $ePerms = $_SESSION['e_perms'];\r\n       if ($ePerms['e-read'] != '1') {    \r\n             header('Location: lvlError.php');\r\n       }\r\n?>`\r\n```\r\n\r\n# Actual Output\r\nThe  code actually looked like this after beautification:\r\n```\r\n<?phpinclude '../../includes/session.php';include '../../includes/dbh.inc.php';masterconn();include '../../includes/header.php';$ePerms = $_SESSION['e_perms'];if ($ePerms['e-read'] != '1') {    header('Location: lvlError.php');}?>\r\n```\r\n\r\n\r\n## Environment\r\nOS: Windows 10\r\n"},"comment":{"url":"https://api.github.com/repos/beautify-web/js-beautify/issues/comments/417033179","html_url":"https://github.com/beautify-web/js-beautify/issues/1520#issuecomment-417033179","issue_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1520","id":417033179,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzAzMzE3OQ==","user":{"login":"Cockers2001","id":38226871,"node_id":"MDQ6VXNlcjM4MjI2ODcx","avatar_url":"https://avatars2.githubusercontent.com/u/38226871?v=4","gravatar_id":"","url":"https://api.github.com/users/Cockers2001","html_url":"https://github.com/Cockers2001","followers_url":"https://api.github.com/users/Cockers2001/followers","following_url":"https://api.github.com/users/Cockers2001/following{/other_user}","gists_url":"https://api.github.com/users/Cockers2001/gists{/gist_id}","starred_url":"https://api.github.com/users/Cockers2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cockers2001/subscriptions","organizations_url":"https://api.github.com/users/Cockers2001/orgs","repos_url":"https://api.github.com/users/Cockers2001/repos","events_url":"https://api.github.com/users/Cockers2001/events{/privacy}","received_events_url":"https://api.github.com/users/Cockers2001/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T17:16:31Z","updated_at":"2018-08-29T17:16:31Z","author_association":"NONE","body":"I am seeing this in brackets after I hit the beautify button"}}
{"actor":{"display_login":"Cockers2001"}}