@@ -52,7 +52,7 @@ |
||
52 | 52 | // convert to HTML for storing to database |
53 | 53 | // also implemented in okapi/services/logs/submit.php |
54 | 54 | $text = nl2br(htmlspecialchars($text, ENT_COMPAT, 'UTF-8')); |
55 | - $text = str_replace(' ', ' ', $text); // can produce new ' ' (' ' + ' ') |
|
55 | + $text = str_replace(' ', ' ', $text); // can produce new ' ' (' ' + ' ') |
|
56 | 56 | $text = str_replace(' ', ' ', $text); |
57 | 57 | } else { |
58 | 58 | // mode switch from HTML editor to plain text, or decode HTML-encoded plain text |