You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-06-26 04:01:04 +03:00
fix comment paren
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user