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

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

Open mathsnunes opened this issue 11 months ago • 1 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

mathsnunes avatar Mar 22 '24 14:03 mathsnunes

+1

otoniel-isidoro avatar Apr 02 '24 14:04 otoniel-isidoro