Merge pull request #342 from lorenzolewis/next

Quote `href` tag
This commit is contained in:
Tom Grey
2022-09-04 22:48:53 +01:00
committed by GitHub

View File

@@ -12,8 +12,8 @@ export function referenceMember(
}
if (props.name === referenced.name) {
return `Re-exports <a href=${context.urlTo(referenced)}>${referenced.name}</a>`;
return `Re-exports <a href="${context.urlTo(referenced)}">${referenced.name}</a>`;
}
return `Renames and re-exports <a href=${context.urlTo(referenced)}>${referenced.name}</a>`;
return `Renames and re-exports <a href="${context.urlTo(referenced)}">${referenced.name}</a>`;
}