5a0f7f5518
This is needed to escape any bad markup that is passed through user-entered data. Users can prevent their markup from being escaped by using a no-op `escapeMarkup` function. This closes https://github.com/select2/select2/issues/2990.
20 lines
670 B
HTML
20 lines
670 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="../vendor/qunit-1.14.0.css" type="text/css" />
|
|
<link rel="stylesheet" href="../../dist/css/select2.css" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture"></div>
|
|
|
|
<script src="../vendor/qunit-1.14.0.js" type="text/javascript"></script>
|
|
<script src="../../vendor/jquery-2.1.0.js" type="text/javascript"></script>
|
|
<script src="../../dist/js/select2.full.js" type="text/javascript"></script>
|
|
|
|
<script src="../helpers.js" type="text/javascript"></script>
|
|
|
|
<script src="escapeMarkup-tests.js" type="text/javascript"></script>
|
|
</body>
|
|
</html>
|