summary refs log tree commit diff
path: root/src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r--src/Utils.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp

index 8c02b1c2..d458dbcc 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp
@@ -40,9 +40,8 @@ utils::replaceEmoji(const QString &body) for (auto &code : utf32_string) { // TODO: Be more precise here. if (code > 9000) - fmtBody += - QString("<span style=\"font-family: " + userFontFamily + ";\">") + - QString::fromUcs4(&code, 1) + "</span>"; + fmtBody += QString("<font face=\"" + userFontFamily + "\">") + + QString::fromUcs4(&code, 1) + "</font>"; else fmtBody += QString::fromUcs4(&code, 1); }