removed <p> Tags to guarantee vaild HTML output.
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>{{event.description|truncatewords_html:20|safe}}</p>
|
{{event.description|truncatewords_html:20|safe}}
|
||||||
<ul class="info">
|
<ul class="info">
|
||||||
<li><span class="fa fa-map-marker" title="{% trans 'Location' %}"></span> {{ event.location }}</li>
|
<li><span class="fa fa-map-marker" title="{% trans 'Location' %}"></span> {{ event.location }}</li>
|
||||||
<li><span class="fa fa-comments" title="{% trans 'Comments' %}"></span> <a href="{{event.get_absolute_url}}#comments">{{ comment_count }}</a></li>
|
<li><span class="fa fa-comments" title="{% trans 'Comments' %}"></span> <a href="{{event.get_absolute_url}}#comments">{{ comment_count }}</a></li>
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
<a href="{{event.get_absolute_url}}#comments">{{ comment_count }}</a>
|
<a href="{{event.get_absolute_url}}#comments">{{ comment_count }}</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>{{event.description|truncatewords_html:25|safe}}</p>
|
{{event.description|truncatewords_html:25|safe}}
|
||||||
</div>
|
</div>
|
||||||
{% if forloop.counter|divisibleby:2 %}<br class="clear">{% endif %}
|
{% if forloop.counter|divisibleby:2 %}<br class="clear">{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user