[evolution] EHTMLEditorView - Add ssh to known protocols
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EHTMLEditorView - Add ssh to known protocols
- Date: Fri, 7 Aug 2015 11:29:23 +0000 (UTC)
commit 99d7bf88c19334d79e60a67204b8e733b623b20a
Author: Tomas Popela <tpopela redhat com>
Date: Fri Aug 7 11:08:47 2015 +0200
EHTMLEditorView - Add ssh to known protocols
e-util/e-html-editor-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 392f2e5..1b6638e 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -36,7 +36,7 @@
((obj), E_TYPE_HTML_EDITOR_VIEW, EHTMLEditorViewPrivate))
/* stephenhay from https://mathiasbynens.be/demo/url-regex */
-#define URL_PROTOCOLS "news|telnet|nntp|file|https?|s?ftp||webcal|localhost"
+#define URL_PROTOCOLS "news|telnet|nntp|file|https?|s?ftp||webcal|localhost|ssh"
#define URL_PATTERN "((((" URL_PROTOCOLS ")\\:\\/\\/)|(www\\.|ftp\\.))[^\\s\\/\\$\\.\\?#].[^\\s]*)"
#define URL_PATTERN_SPACE URL_PATTERN "\\s"
/* Taken from camel-url-scanner.c */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]