Replies: 1 comment 2 replies
-
|
I don’t know why this is, but this behaviour seems to match commonmark. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found html-flow preserves white spaces at starts of lines in HTML quoted attribute values but html-text doesn't.
Why are they differ? If it's a bug, I'd like html-text to preserve such whitespaces.
Adding context, Prettier is trying to upgrade Markdown parser but the current behavior looks to change the format and it's hard to find workarounds. Prettier utilizes mdast-util-from-markdown and prints nodes' value for html nodes. With the latest micromark, such spaces are removed from formatted output.
Beta Was this translation helpful? Give feedback.
All reactions