Django Python 前端去除空格
“platform|escape”
<select class="form-control col-xs-12" name="platform">
{% for platform in platform_set%}
<option {% if platform|escape == content.platform_name|escape %}selected{% endif %}>{{ platform }} </option>
{% endfor %}
</select>