Skip to content

Commit

Permalink
Fix reading mode links.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Chan committed Jan 29, 2022
1 parent f3782cd commit 844f840
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default class Linkify extends Plugin {
if (m != null) {
return {
match: m,
link: text.replace(regexp, rule.link),
link: m[0].replace(regexp, rule.link),
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "linkify",
"name": "Linkify",
"version": "1.0.6",
"version": "1.0.7",
"minAppVersion": "0.13.0",
"description": "Turns text into links.",
"author": "matthewhchan",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkify",
"version": "1.0.6",
"version": "1.0.7",
"description": "Turns strings into links.",
"main": "main.js",
"scripts": {
Expand Down

0 comments on commit 844f840

Please sign in to comment.