dprint / dprint-plugin-markdown

Markdown code formatting plugin for dprint.
MIT License
25 stars 9 forks source link

Formatter add leading space before links in <cite> #97

Closed iturdikulov closed 1 month ago

iturdikulov commented 8 months ago

Describe the bug

dprint-plugin-markdown version: 0.16.3 (dprint 0.45.0)

Input Code

hello world

- <cite>[test](test)</cite>
- <cite>test</cite>

Expected Output

hello world

- <cite>[test](test)</cite>
- <cite>test</cite>

Actual Output

hello world

- <cite> [test](test)</cite>
- <cite>test</cite>

Here diff:

from /home/inom/Wiki/test.md:
1 1| hello·world
  2|--·<cite>[test](test)</cite>
2  |+
3  |+-·<cite>·[test](test)</cite>
4 3| -·<cite>test</cite>
--
Formatted 1 file.

My config:

  "markdown": {
    "textWrap": "always",
  },