JSON UNICODE

This commit is contained in:
Сомов Игорь Андреевич 2015-12-28 17:07:20 +03:00
parent 1ae2cfa9a5
commit 8aa5e479d1

View File

@ -100,7 +100,7 @@
{% for key, value in infos %} {% for key, value in infos %}
<tr> <tr>
<td>{{ key|title }}</td> <td>{{ key|title }}</td>
<td>{{ value|json_encode|replace({'\\\\': '\\'})|trim('"') }}</td> <td>{{ value|json_encode(constant('JSON_UNESCAPED_UNICODE'))|replace({'\\\\': '\\'})|trim('"') }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>