We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31e8bb9 commit d3b7857Copy full SHA for d3b7857
apify-docs-theme/src/markdown.js
@@ -49,7 +49,8 @@ function linkifyUserTags(tree) {
49
const match = userTagRegex.exec(child.value);
50
51
if (match) {
52
- const [_, username, ending] = match;
+ const username = match[1];
53
+ const ending = match[2] === ' ' ? ' ' : '';
54
const before = child.value.slice(0, match.index);
55
const after = child.value.slice(userTagRegex.lastIndex);
56
@@ -88,7 +89,7 @@ function prettifyPRLinks(tree) {
88
89
const match = prLinkRegex.exec(child.value);
90
91
- const [_, prNumber] = match;
92
+ const prNumber = match[1];
93
94
const after = child.value.slice(prLinkRegex.lastIndex);
95
0 commit comments