summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-04-26 10:40:31 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-04-26 10:40:31 (GMT)
commit7a0522fafde300f36c3d5264f46c1f70cf35b7b9 (patch)
tree0f8cbc0ceab8a0d5acdef01c9a8335119f21b2d6 /src
parentd797738db25a27f0ae8836350247033ba9c82996 (diff)
downloadDoxygen-7a0522fafde300f36c3d5264f46c1f70cf35b7b9.zip
Doxygen-7a0522fafde300f36c3d5264f46c1f70cf35b7b9.tar.gz
Doxygen-7a0522fafde300f36c3d5264f46c1f70cf35b7b9.tar.bz2
Bug 746417 - Nested list in C# XML comments closes outer list prematurely
Diffstat (limited to 'src')
-rw-r--r--src/docparser.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index 7944bf7..f4261ac 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: