Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit dd60bf9

Browse files
Sanitize job description content
1 parent c4b1c42 commit dd60bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/jobs/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<% if @job.description.blank? %>
5252
No job details yet, please make sure that you have a valid job description before submitting this job for approval.
5353
<% else %>
54-
<%=raw @job.description.html_safe %>
54+
<%= sanitize @job.description.html_safe %>
5555
<% end %>
5656
</div>
5757
</div>

0 commit comments

Comments
 (0)