[SeasideXUL] View->Page Source in browser shows XUL as one long line

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[SeasideXUL] View->Page Source in browser shows XUL as one long line

Milan Zimmermann-2
Pavel,

A minor note, View->Page Source in Firefox 3 (I think also all older versions)
show XUL as one long line. It would be neat if it has some newline/whitespace
formatting so it does not have to be pasted into a editor for viewing.

Thanks Milan
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [SeasideXUL] View->Page Source in browser shows XUL asone long line

Ramon Leon-5
> Pavel,
>
> A minor note, View->Page Source in Firefox 3 (I think also
> all older versions)
> show XUL as one long line. It would be neat if it has some
> newline/whitespace
> formatting so it does not have to be pasted into a editor for viewing.
>
> Thanks Milan

You really shouldn't be doing that, load a real plug-in like "firebug" or
"view source chart" to see properly formatted source without the need to
hack the web server to pretty print.  Pretty printing is not the web servers
job, and your client can already do it much better.

Ramon Leon
http://onsmalltalk.com

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [SeasideXUL] View->Page Source in browser shows XUL asone long line

Milan Zimmermann-2
On 2008 June 25, Ramon Leon wrote:

> > Pavel,
> >
> > A minor note, View->Page Source in Firefox 3 (I think also
> > all older versions)
> > show XUL as one long line. It would be neat if it has some
> > newline/whitespace
> > formatting so it does not have to be pasted into a editor for viewing.
> >
> > Thanks Milan
>
> You really shouldn't be doing that, load a real plug-in like "firebug" or
> "view source chart" to see properly formatted source without the need to
> hack the web server to pretty print.  Pretty printing is not the web
> servers job, and your client can already do it much better.

I agree .. but I failed to find how to view the generated xul source from
Firebug, so I just keep pasting it to emacs which formats it :(

Milan

>
> Ramon Leon
> http://onsmalltalk.com
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside