Print DB value with HTML coding in it

Hi

I have problem with printing database value with has text in it.

value in DB is: workinfo

and on html page it shows as:

<b>workinfo</b>

I use this call to print out that value:

<%=h @imitem.grpdesc if @imitem -%>

I would like to show that value as HTML (like it was typed) on that
output HTML page. Now
ruby seems to escape it.

Thank You

On 4 Feb 2008, at 17:42, KTU wrote:

I use this call to print out that value:

<%=h @imitem.grpdesc if @imitem -%>

I would like to show that value as HTML (like it was typed) on that
output HTML page. Now
ruby seems to escape it.

You’re escaping it (that’s what h does)

Fred

yep that it was thanks again.

On Feb 4, 7:47 pm, Frederick C. [email protected]