mdformat icon indicating copy to clipboard operation
mdformat copied to clipboard

Alt text wrapped in grave marks is deleted

Open moshemoshe137 opened this issue 2 years ago • 3 comments

Describe the bug

Alt text wrapped in grave marks is deleted.

Reproduce the bug

For example, the word "Box" is removed by mdformat

-![Stack and heap with a `Box`](images/image-2.png) Now there is just a single array.
+![Stack and heap with a ](images/image-2.png) Now there is just a single array.

List your environment

Python 3.10 on Windows.

> pip list
Package              Version
-------------------- -------
linkify-it-py        2.0.2
markdown-it-py       2.2.0
mdformat             0.7.17
mdformat_footnote    0.1.1
mdformat_frontmatter 2.0.1
mdformat-gfm         0.3.5
mdformat_tables      0.4.1
mdit-py-plugins      0.3.5
mdurl                0.1.2
pip                  23.2.1
ruamel.yaml          0.17.32
ruamel.yaml.clib     0.2.7
setuptools           68.2.2
tomli                2.0.1
uc-micro-py          1.0.2

moshemoshe137 avatar Sep 14 '23 21:09 moshemoshe137

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Sep 14 '23 21:09 welcome[bot]

Thanks a lot! I can reproduce even without any mdformat plugins. This needs to be fixed.

hukkin avatar Jan 02 '24 12:01 hukkin