I have a fairly simple Sinatra app running at
I would like to add Google AdSense to the app to some of the pages to offset some of the hosting and computing costs. I’m having trouble getting the AdSense code to actually display right because of whitespace removal that is happening somewhere in the process of rendering.
If you look at the source for a Passenger app, it appears that all tabs/spaces are removed and everything is lined up on the left hand side. Furthermore, if there are any comments, anything within the comments are removed.
Any ideas how to configure or disable this behavior in a passenger app. Or anyone with previous AdSense experience, does it even matter if it’s not displayed perfectly?