summaryrefslogtreecommitdiffstats
path: root/src/htmldocvisitor.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-07-07 12:47:33 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-07-07 12:47:33 (GMT)
commitb4e535197890521306d30e0713ca8b88a98f7bf7 (patch)
tree7c3470e8c80883bab3c1fffac2881721d5b76e7e /src/htmldocvisitor.cpp
parent21c4175dbc32b57165a6d7af3e8620700f044e7c (diff)
downloadDoxygen-b4e535197890521306d30e0713ca8b88a98f7bf7.zip
Doxygen-b4e535197890521306d30e0713ca8b88a98f7bf7.tar.gz
Doxygen-b4e535197890521306d30e0713ca8b88a98f7bf7.tar.bz2
Bug 667993 - HTML tags <u> and </u> not supported
Added underline possibility and strike through possibility for the different output formats insofar it is possible (other similar possibilities are not always possible for all output formats either).
Diffstat (limited to 'src/htmldocvisitor.cpp')
-rw-r--r--src/htmldocvisitor.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp
index 6a9c142..c3b9066 100644
--- a/src/htmldocvisitor.cpp
+++ b/src/htmldocvisitor.cpp
@@ -271,6 +271,12 @@ void HtmlDocVisitor::visit(DocStyleChange *s)
case DocStyleChange::Bold:
if (s->enable()) m_t << "<b" << htmlAttribsToString(s->attribs()) << ">"; else m_t << "</b>";
break;
+ case DocStyleChange::Strike:
+ if (s->enable()) m_t << "<strike" << htmlAttribsToString(s->attribs()) << ">"; else m_t << "</strike>";
+ break;
+ case DocStyleChange::Underline:
+ if (s->enable()) m_t << "<u" << htmlAttribsToString(s->attribs()) << ">"; else m_t << "</u>";
+ break;
case DocStyleChange::Italic:
if (s->enable()) m_t << "<em" << htmlAttribsToString(s->attribs()) << ">"; else m_t << "</em>";
break;