Added linting for html panel
Fixed compatibility problems between html and htmlmixed mode