summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-08-08 14:39:52 (GMT)
committerGitHub <noreply@github.com>2018-08-08 14:39:52 (GMT)
commit69829b043fb36a56d194dc31522b694379636855 (patch)
tree8a612c94543972c54ec113dddb24f2d3836dd590 /src
parentfeddcc9a67d247cdde28cf9fb324900fefe96b2a (diff)
parent6c80429e303c89a9cba83569d65d118f8d48f97c (diff)
downloadDoxygen-69829b043fb36a56d194dc31522b694379636855.zip
Doxygen-69829b043fb36a56d194dc31522b694379636855.tar.gz
Doxygen-69829b043fb36a56d194dc31522b694379636855.tar.bz2
Merge pull request #6426 from albert-github/feature/bug_137447
Bug 137447 - <a href> doesn't allow <img> as visible part?
Diffstat (limited to 'src')
-rw-r--r--src/docparser.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index 0cb4ea3..7e050b3 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -146,6 +146,9 @@ struct DocParserContext
static QStack<DocParserContext> g_parserStack;
//---------------------------------------------------------------------------
+static void handleImg(DocNode *parent,QList<DocNode> &children,const HtmlAttribList &tagHtmlAttribs);
+
+//---------------------------------------------------------------------------
static void docParserPushContext(bool saveParamInfo=TRUE)
{
//QCString indent;
@@ -1643,6 +1646,10 @@ reparsetoken:
handleStyleLeave(parent,children,DocStyleChange::Small,tokenName);
}
break;
+ case HTML_IMG:
+ if (!g_token->endTag)
+ handleImg(parent,children,g_token->attribs);
+ break;
default:
return FALSE;
break;