summaryrefslogtreecommitdiff
path: root/app/views/explore
diff options
context:
space:
mode:
authorSven Strickroth <email@cs-ware.de>2015-08-05 21:26:49 +0200
committerSven Strickroth <email@cs-ware.de>2015-08-05 21:26:49 +0200
commit5d4eec08a19cb0f33eaa4d37490e30a00c496ba0 (patch)
tree077fa9773e9585537095c4ae109ff7ce76eb4b83 /app/views/explore
parentce47dd4bb0c686aee13b309b07eb8f976aa5d547 (diff)
downloadgitlab-ce-5d4eec08a19cb0f33eaa4d37490e30a00c496ba0.tar.gz
Apply markdown filter for project descriptions on explore view
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Diffstat (limited to 'app/views/explore')
-rw-r--r--app/views/explore/projects/_project.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/explore/projects/_project.html.haml b/app/views/explore/projects/_project.html.haml
index d769c91545d..1e8a89e3661 100644
--- a/app/views/explore/projects/_project.html.haml
+++ b/app/views/explore/projects/_project.html.haml
@@ -9,8 +9,8 @@
.project-info
- if project.description.present?
- %p.project-description.str-truncated
- = project.description
+ .project-description.str-truncated
+ = markdown(project.description, pipeline: :description)
.repo-info
- unless project.empty_repo?