Browse Source

close <li> tag in lines (16,18) (#1951)

i noticed that <li> tag haven't closed in lines 15,18 
which is bad practice as if i put "some thing : <h1> some text </h1>" in the text-area  all the other articles become <h1> so big and color blue
pull/1967/head
ahmedakef 8 years ago committed by Markus Unterwaditzer
parent
commit
c54d67adee
  1. 4
      examples/flaskr/flaskr/templates/show_entries.html

4
examples/flaskr/flaskr/templates/show_entries.html

@ -13,9 +13,9 @@
{% endif %}
<ul class="entries">
{% for entry in entries %}
<li><h2>{{ entry.title }}</h2>{{ entry.text|safe }}
<li><h2>{{ entry.title }}</h2>{{ entry.text|safe }}</li>
{% else %}
<li><em>Unbelievable. No entries here so far</em>
<li><em>Unbelievable. No entries here so far</em></li>
{% endfor %}
</ul>
{% endblock %}

Loading…
Cancel
Save