Skip to content

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