Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
003fcccc
Commit
003fcccc
authored
12 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
change tooltip/popover html default to false for xss safety net
parent
ebf94c53
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
docs/assets/js/bootstrap-tooltip.js
+1
-1
docs/assets/js/bootstrap-tooltip.js
docs/assets/js/bootstrap.js
+1
-1
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.min.js
+1
-1
docs/assets/js/bootstrap.min.js
js/bootstrap-tooltip.js
+1
-1
js/bootstrap-tooltip.js
js/tests/unit/bootstrap-tooltip.js
+2
-1
js/tests/unit/bootstrap-tooltip.js
with
6 additions
and
5 deletions
+6
-5
docs/assets/js/bootstrap-tooltip.js
+
1
-
1
View file @
003fcccc
...
...
@@ -269,7 +269,7 @@
,
trigger
:
'
hover
'
,
title
:
''
,
delay
:
0
,
html
:
tru
e
,
html
:
fals
e
}
}(
window
.
jQuery
);
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.js
+
1
-
1
View file @
003fcccc
...
...
@@ -1231,7 +1231,7 @@
,
trigger
:
'
hover
'
,
title
:
''
,
delay
:
0
,
html
:
tru
e
,
html
:
fals
e
}
}(
window
.
jQuery
);
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.min.js
+
1
-
1
View file @
003fcccc
This diff is collapsed.
Click to expand it.
js/bootstrap-tooltip.js
+
1
-
1
View file @
003fcccc
...
...
@@ -269,7 +269,7 @@
,
trigger
:
'
hover
'
,
title
:
''
,
delay
:
0
,
html
:
tru
e
,
html
:
fals
e
}
}(
window
.
jQuery
);
This diff is collapsed.
Click to expand it.
js/tests/unit/bootstrap-tooltip.js
+
2
-
1
View file @
003fcccc
...
...
@@ -37,10 +37,11 @@ $(function () {
tooltip
.
tooltip
(
'
hide
'
)
})
test
(
"
should
always
allow html entities
"
,
function
()
{
test
(
"
should allow html entities
"
,
function
()
{
$
.
support
.
transition
=
false
var
tooltip
=
$
(
'
<a href="#" rel="tooltip" title="<b>@fat</b>"></a>
'
)
.
appendTo
(
'
#qunit-fixture
'
)
.
tooltip
({
html
:
true
})
.
tooltip
(
'
show
'
)
ok
(
$
(
'
.tooltip b
'
).
length
,
'
b tag was inserted
'
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment