Skip to content

Commit

Permalink
[#303] Fix descriptions as markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes authored and amercader committed Jul 31, 2013
1 parent 791bdb7 commit cfd6dfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckan/templates/group/snippets/group_item.html
Expand Up @@ -25,7 +25,7 @@ <h3 class="media-heading">
</a>
</h3>
{% if group.description %}
<p>{{ h.truncate(group.description, length=80, whole_word=True) }}</p>
<p>{{ h.markdown_extract(group.description, extract_length=80) }}</p>
{% else %}
<p class="empty">{{ _('This group has no description') }}</p>
{% endif %}
Expand Down
Expand Up @@ -25,7 +25,7 @@ <h3 class="media-heading">
</a>
</h3>
{% if organization.description %}
<p>{{ h.truncate(organization.description, length=80, whole_word=True) }}</p>
<p>{{ h.markdown_extract(organization.description, extract_length=80) }}</p>
{% else %}
<p class="empty">{{ _('This organization has no description') }}</p>
{% endif %}
Expand Down

0 comments on commit cfd6dfe

Please sign in to comment.