Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Merge pull request #412 from aldryn/bugfix/truncate-lead-in
Browse files Browse the repository at this point in the history
Changed `truncatewords` to `truncatewords_html` in article lead
  • Loading branch information
vxsx committed Jun 28, 2016
2 parents dc4ec87 + 5596258 commit cfc16a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ CHANGELOG
------------------

* Updated translation setup for transifex
* Fixed bootstrap3 article template sometimes causing broken pages


1.2.2 (2016-05-19)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h2>

{% if not detail_view %}
<div class="lead">
{% render_model article "lead_in" "" "" "truncatewords:'20'" %}
{% render_model article "lead_in" "" "" "truncatewords_html:'20'" %}
</div>
{% endif %}

Expand Down

0 comments on commit cfc16a7

Please sign in to comment.