diff --git a/src/HtmlUtils.js b/src/HtmlUtils.js
index e1bd85a7bb..7a212b2497 100644
--- a/src/HtmlUtils.js
+++ b/src/HtmlUtils.js
@@ -451,8 +451,8 @@ export function bodyToHtml(content, highlights, opts={}) {
// now, so we just check for an HTTP-looking thing.
(
content.formatted_body == undefined ||
- !content.formatted_body.includes("http:") ||
- !content.formatted_body.includes("https:")
+ (!content.formatted_body.includes("http:") &&
+ !content.formatted_body.includes("https:"))
);
}