Merge pull request #68 from openedx/aasad/TNL-9568

fix: display non-breaking space entity properly in post summary
This commit is contained in:
Abdurrahman Asad
2022-02-24 14:33:42 +05:00
committed by GitHub

View File

@@ -77,7 +77,8 @@ function PostLink({
/>
</div>
</div>
<div>{post.previewBody}</div>
{/* eslint-disable-next-line react/no-danger */}
<div dangerouslySetInnerHTML={{ __html: post.previewBody }} />
<PostFooter post={post} preview intl={intl} />
</div>
</div>