diff options
Diffstat (limited to 'src/textdocvisitor.cpp')
-rw-r--r-- | src/textdocvisitor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/textdocvisitor.cpp b/src/textdocvisitor.cpp index 1761d12..8749a15 100644 --- a/src/textdocvisitor.cpp +++ b/src/textdocvisitor.cpp @@ -20,19 +20,20 @@ #include "textdocvisitor.h" #include "message.h" #include "util.h" +#include "htmlentity.h" //------------------------------------------------------------------------- void TextDocVisitor::visit(DocSymbol *s) { - const char *res = get_symbol_text(s->symbol()); + const char *res = HtmlEntityMapper::instance()->html(s->symbol()); if (res) { m_t << res; } else { - err("text: non supported HTML-entity found: &%s;\n",get_symbol_item(s->symbol())); + err("text: non supported HTML-entity found: %s\n",HtmlEntityMapper::instance()->html(s->symbol())); } } |