summaryrefslogtreecommitdiffstats
path: root/src/latexdocvisitor.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-12-25 15:22:46 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2018-12-25 15:22:46 (GMT)
commit348a8cc72dd481fa9e65e6209946bfeef5716914 (patch)
tree4ac0fb4f369c6181683ca35a166e73b32bb6373d /src/latexdocvisitor.cpp
parent0591146bb406c8601c452f7a8a9e6e24823ce8d9 (diff)
downloadDoxygen-348a8cc72dd481fa9e65e6209946bfeef5716914.zip
Doxygen-348a8cc72dd481fa9e65e6209946bfeef5716914.tar.gz
Doxygen-348a8cc72dd481fa9e65e6209946bfeef5716914.tar.bz2
Fixed problems with emoji handling and added a test case for it
Diffstat (limited to 'src/latexdocvisitor.cpp')
-rw-r--r--src/latexdocvisitor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp
index 732cd49..5be3fc9 100644
--- a/src/latexdocvisitor.cpp
+++ b/src/latexdocvisitor.cpp
@@ -247,7 +247,9 @@ void LatexDocVisitor::visit(DocEmoji *s)
if (!emojiName.isEmpty())
{
QCString imageName=emojiName.mid(1,emojiName.length()-2); // strip : at start and end
- m_t << "\\doxygenemoji{" << emojiName << "}{" << imageName << "}";
+ m_t << "\\doxygenemoji{";
+ filter(emojiName);
+ m_t << "}{" << imageName << "}";
}
else
{