Re: Re: gettext best practice
| From: | Skippy | Date: | Thu, 14 Jul 2005 14:06:34 +0000 |
| Subject: | Re: Re: gettext best practice | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218684@lists.php.net to get a copy of this message | ||
Quoting Mark Rees <mrees@itsagoodprice.com>:
> Consider whether you will always display the information in a web browser.
> If there is any possibility that another program may be used for display,
> you don't want the HTML tags in the database.
In this particular situation I'm dealing with I only have web browsers to
worry about.
However, for the sake of argument: couldn't I still allow those styling tags
and do some post-processing in the code? Such as stripping the tags, or
converting them to something else. Things like bold and italic are almost
universally meaningful.
--
Romanian Web Developers - http://ROWD.ORG