From 3f17b05161885ab773984a735a4161493e846fb6 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 24 Jun 2023 13:40:42 +0200 Subject: Add brimstone orange text color in matrix on < --- src/plugins/Matrix.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 += ""; formatted_body_add_line(room, formatted_body, line_str, custom_emojis_copy); formatted_body += ""; + } else if(!is_inside_code_block && size > 0 && str[0] == '<') { + formatted_body += ""; + formatted_body_add_line(room, formatted_body, line_str, custom_emojis_copy); + formatted_body += ""; } else { if(is_inside_code_block) { formatted_body += line_str; -- cgit v1.2.3