Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
Display layer's informations as rendered HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo-Duke committed Nov 7, 2023
1 parent ff6e9f0 commit 4fc6afc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,10 @@ const LayersTreeItemOptionsDesktop = ({
visible
title="Informations"
>
<p>{layer.content}</p>
<div
// eslint-disable-next-line react/no-danger
dangerouslySetInnerHTML={{ __html: layer.content }}
/>
</GenericPanel>
)}
</>
Expand Down

0 comments on commit 4fc6afc

Please sign in to comment.