resend / react-email

💌 Build and send emails using React

Home Page:https://react.email

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Href links are not rendered when using render(<Component />, { plainText: true })

mathsnunes opened this issue · comments

Describe the Bug

hi guys,

I'm testing how my emails look on plainText and the links are not rendering properly. The official examples are not working either.

If you look at the rendered version on the react-email server it looks fine, but if you render it on the email the content is not the same.

The official example in the react-email server looks fine

image

Rendering it as plain text in Gmail

image

image

Which package is affected (leave empty if unsure)

@react-email/render

Link to the code that reproduces this issue

render(<Component />, { plainText: true })

To Reproduce

Uses render passing the plainText: true option, example render(<Component />, { plainText: true })for

Expected Behavior

Render the href links as plain text.

What's your node version? (if relevant)

No response

+1