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 5163b71 commit e08dfe8Copy full SHA for e08dfe8
apify-docs-theme/src/markdown.js
@@ -46,9 +46,10 @@ const linkifyUserTags = () => (tree) => {
46
const userTagRegex = /@([a-zA-Z0-9-]+)(\s|$)/g;
47
const match = userTagRegex.exec(node.value);
48
49
- if (!match) return;
50
-
51
const directParent = parents[parents.length - 1];
+
+ if (!match || directParent.type === 'link') return;
52
53
const nodeIndexInParent = directParent.children.findIndex((x) => x === node);
54
55
const username = match[1];
0 commit comments