Skip to content

Commit

Permalink
Revert "Set values as html to table rows" (#49306)
Browse files Browse the repository at this point in the history
* Revert "Set values as html to table rows (#48911)"

This reverts commit 3fd9f91.

* Remove unrelated change from the revert
  • Loading branch information
Tim Roes authored Oct 25, 2019
1 parent 5accc3c commit 2ddbc9e
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,9 @@ export function DocViewTableRow({
)}
{displayUnderscoreWarning && <DocViewTableRowIconUnderscore />}
{displayNoMappingWarning && <DocViewTableRowIconNoMapping />}
<div
className={valueClassName}
data-test-subj={`tableDocViewRow-${field}-value`}
dangerouslySetInnerHTML={{ __html: value as string }}
/>
<div className={valueClassName} data-test-subj={`tableDocViewRow-${field}-value`}>
{value}
</div>
</td>
</tr>
);
Expand Down

0 comments on commit 2ddbc9e

Please sign in to comment.