summaryrefslogtreecommitdiffstats
path: root/src/htmldocvisitor.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-11-16 13:52:28 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-11-16 13:52:28 (GMT)
commit1525b66e12ed8dba34e12786500422a74387cd29 (patch)
tree78b9f9e929ee3100f77c59ac025208057e2ea00f /src/htmldocvisitor.cpp
parent88fa344260802ddbbc7e248c7b4ca9fe66877815 (diff)
downloadDoxygen-1525b66e12ed8dba34e12786500422a74387cd29.zip
Doxygen-1525b66e12ed8dba34e12786500422a74387cd29.tar.gz
Doxygen-1525b66e12ed8dba34e12786500422a74387cd29.tar.bz2
XHML: div tag not possible as part of a p tag.
With test 76 we get a number of messages like: ``` element p: validity error : Element div is not declared in p list of possible children ``` this is a regression on issue #8169 / pull request #8170. The `<div>` tag is not allowed as child of a `<p>` tag and furthermore in the output when a number of items should be on one line this is not the case anymore. This all can be corrected by means of using the `<span>` tag instead of the `<div>` tag.
Diffstat (limited to 'src/htmldocvisitor.cpp')
-rw-r--r--src/htmldocvisitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp
index f577acb..a60a291 100644
--- a/src/htmldocvisitor.cpp
+++ b/src/htmldocvisitor.cpp
@@ -338,7 +338,7 @@ void HtmlDocVisitor::visit(DocEmoji *s)
const char *res = EmojiEntityMapper::instance()->unicode(s->index());
if (res)
{
- m_t << "<div class=\"emoji\">"<<res<<"</div>";
+ m_t << "<span class=\"emoji\">"<<res<<"</span>";
}
else
{