aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Matrix.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 7bee2ab..9dd4ec9 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -4154,6 +4154,10 @@ namespace QuickMedia {
formatted_body += "<font color=\"#789922\">";
formatted_body_add_line(room, formatted_body, line_str, custom_emojis_copy);
formatted_body += "</font>";
+ } else if(!is_inside_code_block && size > 0 && str[0] == '<') {
+ formatted_body += "<font color=\"#F6750B\">";
+ formatted_body_add_line(room, formatted_body, line_str, custom_emojis_copy);
+ formatted_body += "</font>";
} else {
if(is_inside_code_block) {
formatted_body += line_str;