diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-11-14 10:09:14 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-11-14 10:09:14 +0000 |
| commit | e688b77125151dbbd2028f269533189fdad64904 (patch) | |
| tree | 40dfa88c6890b7bf946990cced8803816c2d7bf5 /roundcubemail/program/include | |
| parent | 3f162a28e0421187743f1a6b06e4512667ea732a (diff) | |
- Re-fix handling of html entity strings in plain/text messages
git-svn-id: https://svn.roundcube.net/trunk@4222 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/main.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc index d2cac3227..301e2f716 100644 --- a/roundcubemail/program/include/main.inc +++ b/roundcubemail/program/include/main.inc @@ -560,9 +560,7 @@ function rep_specialchars_output($str, $enctype='', $mode='', $newlines=TRUE) $out = strtr($str, $encode_arr); // avoid douple quotation of & - // commented out, because this breaks displaying of text with entity strings - // in text messages. - //$out = preg_replace('/&([A-Za-z]{2,6}|#[0-9]{2,4});/', '&\\1;', $out); + $out = preg_replace('/&([A-Za-z]{2,6}|#[0-9]{2,4});/', '&\\1;', $out); return $newlines ? nl2br($out) : $out; } |
