Skip to content

fix(html): preserve HTML entities#5119

Closed
ikatyang wants to merge 1 commit intoprettier:masterfrom
ikatyang:fix/html/preserve-html-entities
Closed

fix(html): preserve HTML entities#5119
ikatyang wants to merge 1 commit intoprettier:masterfrom
ikatyang:fix/html/preserve-html-entities

Conversation

@ikatyang
Copy link
Copy Markdown
Member

@ikatyang ikatyang commented Sep 19, 2018

switch to @starptech/prettyhtml-parse (a fork of parse5) for preserveHTMLEntities


Prettier pr-5119
Playground link

--parser parse5

Input:

"

Output:

"

  • 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)
  • I’ve read the contributing guidelines.

This was referenced Sep 19, 2018
@ikatyang ikatyang deleted the fix/html/preserve-html-entities branch September 22, 2018 13:53
@lipis lipis added this to the 1.15 milestone Oct 26, 2018
@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jan 24, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants