[chora] patch for htmlspaces

Chuck Hagenbuch chuck@horde.org
Wed, 23 May 2001 13:32:10 -0400


Quoting Cynic <cynic@mail.cz>:

> Whatever... your patch is wrong - if you call htmlspaces() with
> an empty string, it returns it untouched. That's not what its
> description says. This is a correct patch:

I think returning it untouched is correct behavior (especially in a library 
function, now that it's moved to Text::), so I've kept that. If that causes 
problems, they should be resolved elsewhere, not in the library function.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.