New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown backticks produce <code></code> instead of <tt></tt> (Origin: bugzilla #671709) #4615

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.8.0 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2012-03-09 11:05:45 +0000, macro@hotmail.com wrote:

Currently, backticks yield tags, which yield block-level formatting in the final HTML output:

Markdown: ...
Source HTML: ...
Final HTML:

...

The problem is, according to the documentation at http://www.stack.nl/~dimitri/doxygen/markdown.html#md_codespan backticks are supposed to yield inline formatting, not block formatting. That is, text between the backticks should not appear on a new line.

The solution is for the Markdown processor to yield instead of :

Markdown: ...
Source HTML: ...
Final HTML: ...

On 2012-03-09 21:34:23 +0000, Dimitri van Heesch wrote:

.. should not lead to a

 in the final output.
What you see is probably due to indenting >=4 spaces.

Can you please attach a self-contained example (source+config file in a tar or zip) that allows me to reproduce the problem?

On 2012-03-10 10:47:58 +0000, macro@hotmail.com wrote:

Created attachment 209377
Test source code

On 2012-03-10 10:48:29 +0000, macro@hotmail.com wrote:

Created attachment 209378
Test doxygen.config

On 2012-03-10 10:49:34 +0000, macro@hotmail.com wrote:

Created attachment 209379
Screenshot of results demonstrating bug

On 2012-03-10 10:51:14 +0000, macro@hotmail.com wrote:

Hi Dimitri,

Find attached a test.cs and doxygen.config that demonstrate the bug, plus a screenshot of the results they produce on my machine with doxygen 1.8.0.

Best,
Ron

On 2012-03-10 11:01:55 +0000, Dimitri van Heesch wrote:

Hi Marco,

Thanks for the example.

I now realize behaves differently for C# than it does for C++ (to make it compatible with other C# tools). As a result backticks indeed give the wrong results. I'll use instead as you suggested.

On 2012-03-10 13:18:07 +0000, Dimitri van Heesch wrote:

*** Bug 671771 has been marked as a duplicate of this bug. ***

On 2012-05-19 12:26:19 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.1. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment