mirror of https://gitee.com/answerdev/answer.git
Merge branch 'feat/ui-0.5.0' into 'test'
fix: comment rendered as html See merge request opensource/answer!273
This commit is contained in:
commit
cda8c0839f
|
@ -117,7 +117,9 @@ const Index: FC<Props> = ({ data, isAdmin, objectInfo, revisionList }) => {
|
|||
/>
|
||||
)}
|
||||
</td>
|
||||
<td>{data.comment}</td>
|
||||
<td>
|
||||
<div dangerouslySetInnerHTML={{ __html: data.comment }} />
|
||||
</td>
|
||||
</tr>
|
||||
<tr className={isOpen ? '' : 'd-none'}>
|
||||
{/* <td /> */}
|
||||
|
|
Loading…
Reference in New Issue