Skip to content

Commit

Permalink
Issue #8734 @note with @parblock within a table data cell breaks the …
Browse files Browse the repository at this point in the history
…HTML output

A `\endparblock` should not end a table cell but be handled just like a normal end of a paragraph.
  • Loading branch information
albert-github committed Aug 26, 2021
1 parent 0599b19 commit f3a3962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docparser.cpp
Expand Up @@ -3281,7 +3281,7 @@ int DocHtmlCell::parse()
if (retval==TK_HTMLTAG)
{
int tagId=Mappers::htmlTagMapper->map(m_parser.context.token->name);
if (tagId==HTML_TD && m_parser.context.token->endTag) // found </dt> tag
if (tagId==HTML_TD && m_parser.context.token->endTag) // found </td> tag
{
retval=TK_NEWPARA; // ignore the tag
}
Expand All @@ -3291,7 +3291,7 @@ int DocHtmlCell::parse()
}
}
}
while (retval==TK_NEWPARA);
while ((retval==TK_NEWPARA) || (retval==RetVal_EndParBlock));
if (par) par->markLast();

DBG(("DocHtmlCell::parse() end\n"));
Expand Down

0 comments on commit f3a3962

Please sign in to comment.