KTU
(KTU)
1
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:
<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
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:
<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.
You're escaping it (that's what h does)
Fred
KTU
(KTU)
3
yep that it was thanks again.