Skip to content

Commit ad63aae

Browse files
committed
revert: feat: update escape to false
1 parent 11c7a2f commit ad63aae

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

docs/_i18n/en/documentation/events.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
---
44

5-
To use event syntax:
5+
To use event syntax:
6+
67
```js
78
$('#table').bootstrapTable({
89
onEventName: function (arg1, arg2, ...) {

docs/_i18n/en/documentation/table-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
278278
<td>escape</td>
279279
<td>data-escape</td>
280280
<td>Boolean</td>
281-
<td>true</td>
281+
<td>false</td>
282282
<td>Escapes a string for insertion into HTML,
283283
replacing <code>&</code>, <code><</code>, <code>></code>,
284284
<code>"</code>, <code>`</code>, and <code>'</code> characters.</td>

docs/_i18n/es/documentation/table-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Las opciones de la tabla están definidas en `jQuery.fn.bootstrapTable.defaults`
234234
<td>escape</td>
235235
<td>data-escape</td>
236236
<td>Boolean</td>
237-
<td>true</td>
237+
<td>false</td>
238238
<td>Escapes a string for insertion into HTML,
239239
replacing <code>&</code>, <code><</code>, <code>></code>,
240240
<code>"</code>, <code>`</code>, and <code>'</code> characters.</td>

docs/_i18n/zh-cn/documentation/table-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
<td>escape</td>
243243
<td>data-escape</td>
244244
<td>Boolean</td>
245-
<td>true</td>
245+
<td>false</td>
246246
<td>转义HTML字符串,替换 <code>&</code>, <code><</code>,
247247
<code>></code>, <code>"</code>, <code>`</code>, 和 <code>'</code> 字符.</td>
248248
</tr>

src/bootstrap-table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
showToggle: false,
293293
buttonsAlign: 'right',
294294
smartDisplay: true,
295-
escape: true,
295+
escape: false,
296296
minimumCountColumns: 1,
297297
idField: undefined,
298298
uniqueId: undefined,

0 commit comments

Comments
 (0)