Skip to content
Snippets Groups Projects
Verified Commit 1218a5e6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Add html_escape to project description. auto_link set description to html_safe...

Add html_escape to project description. auto_link set description to html_safe but! dont escape html :(.

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent a019b49a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -17,7 +17,7 @@
.col-md-7
.project-home-desc
- if @project.description.present?
= auto_link @project.description, link: :urls
= auto_link ERB::Util.html_escape(@project.description), link: :urls
- if can?(current_user, :admin_project, @project)
&ndash;
%strong= link_to 'Edit', edit_project_path
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment