<%= paginate @comments %>
<% @comments.each do |comment| %>
<% if comment.commentable %>
<% end %>
<%= sanitize comment.processed_html, tags: %w[strong em p h1 h2 h3 h4 h5 h6 i u b code pre br ul ol li small sup img a span hr blockquote], attributes: %w[href strong em ref rel src title alt class] %>
<% end %>
<%= paginate @comments %>