})
test('should allow html entities', function () {
- var $tooltip = $('<a href="#" rel="tooltip" title="<b>@fat</b>"/>')
+ var $tooltip = $('<a href="#" rel="tooltip" title="<b>@fat</b>"/>')
.appendTo('#qunit-fixture')
.bootstrapTooltip({ html: true })
})
$tooltip.bootstrapTooltip('show')
- equal($('.tooltip').children('.tooltip-inner').text(), 'Simple tooltip', 'title is set from title attribute while prefered over title option')
+ equal($('.tooltip').children('.tooltip-inner').text(), 'Simple tooltip', 'title is set from title attribute while preferred over title option')
$tooltip.bootstrapTooltip('hide')
equal($('.tooltip').length, 0, 'tooltip removed from dom')