mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
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:
@@ -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=[])
|
||||
|
||||
Reference in New Issue
Block a user