From 60d735fc7d9884f25f95359717af03b27903146c Mon Sep 17 00:00:00 2001 From: Marvin W Date: Thu, 9 Jan 2020 21:37:51 +0100 Subject: Add more non-trailing chars for urls --- main/src/ui/util/helper.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala index c332dcfb..0f0e6e7b 100644 --- a/main/src/ui/util/helper.vala +++ b/main/src/ui/util/helper.vala @@ -8,7 +8,7 @@ namespace Dino.Ui.Util { private static Regex URL_REGEX; private static Map MATCHING_CHARS; -private const unichar[] NON_TRAILING_CHARS = {'\'', '"', ',', '.', ';', '!', '?', '»', '”', '’', '`', '~', '‽'}; +private const unichar[] NON_TRAILING_CHARS = {'\'', '"', ',', '.', ';', '!', '?', '»', '”', '’', '`', '~', '‽', ':', '>', '*', '_'}; private const string[] ALLOWED_SCHEMAS = {"http", "https", "ftp", "ftps", "irc", "ircs", "xmpp", "mailto", "sms", "smsto", "mms", "tel", "geo", "openpgp4fpr", "im", "news", "nntp", "sip", "ssh", "bitcoin", "sftp", "magnet", "vnc"}; private const string[] tango_colors_light = {"FCE94F", "FCAF3E", "E9B96E", "8AE234", "729FCF", "AD7FA8", "EF2929"}; private const string[] tango_colors_medium = {"EDD400", "F57900", "C17D11", "73D216", "3465A4", "75507B", "CC0000"}; -- cgit v1.2.3-70-g09d2