summaryrefslogtreecommitdiffstats
path: root/src/mandocvisitor.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/mandocvisitor.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/mandocvisitor.cpp')
-rw-r--r--src/mandocvisitor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mandocvisitor.cpp b/src/mandocvisitor.cpp
index 2233cc6..e09cc8e 100644
--- a/src/mandocvisitor.cpp
+++ b/src/mandocvisitor.cpp
@@ -120,6 +120,13 @@ void ManDocVisitor::visit(DocStyleChange *s)
if (s->enable()) m_t << "\\fB"; else m_t << "\\fP";
m_firstCol=FALSE;
break;
+ case DocStyleChange::Strike:
+ /* not supported */
+ break;
+ case DocStyleChange::Underline: //underline is shown as emphasis
+ if (s->enable()) m_t << "\\fI"; else m_t << "\\fP";
+ m_firstCol=FALSE;
+ break;
case DocStyleChange::Italic:
if (s->enable()) m_t << "\\fI"; else m_t << "\\fP";
m_firstCol=FALSE;