Removes all the extra sanitisation from debates
This makes the feature red
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
<h3><%= link_to debate.title, debate %></h3>
|
||||
<p>Por <%= debate.author.name %> el <%= l debate.created_at.to_date %></p>
|
||||
<p><%= sanitize(debate.description.html_safe) %></p>
|
||||
<p><%= debate.description %></p>
|
||||
|
||||
<p><%= render 'shared/tags', debate: debate %></p>
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<%= @debate.author.name %> <span> • </span> <%= l @debate.created_at.to_date %> <span> • </span> <%= pluralize(@debate.comment_threads.count, t("debates.show.comment"), t("debates.show.comments")) %>
|
||||
</div>
|
||||
<div class="debate-description">
|
||||
<%= @debate.description.html_safe %>
|
||||
<%= @debate.description %>
|
||||
</div>
|
||||
<p><%= render 'shared/tags', debate: @debate %></p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user