HTML writer:  Ensure proper escaping in header metadata.