Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,14 @@ function AuthorTitle({title}: {title: string}) {

function AuthorName({name, as}: {name: string; as: Props['as']}) {
if (!as) {
return <span className={styles.authorName}>{name}</span>;
return (
<span className={styles.authorName} translate="no">
{name}
</span>
);
} else {
return (
<Heading as={as} className={styles.authorName}>
<Heading as={as} className={styles.authorName} translate="no">
{name}
</Heading>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export default function Heading({as: As, id, ...props}: Props): ReactNode {
className="hash-link"
to={`#${id}`}
aria-label={anchorTitle}
title={anchorTitle}>
title={anchorTitle}
translate="no">
&#8203;
</Link>
</As>
Expand Down
Loading