Commit ec95eec0 authored by Zixian Cai's avatar Zixian Cai

Escape HTML tags

parent b3aa8732
......@@ -21,7 +21,12 @@
<div class="panel-heading">Platform information</div>
<div class="panel-body">
<li>CPU: {{ result["cpu"]|replace("\n", "<br/>") }}</li>
{% for l in result["cpu"].split("\n") %}
{{ l }}
{% endfor %}
<li>uname: {{ result["uname"] }}</li>
<li>Hostname: {{ result["hostname"] }}</li>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment