We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b0318b commit 4205615Copy full SHA for 4205615
.changeset/legal-lemons-jump.md
@@ -0,0 +1,5 @@
1
+---
2
+"@react-email/render": minor
3
4
+
5
+disable wordwrap in `toPlainText` by default
packages/render/src/shared/utils/to-plain-text.ts
@@ -16,6 +16,7 @@ export const plainTextSelectors: SelectorDefinition[] = [
16
export function toPlainText(html: string, options?: HtmlToTextOptions) {
17
return convert(html, {
18
selectors: plainTextSelectors,
19
+ wordwrap: false,
20
...options,
21
});
22
}
0 commit comments