Skip to content

Commit

Permalink
Merge pull request #155 from slovensko-digital/RF-499/Html-safe-descr…
Browse files Browse the repository at this point in the history
…iption

RF-499/Html-safe-description
  • Loading branch information
celuchmarek authored Dec 12, 2024
2 parents bf2da62 + 281eba2 commit ddd746b
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 ddd746b

Please sign in to comment.