removed automatic trimming of whitespaces because it causes to much trouble
.phtml => web-mode, .php => php-mode