Aleksander Machniak
2014-05-27 5bf83d551e3c748b8ba37ad6459a505730ec9877
program/lib/Roundcube/rcube_washtml.php
@@ -206,7 +206,7 @@
                        $value .= ' ' . $val;
                        // #1488535: Fix size units, so width:800 would be changed to width:800px
                        if (preg_match('/(left|right|top|bottom|width|height)/i', $cssid)
                        if (preg_match('/^(left|right|top|bottom|width|height)/i', $cssid)
                            && preg_match('/^[0-9]+$/', $val)
                        ) {
                            $value .= 'px';