[WebProfilerBundle] replaced yaml_dump by json_encode to make the Web Profiler independent from the YAML component
This commit is contained in:
parent
1c92307e4c
commit
163564b009
@ -9,7 +9,7 @@
|
||||
{% for key in bag.keys|sort %}
|
||||
<tr>
|
||||
<th>{{ key }}</th>
|
||||
<td>{{ bag.get(key)|yaml_dump }}</td>
|
||||
<td>{{ bag.get(key)|json_encode }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
@ -9,7 +9,7 @@
|
||||
{% for key in data|keys|sort %}
|
||||
<tr>
|
||||
<th>{{ key }}</th>
|
||||
<td>{{ data[key]|yaml_dump }}</td>
|
||||
<td>{{ data[key]|json_encode }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
Reference in New Issue
Block a user