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: <b>workinfo</b>

and on html page it shows as:

&lt;b&gt;workinfo&lt;/b&gt;

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

Hi

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

value in DB is: <b>workinfo</b>

and on html page it shows as:

&lt;b&gt;workinfo&lt;/b&gt;

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.