Specifically I want to create some SLDS tooltip content that includes HTML such as <br/>
in my JavaScript LWC controller.
There is aura:unescapedHtml and this answer Using unescape HTML in lightning web component - use lightning-formatted-rich-text
- but neither seem elegant to me.
Am I missing a better approach?
lightning-unescaped-html
or Angular's<div [innerHTML]=propertyHoldingHtml"></div>
.lwc:dom="manual"
, which would give you an element with more malleability?