Replace empty paragraph with linebreak
authorDaniel Gustafsson <daniel@yesql.se>
Wed, 13 Jun 2018 17:44:37 +0000 (19:44 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Wed, 13 Jun 2018 17:44:37 +0000 (19:44 +0200)
While not a violation of the specification, an empty paragraph is
not recommended in HTML5 and browsers are to discard it. Rendering
as whitespace is only supported in IE7-9, with Chrome and Firefox
dropping it. The intention was most likely to induce some vertical
whitespace so replace with a linebreak tag instead (which indeed
makes the page nicer to look at).

template/confsponsor/admin_dashboard.html

index be8451593ffe5b260af3396a7d65ff5a14c38b95..1298e36611041989155a252af5fcff9881534c2a 100644 (file)
@@ -77,7 +77,7 @@ This matrix gives a quick overview of the status of the different benefits for e
  <li>Confirmed - fully confirmed benefit</li>
  <li>Declined - sponsor chose to decline this benefit.</li>
 </ul>
-<p></p>
+<br>
 {%for levelname, level in benefitmatrix.items %}
 <table class="table table-bordered table-striped table-hover">
  <tr><td colspan="{{level.matrix|first|length}}" align="center" bgcolor="gray"><strong>{{levelname}}</strong></td></tr>
@@ -99,7 +99,7 @@ This matrix gives a quick overview of the status of the different benefits for e
  </tr>
 {%endfor%}
 </table>
-<p></p>
+<br>
 {%endfor%}
 
 {%if eu_vat and  user.is_superuser %}