Created
September 30, 2013 15:33
-
-
Save cburgmer/6765572 to your computer and use it in GitHub Desktop.
Minimal test case for tooltip-html-unsafe issue in AngularUI Bootstrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html ng-app="minimalTestCase"> | |
<head> | |
<meta charset="UTF-8"> | |
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"/> | |
<!--script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js"></script--> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0-rc.2/angular.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.6.0/ui-bootstrap-tpls.js"></script> | |
<style> | |
div { | |
padding: 10px; | |
} | |
.tooltip { | |
top: 0 !important; | |
left: 0 !important; | |
} | |
</style> | |
</head> | |
<body> | |
<div tooltip-html-unsafe="YAY" tooltip-trigger="click">Check me out!</div> | |
<script> | |
angular.module("minimalTestCase", ['ui.bootstrap']); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment