I have an angular variable myAngularVariable="some<br>HTML text
" and a div
<div [innerHTML]="myAngularVariable" title="{{myAngularVariable}}"></div>
This way, inside the div I get the HTML of the variable interpreted, i.e. inside the div the result shown is
some
HTML text
but when i hover to show the title tooltip I get "some<br>HTML text
".
There is a way to show on hover the HTML text interpreted?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…