dprint-plugin-markdown icon indicating copy to clipboard operation
dprint-plugin-markdown copied to clipboard

Formatter add leading space before links in <cite>

Open iturdikulov opened this issue 1 year ago • 0 comments

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",
  },

iturdikulov avatar Jan 18 '24 05:01 iturdikulov