Fix bug where leading blanks were stripped from quoted lines (#1488795)
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | - Fix bug where leading blanks were stripped from quoted lines (#1488795) |
| | | - Upgraded to jQuery 1.8.2 and jQuery UI 1.9.1 |
| | | - Add config option to automatically generate LDAP attributes for new entries |
| | | - Better client-side timezone detection using the jsTimezoneDetect library (#1488725) |
| | |
| | | |
| | | // find/mark quoted lines... |
| | | for ($n=0, $cnt=count($body); $n < $cnt; $n++) { |
| | | if ($body[$n][0] == '>' && preg_match('/^(>+\s*)+/', $body[$n], $regs)) { |
| | | $q = strlen(preg_replace('/\s/', '', $regs[0])); |
| | | if ($body[$n][0] == '>' && preg_match('/^(>+ {0,1})+/', $body[$n], $regs)) { |
| | | $q = substr_count($regs[0], '>'); |
| | | $body[$n] = substr($body[$n], strlen($regs[0])); |
| | | |
| | | if ($q > $quote_level) { |