Skip to content

Commit

Permalink
equivs could be empty
Browse files Browse the repository at this point in the history
  • Loading branch information
kapouer committed May 11, 2017
1 parent 74008d4 commit b2b5e4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/plugins.js
Expand Up @@ -188,7 +188,9 @@ exports.httpequivs = function httpequivs(page, settings, request, response) {
console.warn("express-dom got http-equiv Status with invalid value", status);
}
}
response.append(equivs);
if (Object.keys(equivs).length) {
response.append(equivs);
}
});
});
};
Expand Down

0 comments on commit b2b5e4b

Please sign in to comment.