[MERGE]sync with trunk.

bzr revid: dka@tinyerp.com-20140328131834-1bhu74vaihxvp0sb
This commit is contained in:
Darshan Kalola (OpenERP)
2014-03-28 18:48:34 +05:30
5667 changed files with 14914 additions and 22732 deletions
+1 -1
View File
@@ -76,8 +76,8 @@ openerp.mail = function (session) {
*/
get_text2html: function (text) {
return text
.replace(/[\n\r]/g,'<br/>')
.replace(/((?:https?|ftp):\/\/[\S]+)/g,'<a href="$1">$1</a> ')
.replace(/[\n\r]/g,'<br/>')
},
/* Returns the complete domain with "&"