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

fix pretty + disabled short tags formatting #2088

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jeetiss
Copy link

@jeetiss jeetiss commented Dec 4, 2024

I use disabled short tags as workaround for bug #1473

this creates problem with closing tag alignment (it always does't have any intent)

PR adds intent for closing tag without children

output before:

    <clipPath id="cp-rf8vUb">
      <path d="M132 0h293v40.5c0 80.91-65.59 146.5-146.5 146.5S132 121.41 132 40.5z">
</path>
    </clipPath>

output after:

    <clipPath id="cp-rf8vUb">
      <path d="M132 0h293v40.5c0 80.91-65.59 146.5-146.5 146.5S132 121.41 132 40.5z">
      </path>
    </clipPath>

@jeetiss jeetiss changed the title fix stringifier.js fix pretty + disabled short tags formatting Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant