Skip to content

Instantly share code, notes, and snippets.

@nisevi
Created April 14, 2018 10:20
Show Gist options
  • Save nisevi/28a0e097875a35b6d9c65fddc5f8e8cd to your computer and use it in GitHub Desktop.
Save nisevi/28a0e097875a35b6d9c65fddc5f8e8cd to your computer and use it in GitHub Desktop.
Code in the view for displaying the content of the static page.
<div id="static_page_body"><%= clean_html(@page.body) %></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment