Repository navigation
Replies: 2 comments 2 replies
|
await render(, { The reason it exists is that If this answers it, please mark it as the answer. |
|
One concrete migration difference is that const email = <p><a href="https://example.test/docs">Documentation</a></p>;
const options = {
plainText: true as const,
htmlToTextOptions: {
selectors: [{ selector: 'a', options: { ignoreHref: true } }],
},
};
const legacy = await render(email, options);
const experimental = await render(email, {
...options,
unstableTextConversion: true,
});The legacy output contains |
Uh oh!
There was an error while loading. Please reload this page.
what's the difference between using html-to-text vs the "in-house formatter"? what was the motivation for adding it?
react-email/packages/render/CHANGELOG.md
Line 13 in e0561e1
All reactions