diff --git a/modules/link.js b/modules/link.js index 9d37459..8ac07a2 100644 --- a/modules/link.js +++ b/modules/link.js @@ -20,6 +20,7 @@ var link = function(dbot) { request(link, function (error, response, body) { if(!error && response.statusCode == 200) { + body = body.replace(/(\r\n|\n\r|\n)/gm, " "); var title = body.valMatch(/