Tagged with views

Using html entities in Ruby

HTML character entities are used to display reserved characters in a web page. The entire list of character entity references can be found here. Sometimes you may want to use HTML entities inside your ruby code. This is where gem htmlentities comes into picture. This is a simple library to facilitate encoding and decoding of … Continue reading