From eb5cc632bcd995af52b5a79f84bf2a6bad1a1ba0 Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 13 May 2021 15:37:45 +0200 Subject: Empty class definition. In e.g. the HTML output of the doxygen documentation, chapter about formulas we see: ```

``` this is a regressing due to commit: ``` Commit: bb89b8136ff835c8fbd9f313d58815c8f361dff9 [bb89b81] Date: Thursday, March 4, 2021 9:14:49 PM Refactoring: some cleanup and removed text direction logic ``` made test now so that no empty class can occur. --- src/htmldocvisitor.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp index e4ec0d6..cfc1b91 100644 --- a/src/htmldocvisitor.cpp +++ b/src/htmldocvisitor.cpp @@ -1266,7 +1266,12 @@ void HtmlDocVisitor::visitPre(DocPara *p) //printf(" needsTag=%d\n",needsTag); // write the paragraph tag (if needed) if (needsTag) - m_t << "

attribs()) << ">"; + { + if (strlen(contexts[t])) + m_t << "

attribs()) << ">"; + else + m_t << "

attribs()) << ">"; + } } void HtmlDocVisitor::visitPost(DocPara *p) -- cgit v0.12