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

Add wrap_attributes option #476

Closed
evenicoulddoit opened this issue Jun 12, 2014 · 4 comments
Closed

Add wrap_attributes option #476

evenicoulddoit opened this issue Jun 12, 2014 · 4 comments

Comments

@evenicoulddoit
Copy link

I'd really like to see a wrap_attribute option, which would respect the wrap_line_length option, and format an element which passes that line length like so:

<div id="foo" class="bar" title="zulu"
     title="hello world">
@whistler
Copy link

+1

1 similar comment
@PeterDaveHello
Copy link
Contributor

+1

@sankargorthi
Copy link

+1

Would also like to see this take an "always" option to wrap all attributes on new lines. Great for blaming.

@sankargorthi
Copy link

@evenicoulddoit I think this already works. The current wrap_line_length config param does exactly what you need. Is that not your experience?

@bitwiseman bitwiseman added this to the v1.5.5 milestone Feb 25, 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

5 participants