mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-02-04 11:04:29 +00:00
patch from kseistrup fixes #1
This commit is contained in:
parent
35822222a3
commit
3835549c20
@ -159,6 +159,10 @@ function htmlFormatMsg( msg, output, mentions ) {
|
||||
}
|
||||
|
||||
var httpindex = msg.indexOf("http://");
|
||||
var httpsindex = msg.indexOf("https://");
|
||||
if (httpsindex != -1) {
|
||||
httpindex = httpsindex;
|
||||
}
|
||||
if( httpindex != -1 ) {
|
||||
output.append(msg.substr(0, httpindex));
|
||||
tmp = msg.substring(httpindex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user