Skip to content

Commit

Permalink
fix: exclude ':' from the end of linkified text
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Oct 10, 2017
1 parent 03491f5 commit b4384fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion add-on/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "IPFS Companion",
"short_name": "IPFS Companion",
"version" : "2.0.12",
"version" : "2.0.13",

"description": "Browser extension that simplifies access to IPFS resources",
"homepage_url": "https://github.com/ipfs/ipfs-companion",
Expand Down
2 changes: 1 addition & 1 deletion add-on/src/lib/linkifyDOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
window.ipfsCompanionLinkifiedDOM = true
window.ipfsCompanionLinkifyValidationCache = new Map()

const urlRE = /(?:\s+|^)(\/ip(?:f|n)s\/|dweb:\/ip(?:f|n)s\/|ipns:\/\/|ipfs:\/\/)([^\s+"<>]+)/g
const urlRE = /(?:\s+|^)(\/ip(?:f|n)s\/|dweb:\/ip(?:f|n)s\/|ipns:\/\/|ipfs:\/\/)([^\s+"<>:]+)/g

// Chrome compatibility
// var browser = browser || chrome
Expand Down

0 comments on commit b4384fe

Please sign in to comment.