Skip to content

Using HTML inside Popovers #183

@re1naldo

Description

@re1naldo

How do you render HTML content inside popover? I tried something like:

TbHtml::popover('<i class="icon-question-sign bigger-150"></i>', false, 'Products: <br> Services:', array('html'=>true));

but it didn't work. The rendered HTML was:

<a rel="popover" data-content="Products: &lt;br&gt; Services:" data-toggle="popover" title="" data-html="true" href="#">

Is it possible to render something like:

<a rel="popover" data-content="Products: <br> Services:" data-toggle="popover" title="" data-html="true" href="#">

Or maybe setting html attribute for popover?

$('.popover-with-html').popover({ html : true });

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions