Add mode:html support.