diff --git a/src/tooltip/test/tooltip.spec.js b/src/tooltip/test/tooltip.spec.js index e392124adc..bfaaf1e7dd 100644 --- a/src/tooltip/test/tooltip.spec.js +++ b/src/tooltip/test/tooltip.spec.js @@ -363,6 +363,11 @@ describe( 'tooltipHtmlUnsafe', function() { elmScope = elm.scope(); })); + it( 'should render html properly', inject( function () { + elm.trigger( 'mouseenter' ); + expect( elmBody.find('.tooltip-inner').html() ).toBe( scope.html ); + })); + it( 'should show on mouseenter and hide on mouseleave', inject( function () { expect( elmScope.tt_isOpen ).toBe( false ); diff --git a/template/tooltip/tooltip-html-unsafe-popup.html b/template/tooltip/tooltip-html-unsafe-popup.html index 09a5bd506a..129016d9c1 100644 --- a/template/tooltip/tooltip-html-unsafe-popup.html +++ b/template/tooltip/tooltip-html-unsafe-popup.html @@ -1,4 +1,4 @@
-
+