Web: Disable @title and @doctype for non-HTML documents.