summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5630c7e)
only the necessary ones required for spacing purposes are left. (every other)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@806
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$line = charset_decode($charset, $line);
$line = str_replace("\t", ' ', $line);
$line = charset_decode($charset, $line);
$line = str_replace("\t", ' ', $line);
- $line = str_replace(' ', ' ', $line);
+ // We need to do it twice to catch times where there
+ // are an odd number of spaces
+ $line = str_replace(' ', ' ', $line);
+ $line = str_replace(' ', ' ', $line);
$line = nl2br($line);
parseUrl ($line);
$line = nl2br($line);
parseUrl ($line);
- // Workaround to possibly get rid of extra port definitions.
$port = '';
if (! strstr($host, ':'))
{
$port = '';
if (! strstr($host, ':'))
{