Merge branch 'quotes-text-formatting' into 'develop'

Fix: markdown dropped from quote replies

Closes #1038

See merge request soapbox-pub/soapbox-fe!1641
This commit is contained in:
marcin mikołajczak 2022-07-17 17:48:24 +00:00
commit 7ef9686e92
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,