Skip to content

Instantly share code, notes, and snippets.

@ryanto
Created October 25, 2010 20:56
Show Gist options
  • Save ryanto/645741 to your computer and use it in GitHub Desktop.
Save ryanto/645741 to your computer and use it in GitHub Desktop.
<h4>Javascript</h4>
<textarea cols="60" rows="12"><%= html_escape(render("forms/v1/cp/javascript")) %></textarea>
this does not escape the output of the partial. this gets really messy
because our partial has a </textarea>
forms/v1/cp/javascript:
<textarea>blah blah</textarea>
blah blah 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment