doxypress icon indicating copy to clipboard operation
doxypress copied to clipboard

Broken section formatting

Open Sp3EdeR opened this issue 5 years ago • 3 comments
trafficstars

When creating sections or subsections (either with commands or Markdown), adding span-formatting into the section contents (such as <code>...</code> or Markdown backticks), the generated formatting tags are HTML-escaped (contain &lt; and &gt; entities).

This is a regression issue, it is not being reproduced in an old version. As far as I had time to debug it, the parser seems to generate "Sym_Less" tokens within the sections. I did not find why yet.

Sp3EdeR avatar Nov 28 '19 16:11 Sp3EdeR

Thanks for reporting this. Can you provide a little more information about the exact input you are using? There are multiple different code paths for the parsing, and knowing the precise input syntax is important to trace this down.

agserm avatar Nov 29 '19 07:11 agserm

.dox

/** \page some_id Some Title

# Section `with code span` #
content

\subsection mysectionid <code>with code span</code>
content

*/

some_id html

.md:

Some Other Title {#some_other_id}
================

# Section `with code span`
content

\subsection mysectionid2 <code>with code span</code>
content

some_other_id html

Sp3EdeR avatar Nov 29 '19 08:11 Sp3EdeR

(note: while there I think it would be a good idea to update Markdown's to for modernization's sake)

Sp3EdeR avatar Nov 29 '19 08:11 Sp3EdeR