Hi Jörg, Your diff patch is reversed, it probably should have been something along the lines of: - } elseif(preg_match('/^"/', $v)) { + } elseif(preg_match('/^".*[^"]$/', $v)) { I have tested your patch and it works like a charm Best regards Jacob Rasmussen