Skip to content

Commit d618249

Browse files
Adjusted code comments
1 parent 9659fb4 commit d618249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GitHubToCBuilder.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
const getHeaderText = headerLine => {
2222
return headerLine.replace(/#+\s+/, '')
23-
// Keep only link text
23+
// For link in header we keep text only (remove URL and brackets)
2424
.replace(/\[(.*?)\]\(.*?\)/g, '$1');
2525
}
2626

0 commit comments

Comments
 (0)