I developed a website using Bootstrap 4 + jquery. I require HTML-styled tooltips, however for some reason the tooltips are populated using the jquery text() and not html(), thus displaying the html as text. I believe my code is correct so no sure what the issue is. Below is an example of a table cell where a tooltip is required. I put in some dummy HTML code in order to check if it works:
<td measureid="3454" data-toggle="tooltip" data-html="true" contenteditable="true" title="<i>3</i><b>6</b>">15</td>
Following the JScode to enable tooltips:
$('[data-toggle="tooltip"]').tooltip({html:true});
Unfortunately the tooltips show the HTML as text. I checked if Bootstrap is actually affecting the tooltip and the tooltip appearance changing when not activating the tooltip using the above JS code.
Any idea what the issue might be?