aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/util/helper.vala
diff options
context:
space:
mode:
authorRoberto Santalla <roobre@roobre.es>2019-10-08 16:40:09 +0200
committerfiaxh <git@lightrise.org>2020-02-21 19:05:46 +0100
commit447b5ad54af5f58e401bd95a06020e1b8a4a1ffc (patch)
tree70345fd7efea8eacc8cf5ffaca2d4b0b042cfc7a /main/src/ui/util/helper.vala
parent6f77283c2cf3906816fcb315e53fdb237acd9a3c (diff)
downloaddino-447b5ad54af5f58e401bd95a06020e1b8a4a1ffc.tar.gz
dino-447b5ad54af5f58e401bd95a06020e1b8a4a1ffc.zip
Add support for strikethrough styling
Diffstat (limited to 'main/src/ui/util/helper.vala')
-rw-r--r--main/src/ui/util/helper.vala4
1 files 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]);