From 7a0522fafde300f36c3d5264f46c1f70cf35b7b9 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sun, 26 Apr 2015 12:40:31 +0200 Subject: [PATCH] Bug 746417 - Nested list in C# XML comments closes outer list prematurely --- src/docparser.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/docparser.cpp b/src/docparser.cpp index 7944bf753ed..f4261ac7308 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -3664,7 +3664,8 @@ int DocHtmlTable::parseXml() DBG(("DocHtmlTable::parseXml() end\n")); DocNode *n=g_nodeStack.pop(); ASSERT(n==this); - return retval==RetVal_EndTable ? RetVal_OK : retval; + tagId=Mappers::htmlTagMapper->map(g_token->name); + return tagId==XML_LIST && g_token->endTag ? RetVal_OK : retval; } /** Helper class to compute the grid for an HTML style table */ @@ -6237,9 +6238,9 @@ int DocPara::handleHtmlEndTag(const QCString &tagName) case XML_REMARKS: case XML_PARA: case XML_VALUE: - case XML_LIST: case XML_EXAMPLE: case XML_PARAM: + case XML_LIST: case XML_TYPEPARAM: case XML_RETURNS: case XML_SEE: