Commit a2d6af97 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'explore-markdown' into 'master'

Apply markdown filter for project descriptions on explore view

When you open the explore page, then the project descriptions are not rendered correctly (e.g., https://gitlab.com/search?search=tortoisegit).

See merge request !1098
parents a1e6fc15 5d4eec08
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
.project-info .project-info
- if project.description.present? - if project.description.present?
%p.project-description.str-truncated .project-description.str-truncated
= project.description = markdown(project.description, pipeline: :description)
.repo-info .repo-info
- unless project.empty_repo? - unless project.empty_repo?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment