diff --git a/screenshot.png b/screenshot.png index b00cd36..55b79f4 100644 Binary files a/screenshot.png and b/screenshot.png differ diff --git a/src/email/daringfireball/Summary.tsx b/src/email/daringfireball/Summary.tsx index 6e4031b..e10aba5 100644 --- a/src/email/daringfireball/Summary.tsx +++ b/src/email/daringfireball/Summary.tsx @@ -1,3 +1,4 @@ +import { Fragment } from 'react' import { parse } from 'node-html-parser' import { Text } from '@react-email/text' import { Link } from '@react-email/link' @@ -20,11 +21,15 @@ export default ({ content, href }: Props) => { {elements.map((element) => { switch (element.localName) { case 'p': - return {element.text} + return ( + + {element.text} + + ) case 'blockquote': const paragraphs = element.querySelectorAll('> p') return ( - <> + {paragraphs[0].text ?? ''} {blockquoteHasMore && ( @@ -33,7 +38,7 @@ export default ({ content, href }: Props) => { )} - + ) } })}