diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-02-21 12:36:45 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-02-21 12:36:45 (GMT) |
commit | cd19d7a220915d1f637e0a0a5b2d05d5750f5db0 (patch) | |
tree | a854db582634296d7f019de53e424561da555e5b /src/docparser.cpp | |
parent | e2eb1d33d197604c048fb035fd1b6ecbd6a7494a (diff) | |
download | Doxygen-cd19d7a220915d1f637e0a0a5b2d05d5750f5db0.zip Doxygen-cd19d7a220915d1f637e0a0a5b2d05d5750f5db0.tar.gz Doxygen-cd19d7a220915d1f637e0a0a5b2d05d5750f5db0.tar.bz2 |
Release-1.6.3
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 50e1b17..d0b8fb0 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -4929,8 +4929,11 @@ int DocPara::handleHtmlStartTag(const QString &tagName,const HtmlAttribList &tag DBG(("handleHtmlStartTag(%s,%d)\n",tagName.data(),tagHtmlAttribs.count())); int retval=RetVal_OK; int tagId = Mappers::htmlTagMapper->map(tagName); - if (g_token->emptyTag && !(tagId&XML_CmdMask) && tagId!=HTML_UNKNOWN) + if (g_token->emptyTag && !(tagId&XML_CmdMask) && + tagId!=HTML_UNKNOWN && tagId!=HTML_IMG && tagId!=HTML_BR) + { warn_doc_error(g_fileName,doctokenizerYYlineno,"Warning: HTML tags may not use the 'empty tag' XHTML syntax."); + } switch (tagId) { case HTML_UL: |