templates: Use <hr> and <br> consistently.

We now prevent these variations:

    * <hr/>
    * <hr />
    * <br/>
    * <br />

We could enforce similar consistency for other void
tags, if we wished, but these two are particularly
prevalent.
This commit is contained in:
Steve Howell
2020-04-19 10:52:45 +00:00
committed by Tim Abbott
parent 1be4cc5f17
commit cf78cb0d6e
39 changed files with 72 additions and 74 deletions

View File

@@ -98,7 +98,7 @@ class APIArgumentsTablePreprocessor(Preprocessor):
<span class="api-argument-example-label">Example</span>: <code>{example}</code>
</div>
<div class="api-description">{description}</div>
<hr />
<hr>
</div>"""
md_engine = markdown.Markdown(extensions=[])