Happy New Year
[squirrelmail.git] / functions / htmlentities / readme.php
index fea2ba2e9f84a7c03fff689054c2ce5fef4ffb85..3661742fe0e439b28365e601f0d48089fcafd74f 100644 (file)
@@ -1,32 +1,35 @@
 <?php
+
 /**
  * SquirrelMail html translation table documentation
  *
  * SquirrelMail provides own implementation of htmlentities() and
  * get_html_translation_table() functions. Functions are called
- * sq_get_html_translation_table() and sq_htmlentities(). They are 
+ * sq_get_html_translation_table() and sq_htmlentities(). They are
  * included in functions/strings.php
  *
- * <pre>
  * sq_htmlentities uses same syntax as functions available in php 4.1.0
  * sq_get_html_translation_table adds third option that sets charset.
- * </pre>
  *
+ * <pre>
  * string sq_htmlentities ( string string [, int quote_style [, string charset]])
  * array sq_get_html_translation_table ( int table [, int quote_style [, string charset]])
+ * </pre>
  *
  * If sq_get_html_translation_table function is called with HTML_SPECIALCHARS option,
  * it returns us-ascii translation table. If it is called with HTML_ENTITIES option,
  * it returns translation table defined by charset. Function defaults to us-ascii charset
  * and not to iso-8859-1.
  *
- * Why own functions are used instead of htmlspecialchars() and 
+ * Why own functions are used instead of htmlspecialchars() and
  * htmlentities() provided by php.
  *
- * <li>a) removes dependency on options available only in php v.4.1+
- * <li>b) default behavior of htmlentities() is disastrous in non iso-8859-1 environment.
- * <li>c) provides better control of transformations.
- * 
+ * <ul>
+ * <li>a) removes dependency on options available only in php v.4.1+</li>
+ * <li>b) default behavior of htmlentities() is disastrous in non iso-8859-1 environment.</li>
+ * <li>c) provides better control of transformations.</li>
+ * </ul>
+ *
  * <pre>
  * --- Full list of entities (w3.org html4.01 recommendations)
  * 1. regural symbols
  * U+2666 - &diams;    -- black diamond suit
  * </pre>
  *
- * @copyright (c) 2004 The SquirrelMail development team
+ * @copyright 2004-2020 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  * @subpackage strings
  */
-?>
\ No newline at end of file