Re: Pretty printing?
Re: Pretty printing?
- Subject: Re: Pretty printing?
- From: Lachlan Deck <email@hidden>
- Date: Mon, 2 Jul 2007 07:38:50 +1000
On 01/07/2007, at 2:46 AM, Guido Neitzer wrote:
On 30.06.2007, at 04:50, Lachlan Deck wrote:
Sure, that's one option (and a good one) but I was actually more
motivated by the presentation for our web-designer's eye. i.e.,
the component's to my eyes look nicely laid out and thus easy to
follow, but when running the app there's lots of whitespace and
unpredictable indentation.
The problem I'd have with that, is that you might get unpredictable
rendering artifacts. E.g. if you format a component in
ComponentEditor, a word with a hyperlink might get rendered like
that (because the hyperlink is not necessarily a WOHyperlink):
<webobject name="Link">
Word
</webobject>
which leads to unpredictable underlining for underlined links. The
same might happen for things you have to do for Internet Explorer,
like having a construct like that:
<li><a href="#">Word </a></li>
Note the intended whitespace in the link. This is necessary for IE
not to mess up the height of the <li>. And there are plenty of
other things that can go wrong.
So, I'd prefer that the HTML comes to the browser in the way I
write it.
Sure. I'm just looking for something *I* can turn on as an option
rather than something that effects everyone else.
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden