In the prior version of the Genie GUI, I was able to have a parameter
renderer that returned an html snippet. In the v1.1 gui, that HTML is being
escaped. I'm going to presume its related to the version of rails.

I tried adding .html_safe to the returned value of the renderer, but the
snippet is still escaped.

I tried changing <%= value %> to <%= value&.html_safe %> with no luck.

Any thoughts?

def serial_number_link(val)
  "<a href=\"http://my_site/Search?serialNumber=#{val}\";>#{val}</a>".
html_safe
end
_______________________________________________
Users mailing list
Users@lists.genieacs.com
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to