Open OlofSvahnVbg opened 2 months ago
A quick fix that would allow for html code in LayerGroups information text field. As it is now this html code will not render properly in client:
We should add dangerouslySetInnerHTML={{ __html: infogrouptext }} to the Typography in LayerGroup component to be able to render html code like this:
dangerouslySetInnerHTML={{ __html: infogrouptext }}
Typography
LayerGroup
Good find and well observed! Something I completely forgot about from my recently merged PR. #1503
A quick fix that would allow for html code in LayerGroups information text field. As it is now this html code will not render properly in client:
We should add
dangerouslySetInnerHTML={{ __html: infogrouptext }}
to theTypography
inLayerGroup
component to be able to render html code like this: