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

Loading…
Cancel
Save