Skip to content

Commit

Permalink
html safe tags for description
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasdrga committed Dec 12, 2024
1 parent 8868035 commit d496c61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/phase_revision/pdf.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<% end %>
</p>
<% end %>
<p class="lead text-muted mt-4"><%= @phase_revision.description %></p>
<p class="lead text-muted mt-4"><%= @phase_revision.description&.html_safe %></p>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion app/views/phase_revision/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<% end %>
</p>
<% end %>
<p class="lead text-muted mt-4"><%= @phase_revision.description %></p>
<p class="lead text-muted mt-4"><%= @phase_revision.description&.html_safe %></p>
</div>
</div>

Expand Down

0 comments on commit d496c61

Please sign in to comment.