Skip to content

Commit

Permalink
chore: apply automated updates
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Nov 26, 2024
1 parent 750a8b2 commit 6f95ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function link(
opts?: { title?: string; external?: boolean },
): string {
if (opts?.external) {
return `<a href="${url instanceof URL ? url.href : url}" title="${opts?.title ?? ''}" target="_blank">${text}</a>`;
return `<a href="${url instanceof URL ? url.href : url}" title="${opts?.title ?? ""}" target="_blank">${text}</a>`;
}

return `[${text || url}](${url || "#"}${opts?.title ? ` "${opts.title}"` : ""})`;
Expand Down

0 comments on commit 6f95ba4

Please sign in to comment.