fix comment paren
This commit is contained in:
parent
c5a76dec1c
commit
ee11838537
1 changed files with 2 additions and 2 deletions
|
@ -89,8 +89,8 @@ module.exports = React.createClass({
|
||||||
node.getAttribute("href").startsWith("https://")))
|
node.getAttribute("href").startsWith("https://")))
|
||||||
{
|
{
|
||||||
// as a random heuristic to avoid highlighting things like "foo.pl"
|
// as a random heuristic to avoid highlighting things like "foo.pl"
|
||||||
// we require the linked text to either include a / (either from http:// )
|
// 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
|
// 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.
|
// link, in which case we check the target text differs from the link value.
|
||||||
// TODO: make this configurable?
|
// TODO: make this configurable?
|
||||||
if (node.textContent.indexOf("/") > -1)
|
if (node.textContent.indexOf("/") > -1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue