You can use Markdown formatting here.
${s} ${p} ${val} ${default} ${package_list_from_dict(h.convert_to_dict('package', packages))} ${h.snippet('snippets/package_list.html', packages=packages)}
TitleNumber of datasetsDescription
${group.display_name} ${len(group.packages)} ${h.truncate(group.description, length=80, whole_word=True)}
TitleNumber of datasetsDescription
${group['display_name']} ${group['packages']} ${h.truncate(group['description'], length=80, whole_word=True)}
TitleNumber of members
${authorization_group.name or authorization_group.id} ${len(authorization_group.users)}
${'OPEN' if package.isopen() else 'CLOSED'} DOWNLOAD ${h.resource_display_name(res)}
  • ${h.markdown_extract(related.title, extract_length=30)}
    ${h.markdown_extract(related.description, extract_length=1000)}
    No description for this item

    View this related item

  • ${pkg.name} - ${pkg.title}
    ${'%0.1f (%i rating%s)' % (c.current_rating, c.num_ratings, ('s' if c.num_ratings != 1 else ''))}
    no ratings yet
    – rate it now
    User ${role}
    ${h.linked_user(user)}
    User Group ${role}
    ${h.linked_authorization_group(user)}
    User ${role}
    User Group ${role}
    ${revision_list_from_dict(h.convert_to_dict('revisions', revisions), allow_compare=allow_compare)} ${h.snippet('snippets/revision_list.html', revisions=revisions, allow_compare=allow_compare)} ''' + tagContent + ''' ''') return html ?>