templates: Clean some whitespace issues in markdown_help.

Unfortunately, the rest cannot be easily fixed.
This commit is contained in:
Tim Abbott 2017-10-19 16:51:14 -07:00
parent e80fc93e87
commit fc4b87ed04
2 changed files with 7 additions and 4 deletions

View File

@ -3,10 +3,12 @@
<div class="modal-body" tabindex="0"> <div class="modal-body" tabindex="0">
<div id="markdown-instructions"> <div id="markdown-instructions">
<table class="table table-striped table-condensed table-rounded table-bordered help-table"> <table class="table table-striped table-condensed table-rounded table-bordered help-table">
<thead><tr> <thead>
<tr>
<th>{% trans %}You type{% endtrans %}</th> <th>{% trans %}You type{% endtrans %}</th>
<th>{% trans %}You get{% endtrans %}</th> <th>{% trans %}You get{% endtrans %}</th>
</tr></thead> </tr>
</thead>
<tbody> <tbody>
<tr> <tr>

View File

@ -100,6 +100,7 @@ def check_html_templates(templates, all_dups):
'templates/zerver/features.html', 'templates/zerver/features.html',
'templates/zerver/home.html', 'templates/zerver/home.html',
'templates/zerver/login.html', 'templates/zerver/login.html',
# Can't clean this because of `preserve_spaces`
'templates/zerver/markdown_help.html', 'templates/zerver/markdown_help.html',
'zerver/webhooks/taiga/doc.html', 'zerver/webhooks/taiga/doc.html',
'zerver/webhooks/zendesk/doc.html', 'zerver/webhooks/zendesk/doc.html',