executablebooks / mdformat

CommonMark compliant Markdown formatter
https://mdformat.rtfd.io
MIT License
440 stars 46 forks source link

mdformat failure when EM SPACE character is present #353

Open nschloe opened 2 years ago

nschloe commented 2 years ago

Describe the bug

When running mdformat on

a

 
# A

("'```\\na\\n```\\n\\u2003\\n# A\\n'") I'm getting an error. Might be related to https://github.com/executablebooks/mdformat/issues/351.

Reproduce the bug

See above.

List your environment

No response