From ee11838537def7f152d252ce230904b045d24280 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 21 Apr 2016 17:19:24 +0100 Subject: [PATCH] fix comment paren --- src/components/views/messages/TextualBody.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/messages/TextualBody.js b/src/components/views/messages/TextualBody.js index 006bdf0951..c06ad67150 100644 --- a/src/components/views/messages/TextualBody.js +++ b/src/components/views/messages/TextualBody.js @@ -89,8 +89,8 @@ module.exports = React.createClass({ node.getAttribute("href").startsWith("https://"))) { // as a random heuristic to avoid highlighting things like "foo.pl" - // we require the linked text to either include a / (either from http:// ) - // or from a full foo.bar/baz style schemeless URL - or be a markdown-style + // we require the linked text to either include a / (either from http:// + // or from a full foo.bar/baz style schemeless URL) - or be a markdown-style // link, in which case we check the target text differs from the link value. // TODO: make this configurable? if (node.textContent.indexOf("/") > -1)