PTHPasteboard icon

Tidy HTML Filter

The Tidy HTML filter runs the input text through the tidy library and outputs well formatted HTML.

setting description
Only Body Enabling this setting will cause only the body portion of the HTML to be generated.
Doc Type This setting controls what DocType is set to at the HTML header.
Output Type This setting controls whether the generated output is HTML, XML or XHTML.
Encoding This setting controls which Encoding to use when generating output.
Indent This setting causes the generated HTML to be indented.
Wrap Turning this on will wrap lines longer then Wrap Length characters.
Wrap Length Any lines longer then this setting will be wrapped.
Display Errors When enabled any errors will be displayed.
Display Warnings When enabled any warnings will be displayed.
input output options
A&B > C. A&B > C. Only Body
A&B > C. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
  <head>
    <title></title>
  </head>
  <body>
    A&amp;B &gt; C.
  </body>
</html>
Indent
<tr><td>1</td><td>2</td></tr> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title></title>
  </head>
  <body>
    <table>
      <tr>
        <td>
          1
        </td>
        <td>
          2
        </td>
      </tr>
    </table>
  </body>
</html>
Doc Type = Script
Output Type = XHTML
Indent

See also