Tidy

The Tidy manipulator is used to tidy HTML values in a field. Allowing for broken/mismatched tags and broken HTML to be cleaned up through the use of the tidy program.

Properties

PropertyPurposeRequired

tidyConfig

Additional config options to set for tidy

False

Specifics

The specified field's value will be replaced with the tidied value.

Tidy Config Options

Example

show-body-only: yes

Details

Name                        Type       Allowable values                        
=========================== =========  ========================================
accessibility-check         Enum       0 (Tidy Classic), 1 (Priority 1 Checks),
                                       2 (Priority 2 Checks), 3 (Priority 3    
                                       Checks)                                 
add-meta-charset            Boolean    no, yes                                 
add-xml-decl                Boolean    no, yes                                 
add-xml-space               Boolean    no, yes                                 
alt-text                    String     -                                       
anchor-as-name              Boolean    no, yes                                 
ascii-chars                 Boolean    no, yes                                 
assume-xml-procins          Boolean    no, yes                                 
bare                        Boolean    no, yes                                 
break-before-br             Boolean    no, yes                                 
char-encoding               Encoding   raw, ascii, latin0, latin1, utf8,       
                                       iso2022, mac, win1252, ibm858, utf16le, 
                                       utf16be, utf16, big5, shiftjis          
clean                       Boolean    no, yes                                 
coerce-endtags              Boolean    no, yes                                 
css-prefix                  String     -                                       
custom-tags                 Enum       no, blocklevel, empty, inline, pre      
decorate-inferred-ul        Boolean    no, yes                                 
doctype                     String     -                                       
drop-empty-elements         Boolean    no, yes                                 
drop-empty-paras            Boolean    no, yes                                 
drop-proprietary-attributes Boolean    no, yes                                 
enclose-block-text          Boolean    no, yes                                 
enclose-text                Boolean    no, yes                                 
error-file                  String     -                                       
escape-cdata                Boolean    no, yes                                 
escape-scripts              Boolean    no, yes                                 
fix-backslash               Boolean    no, yes                                 
fix-bad-comments            Enum       no, yes, auto                           
fix-style-tags              Boolean    no, yes                                 
fix-uri                     Boolean    no, yes                                 
force-output                Boolean    no, yes                                 
gdoc                        Boolean    no, yes                                 
gnu-emacs                   Boolean    no, yes                                 
hide-comments               Boolean    no, yes                                 
indent                      Enum       no, yes, auto                           
indent-attributes           Boolean    no, yes                                 
indent-cdata                Boolean    no, yes                                 
indent-spaces               Integer    0, 1, 2, ...                            
indent-with-tabs            Boolean    no, yes                                 
input-encoding              Encoding   raw, ascii, latin0, latin1, utf8,       
                                       iso2022, mac, win1252, ibm858, utf16le, 
                                       utf16be, utf16, big5, shiftjis          
input-xml                   Boolean    no, yes                                 
join-classes                Boolean    no, yes                                 
join-styles                 Boolean    no, yes                                 
keep-tabs                   Boolean    no, yes                                 
keep-time                   Boolean    no, yes                                 
literal-attributes          Boolean    no, yes                                 
logical-emphasis            Boolean    no, yes                                 
lower-literals              Boolean    no, yes                                 
markup                      Boolean    no, yes                                 
merge-divs                  Enum       no, yes, auto                           
merge-emphasis              Boolean    no, yes                                 
merge-spans                 Enum       no, yes, auto                           
mute                        String     -                                       
mute-id                     Boolean    no, yes                                 
ncr                         Boolean    no, yes                                 
new-blocklevel-tags         Tag Names  tagX, tagY, ...                         
new-empty-tags              Tag Names  tagX, tagY, ...                         
new-inline-tags             Tag Names  tagX, tagY, ...                         
new-pre-tags                Tag Names  tagX, tagY, ...                         
newline                     Enum       LF, CRLF, CR                            
numeric-entities            Boolean    no, yes                                 
omit-optional-tags          Boolean    no, yes                                 
output-bom                  Enum       no, yes, auto                           
output-encoding             Encoding   raw, ascii, latin0, latin1, utf8,       
                                       iso2022, mac, win1252, ibm858, utf16le, 
                                       utf16be, utf16, big5, shiftjis          
output-file                 String     -                                       
output-html                 Boolean    no, yes                                 
output-xhtml                Boolean    no, yes                                 
output-xml                  Boolean    no, yes                                 
preserve-entities           Boolean    no, yes                                 
priority-attributes         Attribute  attributeX, attributeY, ...             
                            s Names                                            
punctuation-wrap            Boolean    no, yes                                 
quiet                       Boolean    no, yes                                 
quote-ampersand             Boolean    no, yes                                 
quote-marks                 Boolean    no, yes                                 
quote-nbsp                  Boolean    no, yes                                 
repeated-attributes         Enum       keep-first, keep-last                   
replace-color               Boolean    no, yes                                 
show-body-only              Enum       no, yes, auto                           
show-errors                 Integer    0, 1, 2, ...                            
show-info                   Boolean    no, yes                                 
show-meta-change            Boolean    no, yes                                 
show-warnings               Boolean    no, yes                                 
skip-nested                 Boolean    no, yes                                 
sort-attributes             Enum       none, alpha                             
strict-tags-attributes      Boolean    no, yes                                 
tab-size                    Integer    0, 1, 2, ...                            
tidy-mark                   Boolean    no, yes                                 
uppercase-attributes        Enum       no, yes, preserve                       
uppercase-tags              Boolean    no, yes                                 
vertical-space              Enum       no, yes, auto                           
warn-proprietary-attributes Boolean    no, yes                                 
word-2000                   Boolean    no, yes                                 
wrap                        Integer    0 (no wrapping), 1, 2, ...              
wrap-asp                    Boolean    no, yes                                 
wrap-attributes             Boolean    no, yes                                 
wrap-jste                   Boolean    no, yes                                 
wrap-php                    Boolean    no, yes                                 
wrap-script-literals        Boolean    no, yes                                 
wrap-sections               Boolean    no, yes                                 
write-back                  Boolean    no, yes                                 

Last updated