%li
  %h4.project-title
    .project-access-icon
      = visibility_level_icon(project.visibility_level)
    = link_to project.name_with_namespace, [project.namespace.becomes(Namespace), project]
    %span.pull-right
      %i.fa.fa-star
      = project.star_count

  .project-info
    - if project.description.present?
      %p.project-description.str-truncated
        = project.description

    .repo-info
      - unless project.empty_repo?
        = link_to pluralize(round_commit_count(project), 'commit'), namespace_project_commits_path(project.namespace, project, project.default_branch)
        &middot;
        = link_to pluralize(project.repository.branch_names.count, 'branch'), namespace_project_branches_path(project.namespace, project)
        &middot;
        = link_to pluralize(project.repository.tag_names.count, 'tag'), namespace_project_tags_path(project.namespace, project)
      - else
        %i.fa.fa-exclamation-triangle
        Empty repository

%li
  %h4.project-title
    .project-access-icon
      = visibility_level_icon(project.visibility_level)
    = link_to project.name_with_namespace, [project.namespace.becomes(Namespace), project]
    %span.pull-right
      %i.fa.fa-star
      = project.star_count

  .project-info
    - if project.description.present?
      .project-description.str-truncated
        = markdown(project.description, pipeline: :description)

    .repo-info
      - unless project.empty_repo?
        = link_to pluralize(round_commit_count(project), 'commit'), namespace_project_commits_path(project.namespace, project, project.default_branch)
        &middot;
        = link_to pluralize(project.repository.branch_names.count, 'branch'), namespace_project_branches_path(project.namespace, project)
        &middot;
        = link_to pluralize(project.repository.tag_names.count, 'tag'), namespace_project_tags_path(project.namespace, project)
      - else
        %i.fa.fa-exclamation-triangle
        Empty repository

Apply markdown filter for project descriptions on explore view
Apply markdown filter for project descriptions on explore view

Signed-off-by: Sven Strickroth <a88b7dcd1a9e3e17770bbaa6d7515b31a2d7e85d@cs-ware.de>
