removed htmlspecialchars applied in wrong place.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 19 Mar 2006 10:51:37 +0000 (10:51 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 19 Mar 2006 10:51:37 +0000 (10:51 +0000)
commitdffb9139475e0b3b78d3d6015d686963bb74b161
treea5f827be2a1d897137feeb0d2f760f90b7876f9a
parentb2e8c7a0f6ef359d6fbd7fc597fb0f728d06a752
removed htmlspecialchars applied in wrong place.

rewrote message text extraction. Output of formatBody() and translateText()
functions depends on user's preferences and can contain html formating.

removed message text processing code. conversion of html entities applies
only to html special chars and undoes html sanitizing made by charset_decode.
It makes message text unsuitable for form input fields. " -> '' and other
conversions removed too in order to preserve message format.

translate form is displayed only when message body is not empty.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10994 7612ce4b-ef26-0410-bec9-ea0150e637f0
plugins/translate/functions.php