atomiks / tippyjs

Tooltip, popover, dropdown, and menu library

Home Page:https://atomiks.github.io/tippyjs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`content` doesn't render HTML, renders text instead

hirasso opened this issue · comments

Bug description

When using tippy's content option like this:

tippy(el, {
	content: 'look at me, <strong>I'm strong</strong>'
});

Tippy will render the HTML string as a string instead of HTML:

image

Reproduction

CodePen link: https://codepen.io/atomiks/pen/yvwQyZ

Damnit, I was browsing the old docs 😄 ...allowHTML: true did the trick.