diff options
author | Roberto Santalla <roobre@roobre.es> | 2019-10-08 16:40:09 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-02-21 19:05:46 +0100 |
commit | 447b5ad54af5f58e401bd95a06020e1b8a4a1ffc (patch) | |
tree | 70345fd7efea8eacc8cf5ffaca2d4b0b042cfc7a /main/src/ui/util | |
parent | 6f77283c2cf3906816fcb315e53fdb237acd9a3c (diff) | |
download | dino-447b5ad54af5f58e401bd95a06020e1b8a4a1ffc.tar.gz dino-447b5ad54af5f58e401bd95a06020e1b8a4a1ffc.zip |
Add support for strikethrough styling
Diffstat (limited to 'main/src/ui/util')
-rw-r--r-- | main/src/ui/util/helper.vala | 4 |
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]); |