summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-01-06 11:47:52 (GMT)
committerGitHub <noreply@github.com>2018-01-06 11:47:52 (GMT)
commit60f0b620a6e6079c5942fb649a17b89553b6f28b (patch)
treead643111ec2a41adff569393cc843ed462ebe059 /src
parent34d5d0da43f116cd09f1f6b2fab001e5c39549c3 (diff)
parent08be7a8ef12518736b2530504a28904eec3e47ab (diff)
downloadDoxygen-60f0b620a6e6079c5942fb649a17b89553b6f28b.zip
Doxygen-60f0b620a6e6079c5942fb649a17b89553b6f28b.tar.gz
Doxygen-60f0b620a6e6079c5942fb649a17b89553b6f28b.tar.bz2
Merge pull request #636 from ahoogol/master
-Fixed: some of remained work to support RTL in HTML output
Diffstat (limited to 'src')
-rw-r--r--src/htmldocvisitor.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp
index 7404a4d..8b6d26c 100644
--- a/src/htmldocvisitor.cpp
+++ b/src/htmldocvisitor.cpp
@@ -1144,8 +1144,10 @@ void HtmlDocVisitor::visitPre(DocSimpleSect *s)
{
if (m_hide) return;
forceEndParagraph(s);
- m_t << "<dl" << getDirHtmlClassOfNode(getTextDirByConfig(s), "section " + s->typeString())
- << "><dt>";
+ if (s->type() != DocSimpleSect::Return)
+ m_t << "<dl" << getDirHtmlClassOfNode(getTextDirByConfig(s), "section " + s->typeString()) << "><dt>";
+ else
+ m_t << "<dl class=\"section " << s->typeString() << "\"><dt>";
switch(s->type())
{
case DocSimpleSect::See:
@@ -1831,7 +1833,8 @@ void HtmlDocVisitor::visitPre(DocXRefItem *x)
bool anonymousEnum = x->file()=="@";
if (!anonymousEnum)
{
- m_t << "<dl class=\"" << x->key() << "\"><dt><b><a class=\"el\" href=\""
+ m_t << "<dl" << getDirHtmlClassOfNode(getTextDirByConfig(x), x->key())
+ << "><dt><b><a class=\"el\" href=\""
<< x->relPath() << x->file() << Doxygen::htmlFileExtension
<< "#" << x->anchor() << "\">";
}