mirror of
https://github.com/resend/react-email.git
synced 2026-09-14 14:18:02 +08:00
fix(shared): link duplication with render's plainText mode (#2458)
Co-authored-by: gabriel miranda <gabrielmfern@outlook.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@react-email/render": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
fix link duplication in plain text mode
|
||||||
@@ -9,7 +9,7 @@ export const plainTextSelectors: SelectorDefinition[] = [
|
|||||||
{ selector: '[data-skip-in-text=true]', format: 'skip' },
|
{ selector: '[data-skip-in-text=true]', format: 'skip' },
|
||||||
{
|
{
|
||||||
selector: 'a',
|
selector: 'a',
|
||||||
options: { linkBrackets: false },
|
options: { linkBrackets: false, hideLinkHrefIfSameAsText: true },
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user