Fix: markdown dropped from quote replies
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
c2d511bcd5
commit
448da6347a
|
@ -143,7 +143,7 @@ const QuotedStatus: React.FC<IQuotedStatus> = ({ status, onCancel, compose }) =>
|
||||||
{renderReplyMentions()}
|
{renderReplyMentions()}
|
||||||
|
|
||||||
<Text
|
<Text
|
||||||
className='break-words'
|
className='break-words status__content status__content--quote'
|
||||||
size='sm'
|
size='sm'
|
||||||
dangerouslySetInnerHTML={{ __html: status.contentHtml }}
|
dangerouslySetInnerHTML={{ __html: status.contentHtml }}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -78,6 +78,17 @@
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--quote {
|
||||||
|
ul,
|
||||||
|
ol {
|
||||||
|
@apply pl-4;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
@apply pl-2;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.status__content > ul,
|
.status__content > ul,
|
||||||
|
|
Loading…
Reference in New Issue