Joining my HTML output into a single line (Google does it)

Brett Hoerner bretthoerner at gmail.com
Sat Oct 18 19:20:50 MSD 2008


On Sat, Oct 18, 2008 at 8:57 AM, Redd Vinylene <reddvinylene at gmail.com> wrote:
> Yeah but, I never meant for it to touch what's inside tags, only
> what's outside tags.

But you did say,

On Fri, Oct 17, 2008 at 8:57 AM, Redd Vinylene <reddvinylene at gmail.com> wrote:
> I don't wanna worry about tons of blank lines and messed up indentation.

Almost all of your blank lines and indentation are inside of <html>,
or <body>, or <div>, or ... tags.  So if you want to ignore the inside
of tags then you'd only be stripping whitespace off before and after
the <html> tags.

Brett





More information about the nginx mailing list