Fix: markdown dropped from quote replies

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-07-17 19:36:42 +02:00
parent c2d511bcd5
commit 448da6347a
2 changed files with 12 additions and 1 deletions

View File

@ -143,7 +143,7 @@ const QuotedStatus: React.FC<IQuotedStatus> = ({ status, onCancel, compose }) =>
{renderReplyMentions()}
<Text
className='break-words'
className='break-words status__content status__content--quote'
size='sm'
dangerouslySetInnerHTML={{ __html: status.contentHtml }}
/>

View File

@ -78,6 +78,17 @@
padding: 5px;
}
}
&--quote {
ul,
ol {
@apply pl-4;
}
blockquote {
@apply pl-2;
}
}
}
.status__content > ul,