@@ -48,7 +48,7 @@ |
||
48 | 48 | // save plain text input => convert to HTML; |
49 | 49 | // also implemented in okapi/services/logs/submit.php |
50 | 50 | $text = nl2br(htmlspecialchars($text, ENT_COMPAT, 'UTF-8')); |
51 | - $text = str_replace(' ', ' ', $text); // can produce new ' ' (' ' + ' ') |
|
51 | + $text = str_replace(' ', ' ', $text); // can produce new ' ' (' ' + ' ') |
|
52 | 52 | $text = str_replace(' ', ' ', $text); |
53 | 53 | } else { |
54 | 54 | // mode switch from HTML editor to plain text, or decode HTML-encoded plain text |