diff options
Diffstat (limited to 'Swift/QtUI/MessageSnippet.cpp')
-rw-r--r-- | Swift/QtUI/MessageSnippet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/MessageSnippet.cpp b/Swift/QtUI/MessageSnippet.cpp index ebcc829..0159386 100644 --- a/Swift/QtUI/MessageSnippet.cpp +++ b/Swift/QtUI/MessageSnippet.cpp @@ -29,9 +29,9 @@ MessageSnippet::MessageSnippet(const QString& message, const QString& sender, co } } - content_.replace("%message%", escape(message)); + content_.replace("%message%", "<span class='swift_message'>" + escape(message) + "</span>"); content_.replace("%sender%", escape(sender)); - content_.replace("%time%", escape(time.toString("h:mm"))); + content_.replace("%time%", "<span class='swift_time'>" + escape(time.toString("h:mm")) + "</span>"); content_.replace("%userIconPath%", escape(iconURI)); } |