I am using the Details component and it renders as expected when I feed the Summary subcomponent just a text:
Now to style parts of the text I tried DangerouslySetInnerHTML
as following:
html.Details([
html.Summary(DangerouslySetInnerHTML(
"An <b>important</b> undertaking"))
...
])
And it sort of works. Dash renders it likes this:
However, somehow a line breaks appears before the text. How can I get rid of the line break?