mirror of https://github.com/tootsuite/mastodon
Merge adjacent paragraphs in `EmbeddedStatusContent` to benefit from `-webkit-line-clamp`
parent
1f79147aa4
commit
a00b42c5a7
|
@ -87,7 +87,7 @@ export const EmbeddedStatusContent: React.FC<{
|
|||
className={className}
|
||||
ref={handleContentRef}
|
||||
lang={language}
|
||||
dangerouslySetInnerHTML={{ __html: content }}
|
||||
dangerouslySetInnerHTML={{ __html: content.replace(/<\/p><p>/g, '\n\n') }}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue