{"action":"closed","issue":{"url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1522","repository_url":"https://api.github.com/repos/beautify-web/js-beautify","labels_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1522/labels{/name}","comments_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1522/comments","events_url":"https://api.github.com/repos/beautify-web/js-beautify/issues/1522/events","html_url":"https://github.com/beautify-web/js-beautify/issues/1522","id":355552329,"node_id":"MDU6SXNzdWUzNTU1NTIzMjk=","number":1522,"title":"Space added into url() after SCSS beautified","user":{"login":"iczman","id":6440237,"node_id":"MDQ6VXNlcjY0NDAyMzc=","avatar_url":"https://avatars1.githubusercontent.com/u/6440237?v=4","gravatar_id":"","url":"https://api.github.com/users/iczman","html_url":"https://github.com/iczman","followers_url":"https://api.github.com/users/iczman/followers","following_url":"https://api.github.com/users/iczman/following{/other_user}","gists_url":"https://api.github.com/users/iczman/gists{/gist_id}","starred_url":"https://api.github.com/users/iczman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iczman/subscriptions","organizations_url":"https://api.github.com/users/iczman/orgs","repos_url":"https://api.github.com/users/iczman/repos","events_url":"https://api.github.com/users/iczman/events{/privacy}","received_events_url":"https://api.github.com/users/iczman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-30T11:56:57Z","updated_at":"2018-08-30T16:15:41Z","closed_at":"2018-08-30T16:15:41Z","author_association":"NONE","body":"# Description\r\n`@import url(//...)` when beautified inserts an extra space after the open paren `@import url( //...)` thus generating invalid scss.\r\n\r\n# Input\r\nThe code looked like this before beautification:\r\n```scss\r\n@import url(//example.com/style.css);\r\n```\r\n\r\n# Expected Output\r\nThe code should have looked like this after beautification:\r\n```scss\r\n// No change\r\n@import url(//example.com/style.css);\r\n```\r\n\r\n# Actual Output\r\nThe  code actually looked like this after beautification:\r\n```scss\r\n// Extra space added\r\n//          ↓\r\n@import url( //example.com/style.css);\r\n```\r\n\r\n# Steps to Reproduce\r\n\r\nPaste the above code into http://jsbeautifier.org/ and beautify\r\n## Environment\r\nOS: macOS\r\n\r\n\r\n## Settings\r\nExample:\r\n```json\r\n{\r\n  \"indent_size\": \"2\",\r\n  \"indent_char\": \" \",\r\n  \"max_preserve_newlines\": \"5\",\r\n  \"preserve_newlines\": true,\r\n  \"keep_array_indentation\": false,\r\n  \"break_chained_methods\": false,\r\n  \"indent_scripts\": \"normal\",\r\n  \"brace_style\": \"collapse\",\r\n  \"space_before_conditional\": true,\r\n  \"unescape_strings\": false,\r\n  \"jslint_happy\": false,\r\n  \"end_with_newline\": true,\r\n  \"wrap_line_length\": \"0\",\r\n  \"indent_inner_html\": false,\r\n  \"comma_first\": false,\r\n  \"e4x\": false\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"iczman"}}