You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created attachment 208655
Doxygen input producing incorrectly nested lists.
As of 1.8.0, numbered/bulleted lists are not generated correctly in HTML output. All items beyond the first are nested an extra level deep. For example, the following input:
Note that yytext is missing the first whitespace of the first item, I guess it was consumed elsewhere.
I see, comparing the 1.8.0 source to 1.7.6, that a number of changes related to LISTITEM were made (most look like they relate to markdown support). I was unable to fix the problem, because I am not familiar enough with doxygen's grammar and with the changes that were made.
I was, however, able to make it parse lists correctly by using the doctokenizer.l from 1.7.6 with the rest of the 1.8.0 source. Of course, I don't know what other side-effects this has, but it does seem to be generating my documentation correctly, so it's the solution I will use for now until there is a proper patch.
On 2012-03-03 10:31:48 +0000, Dimitri van Heesch wrote:
Happens if the list is found at the beginning of a new paragraph and at an indenting level > 0. Can you test if the following patch fixes the problem?
--- doctokenizer.l.orig 2012-03-03 11:28:39.000000000 +0100
+++ doctokenizer.l 2012-03-03 11:28:52.000000000 +0100
@@ -684,7 +684,7 @@
}
else // found end of a paragraph
{
g_token->indent=computeIndent(yytext,(int)yyleng);
int i;
// put back the indentation (needed for list items)
for (i=0;i<g_token->indent;i++)
On 2012-03-04 02:47:31 +0000, Jason C wrote:
Thanks. I applied your patch to the 1.8.0 source available from the tarball on the web site (have not tried the latest from SVN), and ran it against the file I'm about to attach, and the output looks correct. It seems to have fixed the problem.
On 2012-03-04 02:48:46 +0000, Jason C wrote:
Created attachment 208933
Test input for Comment 4
On 2012-03-10 13:20:25 +0000, Dimitri van Heesch wrote:
*** Bug 671312 has been marked as a duplicate of this bug. ***
On 2012-03-17 15:53:38 +0000, Dimitri van Heesch wrote:
*** Bug 671710 has been marked as a duplicate of this bug. ***
On 2012-07-09 17:49:54 +0000, Dimitri van Heesch wrote:
Problem should be fixed in 1.8.1.1. Please reopen the bug report if you still see it.
The text was updated successfully, but these errors were encountered:
status RESOLVED severity major 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-02-29 04:30:17 +0000, Jason C wrote:
On 2012-02-29 05:04:33 +0000, Jason C wrote:
On 2012-02-29 18:32:08 +0000, Jason C wrote:
On 2012-03-03 10:31:48 +0000, Dimitri van Heesch wrote:
On 2012-03-04 02:47:31 +0000, Jason C wrote:
On 2012-03-04 02:48:46 +0000, Jason C wrote:
On 2012-03-10 13:20:25 +0000, Dimitri van Heesch wrote:
On 2012-03-17 15:53:38 +0000, Dimitri van Heesch wrote:
On 2012-07-09 17:49:54 +0000, Dimitri van Heesch wrote:
The text was updated successfully, but these errors were encountered: