sphinx-mdinclude icon indicating copy to clipboard operation
sphinx-mdinclude copied to clipboard

Including a README.md with links that contain `&`s, "translates them" to `&`

Open stdedos opened this issue 2 years ago • 3 comments

Description

With README.md of

# Title

[![CalVer v0.2.0+2022.09.1000][version_img]][version_url]

[version_img]: https://img.shields.io/static/v1.svg?label=CalVer&message=v0.2.0+2022.09.1000&color=blue
[version_url]: https://pypi.org/project/bumpver/

Url https://img.shields.io/static/v1.svg?label=CalVer&message=v0.2.0+2022.09.1000&color=blue is rendered as https://img.shields.io/static/v1.svg?label=CalVer&message=v0.2.0+2022.09.1000&color=blue, breaking linkage

Details

  • OS: debian/buster
  • Python version: 3.9
  • Project version: sphinx_mdinclude 0.5.2
  • Can you repro on main? N/A
  • Can you repro in a clean virtualenv? Yes (? - repro is done on CI)

stdedos avatar Sep 26 '22 07:09 stdedos