pub struct Cfg {
pub ensure_spec_compliant_unquoted_attribute_values: bool,
pub keep_closing_tags: bool,
pub keep_html_and_head_opening_tags: bool,
pub keep_spaces_between_attributes: bool,
pub keep_comments: bool,
pub minify_css: bool,
pub minify_js: bool,
pub remove_bangs: bool,
pub remove_processing_instructions: bool,
}
impl Cfg {
pub fn new() -> Cfg {
Cfg {
ensure_spec_compliant_unquoted_attribute_values: false,
keep_closing_tags: false,
keep_comments: false,
keep_html_and_head_opening_tags: false,
keep_spaces_between_attributes: false,
minify_css: false,
minify_js: false,
remove_bangs: false,
remove_processing_instructions: false,
}
}
}