Project

General

Profile

escape HTML string in Redmine

Added by karthi p about 12 years ago

0 down vote favorite
share [g+] share [fb] share [tw]

I have recently upgraded my Redmine from 1.0 to 1.3.2. After the updating it returns HTML tags also while displaying data.

It is displaying the HTML data like this

<p>Please add the following text &nbsp;</p>
<p>&nbsp;</p>

But it should be

Please add the following text

I have tried with <%=h %> method but it is not worked for me

I am using Rails 2.3.14 and Ruby 1.8.7. Thanks in Advance