# Author: Robert Lie (mobilefish.com) # # This file contains a few tidy configuration options. # More information about the HTML tidy configuration options can be found at: # http://tidy.sourceforge.net/docs/quickref.html # ============================================================================ # This option specifies the right margin Tidy uses for line wrapping. # Tidy tries to wrap lines so that they do not exceed this length. # Set wrap to zero if you want to disable line wrapping. wrap: 0 # This option specifies if Tidy should print out comments. hide-comments: yes # This option specifies if Tidy should indent block-level tags. # If set to "auto", this option causes Tidy to decide whether or not to indent # the content of tags such as TITLE, H1-H6, LI, TD, TD, or P depending on # whether or not the content includes a block-level element. You are advised # to avoid setting indent to yes as this can expose layout bugs in some # browsers. indent: no # This option specifies the number of columns that Tidy uses between successive # tab stops. It is used to map tabs to spaces when reading the input. # Tidy never outputs tabs. tab-size: 1 # This option specifies if Tidy should add a meta element to the document head # to indicate that the document has been tidied. Tidy won't add a meta element # if one is already present. tidy-mark: no # This option specifies the character encoding Tidy uses for both the input # and output. For ascii, Tidy will accept Latin-1 (ISO-8859-1) character # values, but will use entities for all characters whose value > 127. # For raw, Tidy will output values above 127 without translating them into # entities. For latin1, characters above 255 will be written as entities. # For utf8, Tidy assumes that both input and output is encoded as UTF-8. # You can use iso2022 for files encoded using the ISO-2022 family of encodings # e.g. ISO-2022-JP. For mac and win1252, Tidy will accept vendor specific # character values, but will use entities for all characters whose value > 127. char-encoding: latin1 # This option specifies the character encoding Tidy uses for the input. # See char-encoding for more info. input-encoding: latin1 # This option specifies the character encoding Tidy uses for the output. # See char-encoding for more info. May only be different from input-encoding # for Latin encodings (ascii, latin1, mac, win1252). output-encoding: latin1 # This option specifies if Tidy should generate pretty printed output, # writing it as extensible HTML. This option causes Tidy to set the # DOCTYPE and default namespace as appropriate to XHTML. If a DOCTYPE or # namespace is given they will checked for consistency with the content # of the document. In the case of an inconsistency, the corrected values # will appear in the output. For XHTML, entities can be written as named # or numeric entities according to the setting of the "numeric-entities" # option. The original case of tags and attributes will be preserved, # regardless of other options. output-xhtml: yes # This option specifies if Tidy should write back the tidied markup to the # same file it read from. You are advised to keep copies of important files # before tidying them, as on rare occasions the result may not be what you # expect. write-back: yes # This option specifies if Tidy should output the summary of the numbers # of errors and warnings, or the welcome or informational messages. quiet: yes