summaryrefslogtreecommitdiffstats
path: root/src/htmldocvisitor.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-11-24 17:18:01 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-11-24 17:18:01 (GMT)
commitf923f26d602fd991577b7a6676d129bd1642f453 (patch)
tree6c52d3730be9a1fb53553757e131642e236978fc /src/htmldocvisitor.h
parent50879dd77d551cd62c5a6db2f3f322ae69b115b7 (diff)
downloadDoxygen-f923f26d602fd991577b7a6676d129bd1642f453.zip
Doxygen-f923f26d602fd991577b7a6676d129bd1642f453.tar.gz
Doxygen-f923f26d602fd991577b7a6676d129bd1642f453.tar.bz2
Incorrect number of start / end paragraph tags for xhtml with htmlonly
In case of `\htmlonly[block]` the a force closed paragraph is not always force opened again. Problem can be seen with the default doxygen test 20 (`[020_only.dox]: test the \*only and \*endonly commands`).
Diffstat (limited to 'src/htmldocvisitor.h')
-rw-r--r--src/htmldocvisitor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htmldocvisitor.h b/src/htmldocvisitor.h
index 7184f0f..2f57739 100644
--- a/src/htmldocvisitor.h
+++ b/src/htmldocvisitor.h
@@ -159,8 +159,8 @@ class HtmlDocVisitor : public DocVisitor
void pushEnabled();
void popEnabled();
- void forceEndParagraph(DocNode *n);
- void forceStartParagraph(DocNode *n);
+ bool forceEndParagraph(DocNode *n);
+ void forceStartParagraph(DocNode *n, bool forced = false);
//--------------------------------------
// state variables