react-email
react-email copied to clipboard
Plain export issue when Link children are just images
Plain export generates links stuck together when children are just images.
export default function Email() {
return (
<>
<Link href="http://www.google.com">
<Img src={`/static/google.jpg`} alt={`Go to google`} width="30px" />
</Link>
<Link href="http://www.bing.com">
<Img src={`/static/google.jpg`} alt={`Go to bing`} width="30px" />
</Link>
</>
);
Result:
http://www.google.comhttp://www.bing.com
It worked fine for me. I pasted the same code and it gave output as expected. Can you tell me more about how to reproduce it?
Closing this as stale. If anyone still has this, let me know with a proper reproduction and I'll reopen.