resend / react-email

💌 Build and send emails using React
https://react.email
MIT License
12.57k stars 571 forks source link

Markdown component error "value.includes is not a function" after updating to latest version #1416

Open Hainesy opened 4 weeks ago

Hainesy commented 4 weeks ago

Describe the Bug

After upgrading from version 0.0.15 to 0.0.16 of @react-email/components, I now get this error thrown from the Markdown component.

image

Which package is affected (leave empty if unsure)

@react-email/components

Link to the code that reproduces this issue

N/A

To Reproduce

For me, simply using the ReactEmailMarkdown component with version 0.0.16 caused the problem.

Expected Behavior

Not throw an error.

What's your node version? (if relevant)

No response

gabrielmfern commented 4 weeks ago

I think this might be fixed on canary, can you try @react-email/components@0.0.17-canary.1?