Aleksander Machniak
2013-10-14 c1bc8f6c827a27540b5510b42dcc65b39d38f2c1
program/lib/Roundcube/rcube_utils.php
@@ -454,8 +454,8 @@
        // cut out all contents between { and }
        while (($pos = strpos($source, '{', $last_pos)) && ($pos2 = strpos($source, '}', $pos))) {
            $styles = substr($source, $pos+1, $pos2-($pos+1));
            $length = strlen($styles);
            $length = $pos2 - $pos - 1;
            $styles = substr($source, $pos+1, $length);
            // check every line of a style block...
            if ($allow_remote) {