/*! \page featured_options Featured Options \section indenting Indenting output for readability Indenting the source markup of an HTML document makes the markup easier to read. Tidy can indent the markup for an HTML document while recognizing elements whose contents should not be indented. In the example below, Tidy indents the output while preserving the formatting of the `
` element: Input: \code{.html}Test document This example shows how Tidy can indent output while preserving formatting of particular elements.
This is genuine preformatted text\endcode Output: \code{.html}Test document This example shows how Tidy can indent output while preserving formatting of particular elements.
This is genuine preformatted text\endcode Tidy’s indenting behavior is not perfect and can sometimes cause your output to be rendered by browsers in a different way than the input. You can avoid unexpected indenting-related rendering problems by setting `indent:no` or `indent:auto` in a config file. \note Preserving original indenting not possible
Tidy is not capable of preserving the original indenting of the markup from the input it receives. That’s because Tidy starts by building a clean parse tree from the input, and that parse tree doesn’t contain any information about the original indenting. Tidy then pretty-prints the parse tree using the current config settings. Trying to preserve the original indenting from the input would interact badly with the repair operations needed to build a clean parse tree, and would considerably complicate the code. \section encodings Encodings and character references Tidy defaults to assuming you want output to be encoded in `UTF-8`. But Tidy offers you a choice of other character encodings: `US ASCII`, `ISO Latin-1`, and the `ISO 2022` family of 7 bit encodings. Tidy doesn’t yet recognize the use of the HTML `` element for specifying the character encoding. The full set of HTML character references are defined. Cleaned-up output uses named character references for characters when appropriate. Otherwise, characters outside the normal range are output as numeric character references. \section accessibility Accessibility Tidy offers advice on potential accessibility problems for people using non-graphical browsers. \section cleaning_presentational Cleaning up presentational markup Some tools generate HTML with presentational elements such as ``, ``, and ` `. Tidy’s -clean option will replace those elements with `