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

Extra newline inserted with wrap_attributes set to "force" #641

Closed
jawshooah opened this issue Mar 10, 2015 · 0 comments
Closed

Extra newline inserted with wrap_attributes set to "force" #641

jawshooah opened this issue Mar 10, 2015 · 0 comments

Comments

@jawshooah
Copy link

Config:

{
    "wrap_attributes": "force",
    "wrap_attributes_indent_size": 8,
    "wrap_line_length": 80
}

Input:

<link href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300&amp;subset=latin" rel="stylesheet" type="text/css">

Output:

<link href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300&amp;subset=latin"

        rel="stylesheet"
        type="text/css">

But with wrap_line_length set to 130, the length of the line with just the href attribute:

<link href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300&amp;subset=latin"
        rel="stylesheet"
        type="text/css">
@jawshooah jawshooah changed the title Extraneous newline inserted with wrap_attributes set to "force" Extra newline inserted with wrap_attributes set to "force" Mar 10, 2015
@bitwiseman bitwiseman added this to the v1.6.0 milestone Mar 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants