This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<tableclass="layui-table">
<colgroup>
<colwidth="150">
<col>
</colgroup>
<thead>
<tr>
<th>标签</th>
<th>描述</th>
</tr>
</thead>
<tbody>{{!
<tr>
<td>{{= }}</td>
<td>
转义输出。若字段存在 HTML,将进行转义。
```
<h2>{{= d.title }}</h2>
```
</td>
</tr>
<tr>
<td>{{- }} <sup>2.8+</sup></td>
<td>
原始输出。若字段存在 HTML,将正常渲染。
```
<div>{{- d.content }}</div>
```
该语句一般在需要正常渲染 HTML 时用到,但若字段存在 script 等标签,为防止 xss 问题,可采用 `{{= }}` 进行转义输出。