Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White space before"!important" tag missing in CSS beautify #1273

Closed
gujiman opened this issue Oct 15, 2017 · 0 comments · Fixed by #1279
Closed

White space before"!important" tag missing in CSS beautify #1273

gujiman opened this issue Oct 15, 2017 · 0 comments · Fixed by #1279

Comments

@gujiman
Copy link

gujiman commented Oct 15, 2017

Description

When beautifying CSS ideally the code would look nice if there was a space before "!important" value.

Input

The code looked like this before beautification:

.form-inline{display:block!important;}

Expected Output

The code should have looked like this after beautification:

.form-inline{
    display: block !important;
}

Actual Output

The code actually looked like this after beautification:

.form-inline{
    display: block!important;
}

Steps to Reproduce

Just beatify the css code

Environment

OS: Win 10, 7

Settings

Example:

{
    "indent_size": 2,
    "indent_char": " ",
    "eol": "\n",
    "indent_level": 0,
    "indent_with_tabs": false,
    "preserve_newlines": true,
    "max_preserve_newlines": 0,
    "jslint_happy": false,
    "space_after_anon_function": false,
    "brace_style": "collapse",
    "keep_array_indentation": false,
    "keep_function_indentation": false,
    "space_before_conditional": true,
    "break_chained_methods": false,
    "eval_code": false,
    "unescape_strings": false,
    "wrap_line_length": 0,
    "wrap_attributes": "auto",
    "wrap_attributes_indent_size": 4,
    "end_with_newline": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants