Skip to content

Commit 55fadb0

Browse files
committed
Fix markdown query parameter.
1 parent 447b885 commit 55fadb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markdown/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ <h2>Table of Contents</h2>
299299
} else if (logicalHref.hostname == 'github.com') {
300300
const parts = /(?<org>[^/]+)\/(?<repo>[^/]+)\/blob\/(?<branch>[^/]+)\/(?<path>.*)/.exec(logicalHref.pathname);
301301
if (parts != null) {
302-
url.search = getMarkdownSearch(`=${parts.groups.org}/${parts.groups.repo}/${parts.groups.branch}/${parts.groups.path}`);
302+
url.search = getMarkdownSearch(`${parts.groups.org}/${parts.groups.repo}/${parts.groups.branch}/${parts.groups.path}`);
303303
a.href = url;
304304
}
305305
}

0 commit comments

Comments
 (0)