public PvcHtmlCompressor ( bool concurrent = true, bool removeComments = true, bool removeMultiSpaces = true, bool removeLineBreaks = true, bool removeIntertagSpaces = false, bool removeQuotes = false, bool simpleDoctype = false, bool removeStyleAttributes = false, bool removeLinkAttributes = false, bool removeScriptAttributes = false, bool removeFormAttributes = false, bool removeInputAttributes = false, bool simpleBooleanAttributes = false, bool removeJavaScriptProtocol = false, bool removeHttpProtocol = false, bool removeHttpsProtocol = false, string removeSurroundingSpacesTags = "" ) : System |
concurrent |
bool |
|
removeComments |
bool |
Removes comments |
removeMultiSpaces |
bool |
Removes multiple spaces |
removeLineBreaks |
bool |
Removes linebreaks |
removeIntertagSpaces |
bool |
Removes spaces between tags |
removeQuotes |
bool |
Remove unneeded quotes |
simpleDoctype |
bool |
Change doctype to <!DOCTYPE html> |
removeStyleAttributes |
bool |
Remove TYPE attribute from STYLE tags |
removeLinkAttributes |
bool |
Remove TYPE attribute from LINK tags |
removeScriptAttributes |
bool |
Remove TYPE and LANGUAGE from SCRIPT tags |
removeFormAttributes |
bool |
Remove METHOD="GET" from FORM tags |
removeInputAttributes |
bool |
|
simpleBooleanAttributes |
bool |
Remove values from boolean tag attributes |
removeJavaScriptProtocol |
bool |
Remove "javascript:" from inline event handlers |
removeHttpProtocol |
bool |
Remove "http:" from tag attributes |
removeHttpsProtocol |
bool |
Remove "https:" from tag attributes |
removeSurroundingSpacesTags |
string |
Predefined or custom comma separated list of tags [min|max|all|custom_list] |
Résultat |
System |
|