Another thing:
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.
Frank
--
Dr Frank Boehme | Email: [EMAIL PROTECTED]
National University of Ireland, Cork | phone: +353-21-4903163
Dept of Computer Science | fax: +353-21-4903113
Cork, Ireland |
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]