diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2007-07-19 13:04:41 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2007-07-19 13:04:41 (GMT) |
commit | 687fe7a1487c68f0c6b4ef7d169b23ff274ab9ca (patch) | |
tree | 7c115c97f09109f537a6eb50b9baa3c0cd91d07d /src/textdocvisitor.cpp | |
parent | 34ca582041237fd0b2c91b58afd2a39dc91cf0a8 (diff) | |
download | Doxygen-687fe7a1487c68f0c6b4ef7d169b23ff274ab9ca.zip Doxygen-687fe7a1487c68f0c6b4ef7d169b23ff274ab9ca.tar.gz Doxygen-687fe7a1487c68f0c6b4ef7d169b23ff274ab9ca.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; } } } |