diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-01-25 21:11:43 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-01-25 21:11:43 (GMT) |
commit | c7d553e78d5c3efdecb3f44a63f4f68e83eae61a (patch) | |
tree | 5e3ff29c80e73d69c88e8b33d670753c31eed4b2 /src/docparser.cpp | |
parent | ee63f0e064142addc300e0411b141d2697b73500 (diff) | |
download | Doxygen-c7d553e78d5c3efdecb3f44a63f4f68e83eae61a.zip Doxygen-c7d553e78d5c3efdecb3f44a63f4f68e83eae61a.tar.gz Doxygen-c7d553e78d5c3efdecb3f44a63f4f68e83eae61a.tar.bz2 |
Release-1.3.5-20040125
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 8bc853e..80bea8d 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -699,7 +699,8 @@ static void handleLinkedWord(DocNode *parent,QList<DocNode> &children) Definition *compound=0; MemberDef *member=0; QString name = linkToText(g_token->name,TRUE); - if (resolveRef(g_context,g_token->name,g_inSeeBlock,&compound,&member)) + if (!g_insideHtmlLink && + resolveRef(g_context,g_token->name,g_inSeeBlock,&compound,&member)) { //printf("resolveRef %s = %p (linkable?=%d)\n",g_token->name.data(),member,member->isLinkable()); if (member) // member link @@ -3998,7 +3999,11 @@ int DocPara::handleHtmlStartTag(const QString &tagName,const HtmlAttribList &tag } else if (opt->name=="href") // <a href=url>..</a> tag { - DocHRef *href = new DocHRef(this,opt->value); + // copy attributes + HtmlAttribList attrList = tagHtmlAttribs; + // and remove the href attribute + attrList.remove(opt); + DocHRef *href = new DocHRef(this,attrList,opt->value); m_children.append(href); g_insideHtmlLink=TRUE; retval = href->parse(); |