From 1525b66e12ed8dba34e12786500422a74387cd29 Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 16 Nov 2020 14:52:28 +0100 Subject: 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 `
` tag is not allowed as child of a `

` 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 `` tag instead of the `

` tag. --- src/htmldocvisitor.cpp | 2 +- templates/html/doxygen.css | 2 +- 2 files changed, 2 insertions(+), 2 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 << "
"<"; + m_t << ""<"; } else { diff --git a/templates/html/doxygen.css b/templates/html/doxygen.css index 0b09da4..d54f714 100644 --- a/templates/html/doxygen.css +++ b/templates/html/doxygen.css @@ -1426,7 +1426,7 @@ div.toc li.level4 { margin-left: 45px; } -div.emoji { +span.emoji { /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; */ -- cgit v0.12