parse html description

pull/4845/head
aniket-engg 6 months ago committed by Aniket
parent b3a0a14237
commit fdf48b1250
  1. 3
      libs/remix-ui/run-tab/src/lib/components/solScanTable.tsx

@ -1,5 +1,6 @@
// eslint-disable-next-line no-use-before-define
import React from 'react'
import parse from 'html-react-parser';
interface SolScanTableProps {
scanDetails: Record<string, any>[]
@ -26,7 +27,7 @@ export function SolScanTable(props: SolScanTableProps) {
<td scope="col">{template.template_details.issue_id}</td>
<td scope="col">{template.template_details.issue_name}</td>
<td scope="col">{template.template_details.issue_severity}</td>
<td scope="col">{template.template_details.static_issue_description}</td>
<td scope="col">{parse(template.template_details.static_issue_description)}</td>
</tr>
)
})

Loading…
Cancel
Save