summaryrefslogtreecommitdiffstats
path: root/src/htmldocvisitor.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-02-21 12:36:45 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-02-21 12:36:45 (GMT)
commitcd19d7a220915d1f637e0a0a5b2d05d5750f5db0 (patch)
treea854db582634296d7f019de53e424561da555e5b /src/htmldocvisitor.cpp
parente2eb1d33d197604c048fb035fd1b6ecbd6a7494a (diff)
downloadDoxygen-cd19d7a220915d1f637e0a0a5b2d05d5750f5db0.zip
Doxygen-cd19d7a220915d1f637e0a0a5b2d05d5750f5db0.tar.gz
Doxygen-cd19d7a220915d1f637e0a0a5b2d05d5750f5db0.tar.bz2
Release-1.6.3
Diffstat (limited to 'src/htmldocvisitor.cpp')
-rw-r--r--src/htmldocvisitor.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp
index 0bd3620..194faa5 100644
--- a/src/htmldocvisitor.cpp
+++ b/src/htmldocvisitor.cpp
@@ -80,6 +80,8 @@ static bool mustBeOutsideParagraph(DocNode *n)
/* <h?> */
case DocNode::Kind_Section:
case DocNode::Kind_HtmlHeader:
+ /* \internal */
+ case DocNode::Kind_Internal:
/* <div> */
case DocNode::Kind_Verbatim:
case DocNode::Kind_Include:
@@ -705,6 +707,7 @@ void HtmlDocVisitor::visitPre(DocPara *p)
switch (p->parent()->kind())
{
case DocNode::Kind_Section:
+ case DocNode::Kind_Internal:
case DocNode::Kind_HtmlListItem:
case DocNode::Kind_HtmlDescData:
case DocNode::Kind_HtmlCell:
@@ -784,6 +787,7 @@ void HtmlDocVisitor::visitPost(DocPara *p)
switch (p->parent()->kind())
{
case DocNode::Kind_Section:
+ case DocNode::Kind_Internal:
case DocNode::Kind_HtmlListItem:
case DocNode::Kind_HtmlDescData:
case DocNode::Kind_HtmlCell:
@@ -1106,17 +1110,17 @@ void HtmlDocVisitor::visitPost(DocHtmlCaption *)
m_t << "</caption>\n";
}
-void HtmlDocVisitor::visitPre(DocInternal *)
+void HtmlDocVisitor::visitPre(DocInternal *i)
{
if (m_hide) return;
+ forceEndParagraph(i);
m_t << "<p><b>" << theTranslator->trForInternalUseOnly() << "</b></p>" << endl;
- m_t << "<p>" << endl;
}
-void HtmlDocVisitor::visitPost(DocInternal *)
+void HtmlDocVisitor::visitPost(DocInternal *i)
{
if (m_hide) return;
- m_t << "</p>" << endl;
+ forceStartParagraph(i);
}
void HtmlDocVisitor::visitPre(DocHRef *href)