I\'ve just followed the install instructions at the the bootsy gem page and it all looks good until I save and look at the post\'s content.
This is what the output l
maybe use raw?
<%= raw(post.body) %>
You need to have something like this, escape html:
<%= f.bootsy_area(:body, class: 'bg-code').html_safe %>
Sergio is correct but have the .html_safe on the output rather than the input.
For example, on a post index:
<%= post.body.html_safe %>
Hope this helps.
You can also add to bootsy.rb
config.editor_options = {
html: true
.....
}
to enable you to toggle html in the bootsy editor .