aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/util/helper.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-02-14 23:49:45 +0100
committerfiaxh <git@lightrise.org>2022-02-14 23:49:45 +0100
commit1309d7e2e42a1fdced3127c641f108fb72cc2fdd (patch)
treeffea9ad57fc0865e36cf5d4fadcc82d83f53c62e /main/src/ui/util/helper.vala
parent7b9e62b8dd83aaa0ee8dff6e6410d9e018ac6f0c (diff)
downloaddino-1309d7e2e42a1fdced3127c641f108fb72cc2fdd.tar.gz
dino-1309d7e2e42a1fdced3127c641f108fb72cc2fdd.zip
Fix quote formating to not (partially) expect a space after >
Diffstat (limited to 'main/src/ui/util/helper.vala')
-rw-r--r--main/src/ui/util/helper.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala
index 51f0cc9c..427c2d3a 100644
--- a/main/src/ui/util/helper.vala
+++ b/main/src/ui/util/helper.vala
@@ -259,7 +259,7 @@ public static string parse_add_markup_theme(string s_, string? highlight_word, b
theme_dependent = true;
quote_match_info.fetch_pos(0, out start, out end);
return parse_add_markup_theme(s[0:start], highlight_word, parse_links, parse_text_markup, parse_quotes, dark_theme, ref theme_dependent, already_escaped) +
- @"<span color='$dim_color'>$gt " + parse_add_markup_theme(s[start + gt.length + 1:end], highlight_word, parse_links, parse_text_markup, false, dark_theme, ref theme_dependent, already_escaped) + "</span>" +
+ @"<span color='$dim_color'>$gt" + parse_add_markup_theme(s[start + gt.length:end], highlight_word, parse_links, parse_text_markup, false, dark_theme, ref theme_dependent, already_escaped) + "</span>" +
parse_add_markup_theme(s[end:s.length], highlight_word, parse_links, parse_text_markup, parse_quotes, dark_theme, ref theme_dependent, already_escaped);
}
}