Skip to content

Commit

Permalink
Hotfix: Remove Parental Prefixes from link texts of { @link } Tags (#44)
Browse files Browse the repository at this point in the history
* Remove Parental Prefixes from link texts of { @link } Tags

* Remove console log

---------

Co-authored-by: Baz Utsahajit <[email protected]>
  • Loading branch information
bbazukun123 and bbazukun123 authored Dec 19, 2023
1 parent ab3ea97 commit 53d1012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/overrides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export function overrideLinkerPlugin()
{
return `<a href=${encodeURI(
this.queryCache.get(docPath) || ''
)}>${linkText}</a>`;
)}>${removeParentalPrefix(linkText)}</a>`;
}

if (isDataType(docPath))
Expand Down

0 comments on commit 53d1012

Please sign in to comment.