Skip to content

[DO NOT MERGE] Do not add / to HTML void tags#8628

Draft
fisker wants to merge 1 commit intoprettier:mainfrom
fisker:html-void-tag
Draft

[DO NOT MERGE] Do not add / to HTML void tags#8628
fisker wants to merge 1 commit intoprettier:mainfrom
fisker:html-void-tag

Conversation

@fisker
Copy link
Copy Markdown
Member

@fisker fisker commented Jun 23, 2020

Experimental for #5246

Local test npx fisker/prettier#html-void-tag "**/*.html"

Note: void elements in <svg> should add /

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory)
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/pr-XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

@fisker
Copy link
Copy Markdown
Member Author

fisker commented Jun 23, 2020

Failed test is the same issue #8626

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