Joining my HTML output into a single line (Google does it)
Davy Campano
dcampano at gmail.com
Sat Oct 18 19:27:36 MSD 2008
mod_strip leaves intact comments as well as <pre> tags.
On Sat, Oct 18, 2008 at 11:20 AM, Brett Hoerner <bretthoerner at gmail.com>wrote:
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20081018/ff31e23b/attachment.html>
More information about the nginx
mailing list