<% content = (@post.content || '') %> <% if @post.content_format && @post.content_format == 'html' %> <%= raw content %> <% else %> <%= w3matter_format(content) %> <% end %>