fix missing src on autolinks

This commit is contained in:
k00b 2024-09-29 11:13:33 -05:00
parent 6f198fd1ca
commit bbdc37ffd4
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ export default memo(function Text ({ rel = UNKNOWN_LINK_REL, imgproxyUrls, child
item: Item,
footnote: Footnote,
headlink: ({ node, href, ...props }) => <Link href={href} {...props} />,
autolink: TextMediaOrLink,
autolink: ({ href, ...props }) => <TextMediaOrLink src={href} {...props} />,
a: ({ node, href, children, ...props }) => {
// if outlawed, render the link as text
if (outlawed) {