Frank Boehme wrote:

> If I look at the html source of pages generated by Midgard, I frequently
> see white space where it will be ignored by the browser. The reason is
> that something like &(article.content); does not trim whitespace while
> the forms in the admin site often load with some whitespace already
> contained (that may be a browser dependent thing).
> 
> I can't think of any situation where an automatic call like
> 
>   $article->content = trim($article->content);
> 
> would do any harm. This could be automatically done in the admin site
> (asgard), whenever one saves or updates any object data.
> 
> Doing so would save a little bandwith as well as some space on the
> database.

Seems logical. Could you file a feature request?

Emile

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to