From 447b5ad54af5f58e401bd95a06020e1b8a4a1ffc Mon Sep 17 00:00:00 2001 From: Roberto Santalla Date: Tue, 8 Oct 2019 16:40:09 +0200 Subject: [PATCH] Add support for strikethrough styling --- 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 f936ed4f..807d94e3 100644 --- a/main/src/ui/util/helper.vala +++ b/main/src/ui/util/helper.vala @@ -361,8 +361,8 @@ public static string parse_add_markup(string s_, string? highlight_word, bool pa assert_not_reached(); } - string[] markup_string = new string[]{"`", "_", "*"}; - string[] convenience_tag = new string[]{"tt", "i", "b"}; + string[] markup_string = new string[]{"`", "_", "*", "~"}; + string[] convenience_tag = new string[]{"tt", "i", "b", "s"}; for (int i = 0; i < markup_string.length; i++) { string markup_esc = Regex.escape_string(markup_string[i]);