react-email icon indicating copy to clipboard operation
react-email copied to clipboard

Plain export issue when Link children are just images

Open gustavopaes opened this issue 2 years ago • 1 comments

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

gustavopaes avatar Feb 22 '23 12:02 gustavopaes

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?

NiazMorshed2007 avatar Apr 01 '23 10:04 NiazMorshed2007

Closing this as stale. If anyone still has this, let me know with a proper reproduction and I'll reopen.

gabrielmfern avatar Jul 29 '24 19:07 gabrielmfern