[jifty-devel] question about binary encoding

Alex Vandiver alexmv at bestpractical.com
Thu Mar 16 18:04:41 EST 2006

On Fri, 2006-03-17 at 09:35 +1100, Bart Bunting wrote:
> <% $record->image %> to display it.
> I'm guessing that this is being escaped as it goes through mason or
> something?

Mason html-escapes all stuff output through <% %> blocks by default.
You can keep it from doing this by writing it as:
<% $record->image |n %>

See http://www.masonhq.com/docs/manual/Devel.html#escaping_expressions
for more on Mason's escaping.
 - Alex

More information about the jifty-devel mailing list