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