summaryrefslogtreecommitdiffstats
path: root/src/docbookvisitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/docbookvisitor.cpp')
-rw-r--r--src/docbookvisitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/docbookvisitor.cpp b/src/docbookvisitor.cpp
index f7fb10f..99df99c 100644
--- a/src/docbookvisitor.cpp
+++ b/src/docbookvisitor.cpp
@@ -182,14 +182,14 @@ void DocbookDocVisitor::visit(DocEmoji *s)
{
DB_VIS_C
if (m_hide) return;
- const char *res = EmojiEntityMapper::instance()->docbook(s->emoji());
+ const char *res = EmojiEntityMapper::instance()->unicode(s->index());
if (res)
{
m_t << res;
}
else
{
- err("DocBook: non supported Emoji-entity found: %s\n",EmojiEntityMapper::instance()->html(s->emoji()));
+ m_t << s->name();
}
}