Skip to content

Instantly share code, notes, and snippets.

@agmcleod
Created December 4, 2010 22:43
Show Gist options
  • Save agmcleod/728563 to your computer and use it in GitHub Desktop.
Save agmcleod/728563 to your computer and use it in GitHub Desktop.
def parse_html_entities(value)
value.gsub(/&lt;/, '<').gsub(/&gt;/, '>')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment