Ответ 1
Вам нужно передать опцию html: true
при инициализации popover. Затем <br />
и другие html-теги должны работать:
$(".foo").hover(function () {
$(this).popover({
title: "Bar",
content: "Line 1 <br /> Line 2 <br /> Line 3",
html: true
}).popover('show');
}, function () {
$(this).popover('hide');
});
https://groups.google.com/forum/?fromgroups=#!topic/twitter-bootstrap/bhtpERLYCo4