Aleksander Machniak
2015-08-10 cb4149cc6cf9d440d07b389591954b4b03a1f82f
program/lib/Roundcube/rcube_washtml.php
@@ -174,6 +174,9 @@
    {
        $result = array();
        // Remove unwanted white-space characters so regular expressions below work better
        $style = preg_replace('/[\n\r\s\t]+/', ' ', $style);
        foreach (explode(';', $style) as $declaration) {
            if (preg_match('/^\s*([a-z\-]+)\s*:\s*(.*)\s*$/i', $declaration, $match)) {
                $cssid = $match[1];