[tor-commits] [tor-messenger-build/master] Remove formatting for URLs in chat window (closes #13618)
sukhbir at torproject.org
sukhbir at torproject.org
Tue Nov 4 18:36:11 UTC 2014
commit 995cd3a1698368dd1ac1ca2b6b1f2817b2a6f4ad
Author: Sukhbir Singh <sukhbir at torproject.org>
Date: Wed Nov 5 00:06:06 2014 +0530
Remove formatting for URLs in chat window (closes #13618)
---
projects/instantbird/config | 1 +
projects/instantbird/links.patch | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+)
diff --git a/projects/instantbird/config b/projects/instantbird/config
index d9f25dc..35b476c 100644
--- a/projects/instantbird/config
+++ b/projects/instantbird/config
@@ -46,6 +46,7 @@ input_files:
- filename: xmpp.patch
- filename: facebook.patch
- filename: accountcreation.patch
+ - filename: links.patch
- filename: prepare-messages-for-displaying.patch
- filename: 'mozconfig-[% c("var/osname") %]'
name: mozconfig
diff --git a/projects/instantbird/links.patch b/projects/instantbird/links.patch
new file mode 100644
index 0000000..d90b0a7
--- /dev/null
+++ b/projects/instantbird/links.patch
@@ -0,0 +1,22 @@
+# HG changeset patch
+# User Sukhbir Singh <sukhbir at torproject.org>
+# Date 1415125946 -19800
+# Wed Nov 05 00:02:26 2014 +0530
+# Node ID fe384d60035532dd4b81248a345525359ea2f98f
+# Parent 947732f86131ec2882340344ba0c29cc9943de48
+Remove formatting for URLs in chat window
+
+diff --git a/chat/modules/imContentSink.jsm b/chat/modules/imContentSink.jsm
+--- a/chat/modules/imContentSink.jsm
++++ b/chat/modules/imContentSink.jsm
+@@ -58,10 +58,6 @@
+ attrs: { },
+
+ tags: {
+- 'a': {
+- 'title': true,
+- 'href': kAllowedURLs
+- },
+ 'br': true,
+ 'p': true
+ },
More information about the tor-commits
mailing list