mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
add html option back to tooltip and popover to explicitly prevent XSS #3421
This commit is contained in:
12
docs/templates/pages/javascript.mustache
vendored
12
docs/templates/pages/javascript.mustache
vendored
@@ -693,6 +693,12 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
||||
<td>true</td>
|
||||
<td>{{_i}}apply a css fade transition to the tooltip{{/i}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{_i}}html{{/i}}</td>
|
||||
<td>{{_i}}boolean{{/i}}</td>
|
||||
<td>true</td>
|
||||
<td>{{_i}}Insert html into the tooltip. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.{{/i}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{_i}}placement{{/i}}</td>
|
||||
<td>{{_i}}string|function{{/i}}</td>
|
||||
@@ -796,6 +802,12 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
||||
<td>true</td>
|
||||
<td>{{_i}}apply a css fade transition to the tooltip{{/i}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{_i}}html{{/i}}</td>
|
||||
<td>{{_i}}boolean{{/i}}</td>
|
||||
<td>true</td>
|
||||
<td>{{_i}}Insert html into the popover. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.{{/i}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{_i}}placement{{/i}}</td>
|
||||
<td>{{_i}}string|function{{/i}}</td>
|
||||
|
||||
Reference in New Issue
Block a user