summaryrefslogtreecommitdiffstats
path: root/src/docparser.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-05-30 19:35:30 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-05-30 19:35:30 (GMT)
commitad65c6e23de430b2c4f0ef732b95834c87a28c20 (patch)
tree3ef766a4fc3d6b5bf1987b9041d5046e2362c52e /src/docparser.cpp
parent44904635bc78fae2ce60fc942cc5b7cba9958a34 (diff)
downloadDoxygen-ad65c6e23de430b2c4f0ef732b95834c87a28c20.zip
Doxygen-ad65c6e23de430b2c4f0ef732b95834c87a28c20.tar.gz
Doxygen-ad65c6e23de430b2c4f0ef732b95834c87a28c20.tar.bz2
Release-1.4.3-20050530
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r--src/docparser.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index 99def6e..740eba6 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -555,7 +555,7 @@ static bool findDocsForMemberOrCompound(const char *commandName,
int funcStart=cmdArg.find('(');
if (funcStart==-1) funcStart=l;
- QString name=cmdArg.left(funcStart);
+ QString name=removeRedundantWhiteSpace(cmdArg.left(funcStart).latin1());
QString args=cmdArg.right(l-funcStart);
// try if the link is to a member
@@ -2684,6 +2684,18 @@ int DocHtmlCell::parse()
if (isFirst) { par->markFirst(); isFirst=FALSE; }
m_children.append(par);
retval=par->parse();
+ if (retval==TK_HTMLTAG)
+ {
+ int tagId=HtmlTagMapper::map(g_token->name);
+ if (tagId==HTML_TD && g_token->endTag) // found </dt> tag
+ {
+ retval=TK_NEWPARA; // ignore the tag
+ }
+ else if (tagId==HTML_TH && g_token->endTag) // found </th> tag
+ {
+ retval=TK_NEWPARA; // ignore the tag
+ }
+ }
}
while (retval==TK_NEWPARA);
if (par) par->markLast();