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

Additional modes on wrap-attributes #1596

Closed
oktamapangestu opened this issue Dec 5, 2018 · 1 comment
Closed

Additional modes on wrap-attributes #1596

oktamapangestu opened this issue Dec 5, 2018 · 1 comment

Comments

@oktamapangestu
Copy link

oktamapangestu commented Dec 5, 2018

Description

I want a small amount of additional ability, this is related to the style guide that our Team uses. The problem is in wrap-attributes.
You can see like the code example below.

NOTE:

  • Do not include screenshots! This library is a text processor, we need text inputs and outputs for debugging and fixing issues.
  • Check the list of open issues before filing a new issue.

Input

With this new feature, when I give like this input:

<img
  src="https://vuejs.org/images/logo.png"
  alt="Vue Logo"
>

Expected Output

I'd like to see this output:

<img
  src="https://vuejs.org/images/logo.png"
  alt="Vue Logo">

Environment

OS:

@bitwiseman
Copy link
Member

Given that input, use the setting wrap_attributes: preserve, and it will produce the output you want.

Also See #1404. let's make sure this is covered by that proposal.

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