Skip to content

Instantly share code, notes, and snippets.

@nirname nirname/escape.rb
Created Apr 24, 2015

Embed
What would you like to do?
Escape HTML and split user text from text_area to display
h.simple_format h.h(object.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.