From fea9fb7a85df64c90d49253411111d6320dac57f Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Tue, 14 Oct 2014 20:51:27 +0200 Subject: [PATCH] Fix indentation --- src/plugins/irc-events/link.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/plugins/irc-events/link.js b/src/plugins/irc-events/link.js index bb606187..9fe103cf 100644 --- a/src/plugins/irc-events/link.js +++ b/src/plugins/irc-events/link.js @@ -64,10 +64,14 @@ function parse(msg, url, res, client) { var $ = cheerio.load(res.res.text); toggle.type = "link"; toggle.head = $("title").text(); - toggle.body = $('meta[name=description]').attr('content') || - $('meta[property="og:description"]').attr('content') || "No description found."; - toggle.thumb = $('meta[property="og:image"]').attr('content') || - $('meta[name="twitter:image:src"]').attr('content') || ""; + toggle.body = + $('meta[name=description]').attr('content') + || $('meta[property="og:description"]').attr('content') + || "No description found."; + toggle.thumb = + $('meta[property="og:image"]').attr('content') + || $('meta[name="twitter:image:src"]').attr('content') + || ""; break; case "image/png":