Aleksander Machniak
2015-08-10 f4c512336dd707cf16b39beaae1055acea048891
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];