From cf8501ba30e26bbc02b42204acf5cff650b338f4 Mon Sep 17 00:00:00 2001 From: minils Date: Sat, 14 Aug 2021 20:19:57 +0200 Subject: [PATCH] Use opacity instead of hard coded color for formatting chars (#1000) --- main/src/ui/util/helper.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala index 17dfd334..07c81167 100644 --- a/main/src/ui/util/helper.vala +++ b/main/src/ui/util/helper.vala @@ -308,9 +308,9 @@ public static string parse_add_markup(string s_, string? highlight_word, bool pa int start, end; match_info.fetch_pos(2, out start, out end); return parse_add_markup(s[0:start-1], highlight_word, parse_links, parse_text_markup, already_escaped) + - "" + s[start-1:start] + "" + + "" + s[start-1:start] + "" + @"<$(convenience_tag[i])>" + s[start:end] + @"" + - "" + s[end:end+1] + "" + + "" + s[end:end+1] + "" + parse_add_markup(s[end+1:s.length], highlight_word, parse_links, parse_text_markup, already_escaped); } } catch (RegexError e) {