[Boulder-Denver Ruby Group] can html content be filtered before it is sent back to the client?

Ryan Grow ryan at mountainshows.com
Fri Jun 1 15:01:42 EDT 2007


Hi,

I have a requirement to remove some whitespace and newlines from html
generated by ruby templates, before it goes back to the client.

It seems to be pretty hard to control placement of newlines at the template
level. Is there a "filter hook" of some sort that can remove unwanted
characters after the html has been created but before its passed back to the
web server?

Thanks,

Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/bdrg-members/attachments/20070601/9bf0fa3a/attachment.html 


More information about the Bdrg-members mailing list