web commit by AdamShand: allowing rawhtml plugin only on locked pages.