diff options
author | ahoogol <ahoogol@gmail.com> | 2017-09-02 08:18:35 (GMT) |
---|---|---|
committer | ahoogol <ahoogol@gmail.com> | 2017-09-02 08:18:35 (GMT) |
commit | 08be7a8ef12518736b2530504a28904eec3e47ab (patch) | |
tree | 5e5327556502bf477bcc67e6498731380d2e60e8 /src | |
parent | 1245145d6710abbb58057dc555fccac08ac8a3fa (diff) | |
download | Doxygen-08be7a8ef12518736b2530504a28904eec3e47ab.zip Doxygen-08be7a8ef12518736b2530504a28904eec3e47ab.tar.gz Doxygen-08be7a8ef12518736b2530504a28904eec3e47ab.tar.bz2 |
+ Added: support RTL for DocXRefItem in html
- Removed: support RTL form Return section in html, for consistency with parameter sections
Diffstat (limited to 'src')
-rw-r--r-- | src/htmldocvisitor.cpp | 9 |
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() << "\">"; } |