diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2007-07-19 13:04:41 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2007-07-19 13:04:41 (GMT) |
commit | 29a8f144739c86ffad8db2f0c09de66bb641d2e2 (patch) | |
tree | 7c115c97f09109f537a6eb50b9baa3c0cd91d07d /src/textdocvisitor.cpp | |
parent | 01147699a7fb267e9d9247bdfb640f46e2164d3a (diff) | |
download | Doxygen-29a8f144739c86ffad8db2f0c09de66bb641d2e2.zip Doxygen-29a8f144739c86ffad8db2f0c09de66bb641d2e2.tar.gz Doxygen-29a8f144739c86ffad8db2f0c09de66bb641d2e2.tar.bz2 |
Release-1.5.2-20070719
Diffstat (limited to 'src/textdocvisitor.cpp')
-rw-r--r-- | src/textdocvisitor.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/textdocvisitor.cpp b/src/textdocvisitor.cpp index fe5573b..9e5cd21 100644 --- a/src/textdocvisitor.cpp +++ b/src/textdocvisitor.cpp @@ -71,8 +71,13 @@ void TextDocVisitor::filter(const char *str) c=*p++; switch(c) { - case '\n': m_t << " "; break; - default: m_t << c; + case '\n': m_t << " "; break; + case '"': m_t << """; break; + case '\'': m_t << "'"; break; + case '<': m_t << "<"; break; + case '>': m_t << ">"; break; + case '&': m_t << "&"; break; + default: m_t << c; } } } |