templates: Mark all void tags as self-closing.

This reverses the policy that was set, but incompletely enforced, by
commit 951514dd7d.  The self-closing tag
syntax is clearer, more consistent, simpler to parse, compatible with
XML, preferred by Prettier, and (most importantly now) required by
FormatJS.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-04-20 15:46:14 -07:00
committed by Tim Abbott
parent 7177529107
commit dd3fa4ac52
84 changed files with 345 additions and 346 deletions

View File

@@ -3,7 +3,7 @@
{% block customhead %}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{% endblock %}
@@ -67,21 +67,21 @@
</div>
</div>
<br>
<br />
<div class="row2">
<label for="URL"><b>URL</b> (Automatically Generated)</label>
<input id="URL" type="text" />
</div>
<br>
<br />
<div class="row3">
<label for="custom_http_headers"><b>Custom HTTP Headers</b></label>
<textarea id="custom_http_headers"></textarea>
</div>
<br>
<br />
<div class="row4">
<div class="col1">
@@ -104,6 +104,6 @@
</div>
<div class="pad-small"></div>
<input id="csrftoken" type="hidden" value="{{ csrf_token }}">
<input id="csrftoken" type="hidden" value="{{ csrf_token }}" />
{% endblock %}