fix for xss issue
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<td width='15%' class='code'>{{code}}</td>
|
||||
<td class="markdown">{{{message}}}</td>
|
||||
<td width='15%' class='code'>{{{escape code}}}</td>
|
||||
<td class="markdown">{{{escape message}}}</td>
|
||||
<td width='50%'><span class="model-signature" /></td>
|
||||
<td class="headers">
|
||||
<table>
|
||||
@@ -7,8 +7,8 @@
|
||||
{{#each headers}}
|
||||
<tr>
|
||||
<td>{{@key}}</td>
|
||||
<td>{{this.description}}</td>
|
||||
<td>{{this.type}}</td>
|
||||
<td>{{{sanitize this.description}}}</td>
|
||||
<td>{{{escape this.type}}}</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user