Skip to content

Commit

Permalink
Release v1.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Feb 27, 2023
1 parent 1233ddb commit 72f5865
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/node/plugins/url.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export const url = (value, link) => {
return `<a href="https://github.com/${(link || value).replace('github.com', '')}" target="_blank" rel="noopener noreferrer">${value} <ExternalLinkIcon /></a>`;
link = (link || value).replace('https://github.com/', '');
return `<a href="https://github.com/${link}" target="_blank" rel="noopener noreferrer">${value} <ExternalLinkIcon /></a>`;
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vuepress-plugin-github-linkify",
"version": "1.0.10",
"version": "1.0.11",
"description": "Fix display of GitHub links for Vuepress 2",
"author": {
"name": "Andrey Helldar",
Expand Down

0 comments on commit 72f5865

Please sign in to comment.