From de8a0e2f439dd997404490898b93031175d1b0db Mon Sep 17 00:00:00 2001 From: "Hallvord R. M. Steen" Date: Wed, 30 Sep 2015 16:16:13 +0200 Subject: [PATCH] Fixing coding standard issues --- lib/renderer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/renderer.js b/lib/renderer.js index 0bd4600..79249cc 100644 --- a/lib/renderer.js +++ b/lib/renderer.js @@ -134,8 +134,8 @@ function Renderer() { Renderer.prototype.renderAttrs = function renderAttrs(token, options) { var i, l, result; - if(('default_attributes' in options) && (token.tag in options.default_attributes)){ - token.attrs = (token.attrs||[]).concat(options.default_attributes[token.tag]); + if (('default_attributes' in options) && (token.tag in options.default_attributes)) { + token.attrs = (token.attrs || []).concat(options.default_attributes[token.tag]); } if (!token.attrs) { return ''; }