diff --git a/src/lib/converter/plugins/GitHubPlugin.ts b/src/lib/converter/plugins/GitHubPlugin.ts index fae1646f5..21a29afa7 100644 --- a/src/lib/converter/plugins/GitHubPlugin.ts +++ b/src/lib/converter/plugins/GitHubPlugin.ts @@ -58,7 +58,7 @@ export class Repository { ShellJS.pushd(path); for (let i = 0, c = repoLinks.length; i < c; i++) { - const url = /(github(?:\.[a-z]+)*\.com)[:/]([^/]+)\/(.*)/.exec( + const url = /(github(?:\.[a-z]+)*\.[a-z]{2,})[:/]([^/]+)\/(.*)/.exec( repoLinks[i] );