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

Special characters (e.g. <) in an inline code block are rendered as &lt;

Open Demi-Lune opened this issue 8 months ago • 0 comments

Description

Characters in an inline code block are converted to html, but should be left untouched.

For example, with this README.md:

The function returns a `std::vector<int>&`

the output is:

The function returns a std::vector&lt;int&gt;&amp;.

If the code is in a triple-quote block, the rendering is as expected.

Details

  • OS: Linux
  • Python version: 3.12
  • Project version: 0.6.1 (pip installed)

Demi-Lune avatar Jun 28 '24 09:06 Demi-Lune