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

Last line of code block lost if it is only one character and there is no text afterward (Origin: bugzilla #723299) #5421

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.6 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2014-01-30 16:25:03 +0000, Gary Aish wrote:

Created attachment 267659
Document with examples of failing case and working cases.

In a markdown style indented code block, the last line of the code block is lost if it contains only one character and there is no text after the code block before the end of the page.

For example, this source:

/*!
\page test Test

Some text.

Line1
A

*/

Results in a page like this (note that the "A" is not in the output):

Test

Some text.

Line1

However, if you add an extra character to the last line, the last line of the code block is in the output. For example:

/*!
\page test1 Test1

Some text.

Line1
AB

*/

Results in a page like this:

Test1

Some text.

Line1
AB

Also, if there is some text after the code block, the last line of the code block is in the output. For example:

/*!
\page test2 Test2

Some text.

Line1
A

More text

*/

Results in a page like this:

Test2

Some text.

Line1
A

More text

On 2014-02-06 20:26:00 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2014-04-21 10:09:36 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.7. 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 (preferrably in the form of a self-contained example).

@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