Especially for editable content
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<% if @editable_content.has_content? %>
|
||||
<% if @editable_content.rich_text %>
|
||||
<%= helpers.markdown_to_html @editable_content.content %>
|
||||
<div class="rich-text">
|
||||
<%= helpers.markdown_to_html @editable_content.content %>
|
||||
</div>
|
||||
<% else %>
|
||||
<%= @editable_content.content %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user