Merged in fix/SW-1048-table-ampersand (pull request #2579)
fix(SW-1048): handle & in table * fix(SW-1048): handle & in table Approved-by: Hrishikesh Vaipurkar
This commit is contained in:
@@ -28,6 +28,9 @@ export default function TableBlock({ data }: TableBlockProps) {
|
||||
accessorKey: col.id,
|
||||
header: col.header,
|
||||
size: col.width,
|
||||
cell: (info: any) => (
|
||||
<div dangerouslySetInnerHTML={{ __html: info.getValue() }} />
|
||||
),
|
||||
}))
|
||||
const hasHeader = columns.some((col) => col.header)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user