html_escape method

Vishvanathan Kuppusamy wrote:

Hi,

I need to use the html_escape function in my project.And I had tired the html_escape or h function in the view.

example: <%= h "< Hello >" %>

Result:

< Hello >

But I am not get any html escaped characters for < and >.

Is there any special steps include in my project?

Did you actually view the source for that page?