最佳答案
如果我检查 正式文件,我可以看到一个称为 HTML 的属性:
Name | Type | default | Description
----------------------------------------------------------------------------
html | boolean | false | Insert html into the tooltip.
If false, jquery's text method
will be used to insert content
into the dom. Use text if you're
worried about XSS attacks.
它说,“将 html 插入到工具提示中”,但是类型是布尔型的。如何在工具提示中使用复杂的 html?