22 #pragma execution_character_set("utf-8") 78 "This option specifies what level of accessibility checking, if any, " 79 "that Tidy should perform. " 81 "Level <var>0 (Tidy Classic)</var> is equivalent to Tidy Classic's accessibility " 84 "For more information on Tidy's accessibility checking, visit " 85 "<a href=\"http://www.html-tidy.org/accessibility/\"> Tidy's Accessibility Page</a>. " 96 "This option specifies the default <code>alt=</code> text Tidy uses for " 97 "<code><img></code> attributes when the <code>alt=</code> attribute " 100 "Use with care, as it is your responsibility to make your documents accessible " 101 "to people who cannot see the images. " 112 "This option controls the deletion or addition of the <code>name</code> " 113 "attribute in elements where it can serve as anchor. " 115 "If set to <var>yes</var> a <code>name</code> attribute, if not already " 116 "existing, is added along an existing <code>id</code> attribute if the DTD " 119 "If set to <var>no</var> any existing name attribute is removed if an " 120 "<code>id</code> attribute exists or has been added. " 131 "Can be used to modify behavior of the <code>clean</code> option when set " 132 "to <var>yes</var>. " 134 "If set to <var>yes</var> when using <code>clean</code>, " 135 "<code>&emdash;</code>, <code>&rdquo;</code>, and other named " 136 "character entities are downgraded to their closest ASCII equivalents. " 147 "This option specifies new block-level tags. This option takes a space or " 148 "comma separated list of tag names. " 150 "Unless you declare new tags, Tidy will refuse to generate a tidied file if " 151 "the input includes previously unknown tags. " 153 "Note you can't change the content model for elements such as " 154 "<code><table></code>, <code><ul></code>, " 155 "<code><ol></code> and <code><dl></code>. " 157 "This option is ignored in XML mode. " 168 "This option specifies if Tidy should print only the contents of the " 169 "body tag as an HTML fragment. " 171 "If set to <var>auto</var>, this is performed only if the body tag has " 174 "Useful for incorporating existing whole pages as a portion of another " 177 "This option has no effect if XML output is requested. " 188 "This option specifies if Tidy should output a line break before each " 189 "<code><br></code> element. " 200 "This option specifies the character encoding Tidy uses for input, and " 201 "when set, automatically chooses an appropriate character encoding to " 202 "be used for output. The output encoding Tidy chooses may be different " 203 "from the input encoding. " 205 "For <var>ascii</var>, <var>latin0</var>, <var>ibm858</var>, " 206 "<var>mac</var>, and <var>win1252</var> input encodings, the " 207 "<code>output-encoding</code> option will automatically be set to " 208 "<var>ascii</var>. You can set <code>output-encoding</code> manually " 211 "For other input encodings, the <code>output-encoding</code> option " 212 "will automatically be set to the the same value. " 214 "Regardless of the preset value, you can set " 215 "<code>output-encoding</code> manually to override this. " 217 "Tidy is not an encoding converter. Although the Latin and UTF " 218 "encodings can be mixed freely, it is not possible to convert Asian " 219 "encodings to Latin encodings with Tidy. " 230 "This option specifies if Tidy should coerce a start tag into an end tag " 231 "in cases where it looks like an end tag was probably intended; " 232 "for example, given " 234 "<code><span>foo <b>bar<b> baz</span></code> " 238 "<code><span>foo <b>bar</b> baz</span></code> " 249 "This option specifies the prefix that Tidy uses for styles rules. " 251 "By default, <var>c</var> will be used. " 262 "This option specifies if Tidy should decorate inferred " 263 "<code><ul></code> elements with some CSS markup to avoid indentation " 275 "This option specifies the DOCTYPE declaration generated by Tidy. " 277 "If set to <var>omit</var> the output won't contain a DOCTYPE " 278 "declaration. Note this this also implies <code>numeric-entities</code> is " 279 "set to <var>yes</var>." 281 "If set to <var>html5</var> the DOCTYPE is set to " 282 "<code><!DOCTYPE html></code>." 284 "If set to <var>auto</var> (the default) Tidy will use an educated guess " 285 "based upon the contents of the document. Note that selecting this option " 286 "will <em>not</em> change the current document's DOCTYPE on output. " 288 "If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or " 291 "If set to <var>loose</var>, the DOCTYPE is set to the HTML4 or XHTML1 " 292 "loose (transitional) DTD." 294 "Alternatively, you can supply a string for the formal public identifier " 299 "<code>doctype: \"-//ACME//DTD HTML 3.14159//EN\"</code>" 301 "If you specify the FPI for an XHTML document, Tidy will set the " 302 "system identifier to an empty string. For an HTML document, Tidy adds a " 303 "system identifier only if one was already present in order to preserve " 304 "the processing mode of some browsers. Tidy leaves the DOCTYPE for " 305 "generic XML documents unchanged. " 307 "This option does not offer a validation of document conformance. " 318 "This option specifies if Tidy should discard empty elements. " 329 "This option specifies if Tidy should discard empty paragraphs. " 340 "This option specifies if Tidy should strip out proprietary attributes, " 341 "such as Microsoft data binding attributes. Additionally attributes " 342 "that aren't permitted in the output version of HTML will be dropped " 343 "if used with <code>strict-tags-attributes</code>. " 354 "This option specifies if Tidy should keep the first or last attribute, if " 355 "an attribute is repeated, e.g. has two <code>align</code> attributes. " 366 "This option specifies if Tidy should change the format for reporting " 367 "errors and warnings to a format that is more easily parsed by GNU Emacs. " 378 "This option specifies new empty inline tags. This option takes a space " 379 "or comma separated list of tag names. " 381 "Unless you declare new tags, Tidy will refuse to generate a tidied file if " 382 "the input includes previously unknown tags. " 384 "Remember to also declare empty tags as either inline or blocklevel. " 386 "This option is ignored in XML mode. " 397 "This option specifies if Tidy should insert a <code><p></code> " 398 "element to enclose any text it finds in any element that allows mixed " 399 "content for HTML transitional but not HTML strict. " 410 "This option specifies if Tidy should enclose any text it finds in the " 411 "body element within a <code><p></code> element." 413 "This is useful when you want to take existing HTML and use it with a " 425 "This option specifies the error file Tidy uses for errors and warnings. " 426 "Normally errors and warnings are output to <code>stderr</code>. " 437 "This option specifies if Tidy should convert " 438 "<code><![CDATA[]]></code> sections to normal text. " 449 "This option causes items that look like closing tags, like " 450 "<code></g</code> to be escaped to <code><\\/g</code>. Set " 451 "this option to <var>no</var> if you do not want this." 462 "This option specifies if Tidy should replace backslash characters " 463 "<code>\\</code> in URLs with forward slashes <code>/</code>. " 474 "This option specifies if Tidy should replace unexpected hyphens with " 475 "<code>=</code> characters when it comes across adjacent hyphens. " 477 "The default is <var>auto</var> will which will act as <var>no</var> " 478 "for HTML5 document types, and <var>yes</var> for all other document " 481 "HTML has abandonded SGML comment syntax, and allows adjacent hypens " 482 "for all versions of HTML, although XML and XHTML do not. If you plan " 483 "to support older browsers that require SGML comment syntax, then " 484 "consider setting this value to <var>yes</var>." 495 "This option specifies if Tidy should check attribute values that carry " 496 "URIs for illegal characters and if such are found, escape them as HTML4 " 508 "This option specifies if Tidy should produce output even if errors are " 511 "Use this option with care; if Tidy reports an error, this " 512 "means Tidy was not able to (or is not sure how to) fix the error, so the " 513 "resulting output may not reflect your intention. " 524 "This option specifies if Tidy should enable specific behavior for " 525 "cleaning up HTML exported from Google Docs. " 536 "This option specifies if Tidy should print out comments. " 547 "This option specifies if Tidy should generate pretty printed output, " 548 "writing it as HTML. " 559 "This option specifies the character encoding Tidy uses for input. " 560 "Tidy makes certain assumptions about some of the input encodings. " 562 "For <var>ascii</var>, Tidy will accept Latin-1 (ISO-8859-1) character " 563 "values and convert them to entities as necessary. " 565 "For <var>raw</var>, Tidy will make no assumptions about the character " 566 "values and will pass them unchanged to output. " 568 "For <var>mac</var> and <var>win1252</var>, vendor specific characters " 569 "values will be accepted and converted to entities as necessary. " 571 "Asian encodings such as <var>iso2022</var> will be handled " 572 "appropriately assuming the corresponding <code>output-encoding</code> " 573 "is also specified. " 575 "Tidy is not an encoding converter. Although the Latin and UTF " 576 "encodings can be mixed freely, it is not possible to convert Asian " 577 "encodings to Latin encodings with Tidy. " 588 "This option specifies if Tidy should begin each attribute on a new line. " 599 "This option specifies if Tidy should indent " 600 "<code><![CDATA[]]></code> sections. " 611 "This option specifies if Tidy should indent block-level tags. " 613 "If set to <var>auto</var> Tidy will decide whether or not to indent the " 614 "content of tags such as <code><title></code>, " 615 "<code><h1></code>-<code><h6></code>, <code><li></code>, " 616 "<code><td></code>, or <code><p></code> " 617 "based on the content including a block-level element. " 619 "Setting <code>indent</code> to <var>yes</var> can expose layout bugs in " 622 "Use the option <code>indent-spaces</code> to control the number of spaces " 623 "or tabs output per level of indent, and <code>indent-with-tabs</code> to " 624 "specify whether spaces or tabs are used. " 635 "This option specifies the number of spaces or tabs that Tidy uses to " 636 "indent content when <code>indent</code> is enabled. " 638 "Note that the default value for this option is dependent upon the value of " 639 "<code>indent-with-tabs</code> (see also). " 650 "This option specifies new non-empty inline tags. This option takes a " 651 "space or comma separated list of tag names. " 653 "Unless you declare new tags, Tidy will refuse to generate a tidied file if " 654 "the input includes previously unknown tags. " 656 "This option is ignored in XML mode. " 667 "This option specifies if Tidy should combine class names to generate " 668 "a single, new class name if multiple class assignments are detected on " 680 "This option specifies if Tidy should combine styles to generate a single, " 681 "new style if multiple style values are detected on an element. " 692 "This option specifies if Tidy should keep the original modification time " 693 "of files that Tidy modifies in place. " 695 "Setting the option to <var>yes</var> allows you to tidy files without " 696 "changing the file modification date, which may be useful with certain " 697 "tools that use the modification date for things such as automatic server " 700 "Note this feature is not supported on some platforms. " 711 "With the default <var>no</var> Tidy will replace all source tabs with spaces, " 712 "controlled by the option <code>tab-size</code>, and the current line offset. " 713 "Of course, except in the special blocks/elements enumerated below, this will later " 714 "be reduced to just one space. " 716 "If set <var>yes</var> this option specifies Tidy should keep certain tabs " 717 "found in the source, but only " 718 "in preformatted blocks like <code><pre></code>, and other CDATA elements like " 719 "<code><script></code>, <code><style></code>, and other pseudo elements like " 720 "<code><?php ... ?></code>. As always, all other tabs, or sequences of tabs, in " 721 "the source will continue to be replaced with a space. " 732 "This option specifies how Tidy deals with whitespace characters within " 735 "If the value is <var>no</var> Tidy normalizes attribute values by " 736 "replacing any newline or tab with a single space, and further by replacing " 737 "any contiguous whitespace with a single space. " 739 "To force Tidy to preserve the original, literal values of all attributes " 740 "and ensure that whitespace within attribute values is passed " 741 "through unchanged, set this option to <var>yes</var>. " 752 "This option specifies if Tidy should replace any occurrence of " 753 "<code><i></code> with <code><em></code> and any occurrence of " 754 "<code><b></code> with <code><strong></code>. Any attributes " 755 "are preserved unchanged. " 757 "This option can be set independently of the <code>clean</code> option. " 768 "This option specifies if Tidy should convert the value of an attribute " 769 "that takes a list of predefined values to lower case. " 771 "This is required for XHTML documents. " 782 "This option specifies if Tidy should strip Microsoft specific HTML " 783 "from Word 2000 documents, and output spaces rather than non-breaking " 784 "spaces where they exist in the input. " 795 "This option specifies if Tidy should perform cleaning of some legacy " 796 "presentational tags (currently <code><i></code>, " 797 "<code><b></code>, <code><center></code> when enclosed " 798 "within appropriate inline tags, and <code><font></code>). If " 799 "set to <var>yes</var>, then the legacy tags will be replaced with CSS " 800 "<code><style></code> tags and structural markup as appropriate. " 811 "This option specifies if Tidy should add a <code>meta</code> element to " 812 "the document head to indicate that the document has been tidied. " 814 "Tidy won't add a meta element if one is already present. " 825 "This option can be used to modify the behavior of <code>clean</code> when " 826 "set to <var>yes</var>." 828 "This option specifies if Tidy should merge nested <code><div></code> " 829 "such as <code><div><div>...</div></div></code>. " 831 "If set to <var>auto</var> the attributes of the inner " 832 "<code><div></code> are moved to the outer one. Nested " 833 "<code><div></code> with <code>id</code> attributes are <em>not</em> " 836 "If set to <var>yes</var> the attributes of the inner " 837 "<code><div></code> are discarded with the exception of " 838 "<code>class</code> and <code>style</code>. " 849 "This option specifies if Tidy should merge nested <code><b></code> " 850 "and <code><i></code> elements; for example, for the case " 852 "<code><b class=\"rtop-2\">foo <b class=\"r2-2\">bar</b> baz</b></code>, " 854 "Tidy will output <code><b class=\"rtop-2\">foo bar baz</b></code>. " 865 "This option can be used to modify the behavior of <code>clean</code> when " 866 "set to <var>yes</var>." 868 "This option specifies if Tidy should merge nested <code><span></code> " 869 "such as <code><span><span>...</span></span></code>. " 871 "The algorithm is identical to the one used by <code>merge-divs</code>. " 882 "This option specifies if Tidy should allow numeric character references. " 893 "The default is appropriate to the current platform. " 895 "Genrally <var>CRLF</var> on PC-DOS, Windows and OS/2; <var>CR</var> " 896 "on Classic Mac OS; and <var>LF</var> everywhere else (Linux, macOS, " 908 "This option specifies if Tidy should output entities other than the " 909 "built-in HTML entities (<code>&amp;</code>, <code>&lt;</code>, " 910 "<code>&gt;</code>, and <code>&quot;</code>) in the numeric rather " 911 "than the named entity form. " 913 "Only entities compatible with the DOCTYPE declaration generated are used. " 915 "Entities that can be represented in the output encoding are translated " 927 "This option specifies if Tidy should omit optional start tags and end tags " 928 "when generating output. " 930 "Setting this option causes all tags for the <code><html></code>, " 931 "<code><head></code>, and <code><body></code> elements to be " 932 "omitted from output, as well as such end tags as <code></p></code>, " 933 "<code></li></code>, <code></dt></code>, " 934 "<code></dd></code>, <code></option></code>, " 935 "<code></tr></code>, <code></td></code>, and " 936 "<code></th></code>. " 938 "This option is ignored for XML output. " 949 "This option specifies the character encoding Tidy uses for " 950 "output. Some of the output encodings affect whether or not " 951 "some characters are translated to entities, although in all " 952 "cases, some entities will be written according to other Tidy " 953 "configuration options. " 955 "For <var>ascii</var>, <var>mac</var>, and <var>win1252</var> " 956 "output encodings, entities will be used for all characters " 957 "with values over 127. " 959 "For <var>raw</var> output, Tidy will write values above 127 " 960 "without translating them to entities. " 962 "Output using <var>latin1</var> will cause Tidy to write " 963 "character values higher than 255 as entities. " 965 "The UTF family such as <var>utf8</var> will write output " 966 "in the respective UTF encoding. " 968 "Asian output encodings such as <var>iso2022</var> will write " 969 "output in the specified encoding, assuming a corresponding " 970 "<code>input-encoding</code> was specified. " 972 "Tidy is not an encoding converter. Although the Latin and UTF " 973 "encodings can be mixed freely, it is not possible to convert Asian " 974 "encodings to Latin encodings with Tidy. " 985 "This option specifies the output file Tidy uses for markup. Normally " 986 "markup is written to <code>stdout</code>. " 997 "This option specifies if Tidy should write a Unicode Byte Order Mark " 998 "character (BOM; also known as Zero Width No-Break Space; has value of " 999 "U+FEFF) to the beginning of the output, and only applies to UTF-8 and " 1000 "UTF-16 output encodings. " 1002 "If set to <var>auto</var> this option causes Tidy to write a BOM to " 1003 "the output only if a BOM was present at the beginning of the input. " 1005 "A BOM is always written for XML/XHTML output using UTF-16 output " 1017 "This option specifies if Tidy should indent with tabs instead of spaces, " 1018 "assuming <code>indent</code> is <var>yes</var>. " 1020 "Set it to <var>yes</var> to indent using tabs instead of the default " 1023 "Use the option <code>indent-spaces</code> to control the number of tabs " 1024 "output per level of indent. Note that when <code>indent-with-tabs</code> " 1025 "is enabled the default value of <code>indent-spaces</code> is reset to " 1028 "Note <code>tab-size</code> controls converting input tabs to spaces. Set " 1029 "it to zero to retain input tabs. " 1040 "This option specifies if Tidy should preserve well-formed entities " 1041 "as found in the input. " 1052 "This option specifies new tags that are to be processed in exactly the " 1053 "same way as HTML's <code><pre></code> element. This option takes a " 1054 "space or comma separated list of tag names. " 1056 "Unless you declare new tags, Tidy will refuse to generate a tidied file if " 1057 "the input includes previously unknown tags. " 1059 "Note you cannot as yet add new CDATA elements. " 1061 "This option is ignored in XML mode. " 1072 "This option allows prioritizing the writing of attributes in tidied " 1073 "documents, allowing them to written before the other attributes of an " 1074 "element. For example, you might specify that <strong>id</strong> and " 1075 "<strong>name</strong> are written before every other attribute. " 1077 "This option takes a space or comma separated list of attribute names. " 1088 "This option specifies if Tidy should line wrap after some Unicode or " 1089 "Chinese punctuation characters. " 1100 "When enabled, this option limits Tidy's non-document output to report " 1101 "only document warnings and errors. " 1112 "This option specifies if Tidy should output unadorned <code>&</code> " 1113 "characters as <code>&amp;</code>. " 1124 "This option specifies if Tidy should output <code>"</code> characters " 1125 "as <code>&quot;</code> as is preferred by some editing environments. " 1127 "The apostrophe character <code>'</code> is written out as " 1128 "<code>&#39;</code> since many web browsers don't yet support " 1129 "<code>&apos;</code>. " 1140 "This option specifies if Tidy should output non-breaking space characters " 1141 "as entities, rather than as the Unicode character value 160 (decimal). " 1152 "This option specifies if Tidy should replace numeric values in color " 1153 "attributes with HTML/XHTML color names where defined, e.g. replace " 1154 "<code>#ffffff</code> with <code>white</code>. " 1165 "This option specifies the number Tidy uses to determine if further errors " 1166 "should be shown. If set to <var>0</var>, then no errors are shown. " 1177 "This option specifies if Tidy should display info-level messages. " 1188 "This option specifies if Tidy should generate a pretty printed version " 1189 "of the markup. Note that Tidy won't generate a pretty printed version if " 1190 "it finds significant errors (see <code>force-output</code>). " 1201 "This option specifies if Tidy should suppress warnings. This can be " 1202 "useful when a few errors are hidden in a flurry of warnings. " 1213 "This option specifies that Tidy should skip nested tags when parsing " 1214 "script and style data. " 1225 "This option specifies that Tidy should sort attributes within an element " 1226 "using the specified sort algorithm. If set to <var>alpha</var>, the " 1227 "algorithm is an ascending alphabetic sort. " 1229 "When used while sorting with <code>priority-attributes</code>, any " 1230 "attribute sorting will take place after the priority attributes have " 1242 "Use this option to prevent Tidy from displaying certain types of " 1243 "report output, for example, for conditions that you wish to ignore. " 1245 "This option takes a list of one or more keys indicating the message " 1246 "type to mute. You can discover these message keys by using the " 1247 "<code>mute-id</code> configuration option and examining Tidy's " 1259 "This option indicates whether or not Tidy should display message ID's " 1260 "with each of its error reports. This could be useful if you wanted to " 1261 "use the <code>mute</code> configuration option in order to filter " 1262 "out certain report messages. " 1273 "This options ensures that tags and attributes are applicable for the " 1274 "version of HTML that Tidy outputs. When set to <var>yes</var> and the " 1275 "output document type is a strict doctype, then Tidy will report " 1276 "errors. If the output document type is a loose or transitional " 1277 "doctype, then Tidy will report warnings. " 1279 "Additionally if <code>drop-proprietary-attributes</code> is enabled, " 1280 "then not applicable attributes will be dropped, too. " 1282 "When set to <var>no</var>, these checks are not performed. " 1293 "This option specifies the number of columns that Tidy uses between " 1294 "successive tab stops. It is used to map tabs to spaces when reading the " 1306 "This option specifies if Tidy should output attribute names in upper " 1309 "When set to <var>no</var>, attribute names will be written in lower " 1310 "case. Specifying <var>yes</var> will output attribute names in upper " 1311 "case, and <var>preserve</var> can used to leave attribute names " 1314 "When using XML input, the original case is always preserved. " 1325 "This option specifies if Tidy should output tag names in upper case. " 1327 "The default is <var>no</var> which results in lower case tag names, " 1328 "except for XML input where the original case is preserved. " 1339 "This option enables the use of tags for autonomous custom elements, " 1340 "e.g. <code><flag-icon></code> with Tidy. Custom tags are " 1341 "disabled if this value is <var>no</var>. Other settings - " 1342 "<var>blocklevel</var>, <var>empty</var>, <var>inline</var>, and " 1343 "<var>pre</var> will treat <em>all</em> detected custom tags " 1346 "The use of <code>new-blocklevel-tags</code>, " 1347 "<code>new-empty-tags</code>, <code>new-inline-tags</code>, or " 1348 "<code>new-pre-tags</code> will override the treatment of custom tags " 1349 "by this configuration option. This may be useful if you have " 1350 "different types of custom tags." 1352 "When enabled these tags are determined during the processing of your " 1353 "document using opening tags; matching closing tags will be recognized " 1354 "accordingly, and unknown closing tags will be discarded. " 1365 "This option specifies if Tidy should add some extra empty lines for " 1368 "The default is <var>no</var>. " 1370 "If set to <var>auto</var> Tidy will eliminate nearly all newline " 1382 "This option specifies if Tidy should warn on proprietary attributes." 1393 "This option specifies if Tidy should go to great pains to strip out " 1394 "all the surplus stuff Microsoft Word 2000 inserts when you save Word " 1395 "documents as \"Web pages\". It doesn't handle embedded images or VML. " 1397 "You should consider saving using Word's <strong>Save As...</strong>, " 1398 "and choosing <strong>Web Page, Filtered</strong>. " 1409 "This option specifies if Tidy should line wrap text contained within ASP " 1410 "pseudo elements, which look like: <code><% ... %></code>. " 1421 "This option specifies if Tidy should line-wrap attribute values, meaning " 1422 "that if the value of an attribute causes a line to exceed the width " 1423 "specified by <code>wrap</code>, Tidy will add one or more line breaks to " 1424 "the value, causing it to be wrapped into multiple lines. " 1426 "Note that this option can be set independently of " 1427 "<code>wrap-script-literals</code>. " 1428 "By default Tidy replaces any newline or tab with a single space and " 1429 "replaces any sequences of whitespace with a single space. " 1431 "To force Tidy to preserve the original, literal values of all attributes, " 1432 "and ensure that whitespace characters within attribute values are passed " 1433 "through unchanged, set <code>literal-attributes</code> to " 1445 "This option specifies if Tidy should line wrap text contained within " 1446 "JSTE pseudo elements, which look like: <code><# ... #></code>. " 1457 "This option specifies the right margin Tidy uses for line wrapping. " 1459 "Tidy tries to wrap lines so that they do not exceed this length. " 1461 "Set <code>wrap</code> to <var>0</var> (zero) if you want to disable " 1473 "This option specifies if Tidy should line wrap text contained within PHP " 1474 "pseudo elements, which look like: <code><?php ... ?></code>. " 1485 "This option specifies if Tidy should line wrap string literals that " 1486 "appear in script attributes. " 1488 "Tidy wraps long script string literals by inserting a backslash character " 1489 "before the line break. " 1500 "This option specifies if Tidy should line wrap text contained within " 1501 "<code><![ ... ]></code> section tags. " 1512 "This option specifies if Tidy should write back the tidied markup to the " 1513 "same file it read from. " 1515 "You are advised to keep copies of important files before tidying them, as " 1516 "on rare occasions the result may not be what you expect. " 1527 "This option specifies if Tidy should generate pretty printed output, " 1528 "writing it as extensible HTML. " 1530 "This option causes Tidy to set the DOCTYPE and default namespace as " 1531 "appropriate to XHTML, and will use the corrected value in output " 1532 "regardless of other sources. " 1534 "For XHTML, entities can be written as named or numeric entities according " 1535 "to the setting of <code>numeric-entities</code>. " 1537 "The original case of tags and attributes will be preserved, regardless of " 1549 "This option specifies if Tidy should add the XML declaration when " 1550 "outputting XML or XHTML. " 1552 "Note that if the input already includes an <code><?xml ... ?></code> " 1553 "declaration then this option will be ignored. " 1555 "If the encoding for the output is different from <var>ascii</var>, one " 1556 "of the <var>utf*</var> encodings, or <var>raw</var>, then the " 1557 "declaration is always added as required by the XML standard. " 1568 "This option specifies if Tidy should pretty print output, writing it as " 1571 "Any entities not defined in XML 1.0 will be written as numeric entities to " 1572 "allow them to be parsed by an XML parser. " 1574 "The original case of tags and attributes will be preserved, regardless of " 1586 "This option specifies if Tidy should change the parsing of processing " 1587 "instructions to require <code>?></code> as the terminator rather than " 1588 "<code>></code>. " 1590 "This option is automatically set if the input is in XML. " 1601 "This option specifies if Tidy should add " 1602 "<code>xml:space=\"preserve\"</code> to elements such as " 1603 "<code><pre></code>, <code><style></code> and " 1604 "<code><script></code> when generating XML. " 1606 "This is needed if the whitespace in such elements is to " 1607 "be parsed appropriately without having access to the DTD. " 1618 "This option specifies if Tidy should use the XML parser rather than the " 1619 "error correcting HTML parser. " 1630 "This option, when enabled, adds a <code><meta></code> element " 1631 "and sets the <code>charset</code> attribute to the encoding of the " 1632 "document. Set this option to <var>yes</var> to enable it. " 1643 "This option enables a message whenever Tidy changes the " 1644 "<code>content</code> attribute of a meta charset declaration to match " 1645 "the encoding of the document. Set this option to <var>yes</var> to " 1657 "This option specifies if Tidy should move all style tags to the " 1658 "head of the document. " 1716 TEXT_HTML_T_ALGORITHM, 0,
1718 " - First, search left from the cell's position to find row header cells.\n" 1719 " - Then search upwards to find column header cells.\n" 1720 " - The search in a given direction stops when the edge of the table is\n" 1721 " reached or when a data cell is found after a header cell.\n" 1722 " - Row headers are inserted into the list in the order they appear in\n" 1724 " - For left-to-right tables, headers are inserted from left to right.\n" 1725 " - Column headers are inserted after row headers, in \n" 1726 " the order they appear in the table, from top to bottom. \n" 1727 " - If a header cell has the headers attribute set, then the headers \n" 1728 " referenced by this attribute are inserted into the list and the \n" 1729 " search stops for the current direction.\n" 1730 " TD cells that set the axis attribute are also treated as header cells.\n" 1734 TEXT_VENDOR_CHARS, 0,
1735 "It is unlikely that vendor-specific, system-dependent encodings\n" 1736 "work widely enough on the World Wide Web; you should avoid using the \n" 1737 "%s character encoding, instead you are recommended to\n" 1738 "use named entities, e.g. ™.\n" 1744 "Character codes 128 to 159 (U+0080 to U+009F) are not allowed in HTML;\n" 1745 "even if they were, they would likely be unprintable control characters.\n" 1746 "Tidy assumed you wanted to refer to a character with the same byte value in the \n" 1747 "%s encoding and replaced that reference with the Unicode \n" 1751 TEXT_INVALID_UTF8, 0,
1752 "Character codes for UTF-8 must be in the range: U+0000 to U+10FFFF.\n" 1753 "The definition of UTF-8 in Annex D of ISO/IEC 10646-1:2000 also\n" 1754 "allows for the use of five- and six-byte sequences to encode\n" 1755 "characters that are outside the range of the Unicode character set;\n" 1756 "those five- and six-byte sequences are illegal for the use of\n" 1757 "UTF-8 as a transformation of Unicode characters. ISO/IEC 10646\n" 1758 "does not allow mapping of unpaired surrogates, nor U+FFFE and U+FFFF\n" 1759 "(but it does allow other noncharacters). For more information please refer to\n" 1760 "http://www.unicode.org/ and http://www.cl.cam.ac.uk/~mgk25/unicode.html\n" 1763 TEXT_INVALID_UTF16, 0,
1764 "Character codes for UTF-16 must be in the range: U+0000 to U+10FFFF.\n" 1765 "The definition of UTF-16 in Annex C of ISO/IEC 10646-1:2000 does not allow the\n" 1766 "mapping of unpaired surrogates. For more information please refer to\n" 1767 "http://www.unicode.org/ and http://www.cl.cam.ac.uk/~mgk25/unicode.html\n" 1771 TEXT_INVALID_URI, 0,
1772 "URIs must be properly escaped, they must not contain unescaped\n" 1773 "characters below U+0021 including the space character and not\n" 1774 "above U+007E. Tidy escapes the URI for you as recommended by\n" 1775 "HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents\n" 1776 "use another algorithm to escape such URIs and some server-sided\n" 1777 "scripts depend on that. If you want to depend on that, you must\n" 1778 "escape the URI on your own. For more information please refer to\n" 1779 "http://www.w3.org/International/O-URL-and-ident.html\n" 1783 "You may need to move one or both of the <form> and </form>\n" 1784 "tags. HTML elements should be properly nested and form elements\n" 1785 "are no exception. For instance you should not place the <form>\n" 1786 "in one table cell and the </form> in another. If the <form> is\n" 1787 "placed before a table, the </form> cannot be placed inside the\n" 1788 "table! Note that one form can't be nested inside another!\n" 1792 "Only one <main> element is allowed in a document.\n" 1793 "Subsequent <main> elements have been discarded, which may\n" 1794 "render the document invalid.\n" 1798 "The table summary attribute should be used to describe\n" 1799 "the table structure. It is very helpful for people using\n" 1800 "non-visual browsers. The scope and headers attributes for\n" 1801 "table cells are useful for specifying which headers apply\n" 1802 "to each table cell, enabling non-visual browsers to provide\n" 1803 "a meaningful context for each cell.\n" 1806 TEXT_M_IMAGE_ALT, 0,
1807 "The alt attribute should be used to give a short description\n" 1808 "of an image; longer descriptions should be given with the\n" 1809 "longdesc attribute which takes a URL linked to the description.\n" 1810 "These measures are needed for people using non-graphical browsers.\n" 1813 TEXT_M_IMAGE_MAP, 0,
1814 "Use client-side image maps in preference to server-side image\n" 1815 "maps as the latter are inaccessible to people using non-\n" 1816 "graphical browsers. In addition, client-side maps are easier\n" 1817 "to set up and provide immediate feedback to users.\n" 1821 "For hypertext links defined using a client-side image map, you\n" 1822 "need to use the alt attribute to provide a textual description\n" 1823 "of the link for people using non-graphical browsers.\n" 1826 TEXT_USING_FRAMES, 0,
1827 "Pages designed using frames present problems for\n" 1828 "people who are either blind or using a browser that\n" 1829 "doesn't support frames. A frames-based page should always\n" 1830 "include an alternative layout inside a NOFRAMES element.\n" 1833 FOOTNOTE_TRIM_EMPTY_ELEMENT, 0,
1834 "One or more empty elements were present in the source document but\n" 1835 "dropped on output. If these elements are necessary or you don't want\n" 1836 "this behavior, then consider setting the option \"drop-empty-elements\"\n" 1841 TEXT_ACCESS_ADVICE1, 0,
1842 "For further advice on how to make your pages accessible\n" 1843 "see http://www.w3.org/WAI/GL." 1847 TEXT_ACCESS_ADVICE2, 0,
1848 "For further advice on how to make your pages accessible\n" 1849 "see http://www.w3.org/WAI/GL and http://www.html-tidy.org/accessibility/." 1852 TEXT_USING_LAYER, 0,
1853 "The Cascading Style Sheets (CSS) Positioning mechanism\n" 1854 "is recommended in preference to the proprietary <LAYER>\n" 1855 "element due to limited vendor support for LAYER.\n" 1858 TEXT_USING_SPACER, 0,
1859 "You are recommended to use CSS for controlling white\n" 1860 "space (e.g. for indentation, margins and line spacing).\n" 1861 "The proprietary <SPACER> element has limited vendor support.\n" 1865 "You are recommended to use CSS to specify the font and\n" 1866 "properties such as its size and color. This will reduce\n" 1867 "the size of HTML files and make them easier to maintain\n" 1868 "compared with using <FONT> elements.\n" 1872 "You are recommended to use CSS to control line wrapping.\n" 1873 "Use \"white-space: nowrap\" to inhibit wrapping in place\n" 1874 "of inserting <NOBR>...</NOBR> into the markup.\n" 1878 "You are recommended to use CSS to specify page and link colors" 1889 STRING_ERROR_COUNT, 0,
"Tidy found %u %s and %u %s!\n" 1894 "This document has errors that must be fixed before\n" 1895 "using HTML Tidy to generate a tidied up version.\n" 1899 {
STRING_NOT_ALL_SHOWN, 0,
"Tidy found %u %s and %u %s! Not all warnings/errors were shown.\n" },
1903 "About HTML Tidy: https://github.com/htacg/tidy-html5\n" 1904 "Bug reports and comments: https://github.com/htacg/tidy-html5/issues\n" 1905 "Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/\n" 1906 "Latest HTML specification: http://dev.w3.org/html5/spec-author-view/\n" 1907 "Validate your HTML documents: http://validator.w3.org/nu/\n" 1908 "Lobby your company to join the W3C: http://www.w3.org/Consortium\n" 1914 "Do you speak a language other than English, or a different variant of \n" 1915 "English? Consider helping us to localize HTML Tidy. For details please see \n" 1916 "https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md" 1927 {
APOS_UNDEFINED, 0,
"named entity ' only defined in XML/XHTML" },
1935 {
BAD_SUMMARY_HTML5, 0,
"The summary attribute on the %s element is obsolete in HTML5" },
1936 {
BAD_SURROGATE_LEAD, 0,
"Trailing (Low) surrogate pair U+%04X, with no leading (High) entity, replaced with U+FFFD." },
1937 {
BAD_SURROGATE_PAIR, 0,
"Have out-of-range surrogate pair U+%04X:U+%04X, replaced with U+FFFD value." },
1938 {
BAD_SURROGATE_TAIL, 0,
"Leading (High) surrogate pair U+%04X, with no trailing (Low) entity, replaced with U+FFFD." },
1949 {
ENCODING_MISMATCH, 0,
"specified input encoding (%s) does not match actual input encoding (%s)" },
1963 {
INVALID_NCR, 0,
"%s invalid numeric character reference %s" },
1965 {
INVALID_UTF8, 0,
"%s invalid UTF-8 bytes (char. code %s)" },
1966 {
INVALID_UTF16, 0,
"%s invalid UTF-16 surrogate pair (char. code %s)" },
1972 {
MALFORMED_COMMENT_WARN, 0,
"detected adjacent hyphens within the comment; consider fix-bad-comments" },
1996 {
OPTION_REMOVED, 0,
"option \"%s\" no longer exists, and no replacement could be found." },
2031 {
WHITE_IN_URI, 0,
"%s discarding whitespace in URI reference" },
2160 #if SUPPORT_CONSOLE_APP 2175 "do additional accessibility checks (<level> = 0, 1, 2, 3). 0 is " 2176 "assumed if <level> is missing." 2178 {
TC_OPT_ASCII, 0,
"use ISO-8859-1 for input, US-ASCII for output" },
2180 {
TC_OPT_ASXML, 0,
"convert HTML to well formed XHTML" },
2181 {
TC_OPT_BARE, 0,
"strip out smart quotes and em dashes, etc." },
2182 {
TC_OPT_BIG5, 0,
"use Big5 for both input and output" },
2183 {
TC_OPT_CLEAN, 0,
"replace FONT, NOBR and CENTER tags with CSS" },
2184 {
TC_OPT_CONFIG, 0,
"set configuration options from the specified <file>" },
2186 {
TC_OPT_FILE, 0,
"write errors and warnings to the specified <file>" },
2187 {
TC_OPT_GDOC, 0,
"produce clean version of html exported by Google Docs" },
2188 {
TC_OPT_HELP, 0,
"list the command line options" },
2190 {
TC_OPT_HELPENV, 0,
"show information about the environment and runtime configuration" },
2192 {
TC_OPT_IBM858, 0,
"use IBM-858 (CP850+Euro) for input, US-ASCII for output" },
2198 "set Tidy's output language to <lang>. Specify '-language help' for more help. " 2199 "Use before output-causing arguments to ensure the language takes effect, e.g.," 2200 "`tidy -lang es -lang help`." 2203 {
TC_OPT_LATIN0, 0,
"use ISO-8859-15 for input, US-ASCII for output" },
2204 {
TC_OPT_LATIN1, 0,
"use ISO-8859-1 for both input and output" },
2205 {
TC_OPT_MAC, 0,
"use MacRoman for input, US-ASCII for output" },
2207 {
TC_OPT_NUMERIC, 0,
"output numeric rather than named entities" },
2208 {
TC_OPT_OMIT, 0,
"omit optional start tags and end tags" },
2209 {
TC_OPT_OUTPUT, 0,
"write output to the specified <file>" },
2211 {
TC_OPT_RAW, 0,
"output values above 127 without conversion to entities" },
2213 {
TC_OPT_SHOWCFG, 0,
"list the current configuration settings" },
2214 {
TC_OPT_EXP_CFG, 0,
"list the current configuration settings, suitable for a config file" },
2215 {
TC_OPT_EXP_DEF, 0,
"list the default configuration settings, suitable for a config file" },
2217 {
TC_OPT_UTF16, 0,
"use UTF-16 for both input and output" },
2220 {
TC_OPT_UTF8, 0,
"use UTF-8 for both input and output" },
2226 {
TC_OPT_WIN1252, 0,
"use Windows-1252 for input, US-ASCII for output" },
2228 "wrap text at the specified <column>. 0 is assumed if <column> is " 2229 "missing. When this option is omitted, the default of the " 2230 "configuration option 'wrap' applies." 2232 {
TC_OPT_XML, 0,
"specify the input is well formed XML" },
2233 {
TC_OPT_XMLCFG, 0,
"list all configuration options in XML format" },
2234 {
TC_OPT_XMLHELP, 0,
"list the command line options in XML format" },
2240 {
TC_OPT_XMLERRS, 0,
"output error constants and strings in XML format" },
2242 {
TC_OPT_XMLOPTS, 0,
"output option descriptions in XML format" },
2291 "%s [options...] [file...] [options...] [file...]\n" 2292 "Utility to clean up and pretty print HTML/XHTML/XML.\n" 2294 "This is modern HTML Tidy version %s.\n" 2300 "Command Line Arguments for HTML Tidy for %s:" 2304 "Command Line Arguments for HTML Tidy:" 2311 "Tidy Configuration Options\n" 2312 "==========================\n" 2313 " Use Tidy's configuration options as command line arguments in the form\n" 2314 " of \"--some-option <value>\", for example, \"--indent-with-tabs yes\".\n" 2316 " You can also specify a file containing configuration options with the \n" 2317 " -options <file> directive, or in one or more files specific to your \n" 2318 " environment (see next section). \n" 2320 " For a list of all configuration options, use \"-help-config\" or refer\n" 2321 " to the man page (if your OS has one).\n" 2323 "Configuration Files\n" 2324 "===================\n" 2325 " If your environment has an $HTML_TIDY variable set to point to a Tidy \n" 2326 " configuration file, then Tidy will attempt to use it. \n" 2328 " Use \"-help-env\" for more information about how you can use the environment. \n" 2329 " to specify Tidy options. \n" 2333 " Input/Output default to stdin/stdout respectively.\n" 2335 " Single letter options apart from -f may be combined\n" 2336 " as in: tidy -f errs.txt -imu foo.html\n" 2340 " For more information about HTML Tidy, see\n" 2341 " http://www.html-tidy.org/\n" 2343 " For more information on HTML, see the following:\n" 2345 " HTML: Edition for Web Authors (the latest HTML specification)\n" 2346 " http://dev.w3.org/html5/spec-author-view\n" 2348 " HTML: The Markup Language (an HTML language reference)\n" 2349 " http://dev.w3.org/html5/markup/\n" 2351 " File bug reports at https://github.com/htacg/tidy-html5/issues/\n" 2352 " or send questions and comments to public-htacg@w3.org.\n" 2354 " Validate your HTML documents using the W3C Nu Markup Validator:\n" 2355 " http://validator.w3.org/nu/\n" 2363 " Additionally, Tidy will automatically attempt to use configuration specified \n" 2364 " in these files, if present: \n" 2374 "HTML Tidy Configuration Settings\n" 2376 "Within a file, use the form:\n" 2381 "When specified on the command line, use the form:\n" 2383 "--wrap 72 --indent no\n" 2395 "Tidy can configure its option values from multiple sources, in the \n" 2396 "order below. Subsequent use of the same option overrides previous \n" 2397 "option settings. \n" 2399 " - Tidy's built-in default values. \n" 2401 " - The file specified in the $HTML_TIDY environment variable: \n" 2403 " - Options in a file specified on the command line. \n" 2404 " - Options set directly on the command line. \n" 2409 " - The system runtime configuration file: \n" 2411 " - The user runtime configuration file: \n" 2418 "(not currently set)" 2424 "Note that because $HTML_TIDY is set, the user runtime configuration file \n" 2425 "%s will not be used. \n" 2431 "The -language (or -lang) option indicates which language Tidy \n" 2432 "should use to communicate its output. Please note that this is not \n" 2433 "a document translation service, and only affects the messages that \n" 2434 "Tidy communicates to you. \n" 2436 "When used from the command line the -language argument must \n" 2437 "be used before any arguments that result in output, otherwise Tidy \n" 2438 "will produce output before it knows which language to use. \n" 2440 "In addition to standard POSIX language codes, Tidy is capable of \n" 2441 "understanding legacy Windows language codes. Please note that this \n" 2442 "list indicates codes Tidy understands, and does not indicate that \n" 2443 "the language is currently installed. \n" 2445 "The rightmost column indicates how Tidy will understand the \n" 2446 "legacy Windows name.\n" 2453 "The following languages are currently installed in Tidy. Please \n" 2454 "note that there's no guarantee that they are complete; only that \n" 2455 "one developer or another started to add the language indicated. \n" 2457 "Incomplete localizations will default to \"en\" when necessary. \n" 2458 "Please report instances of incorrect strings to the Tidy team. \n" 2466 "If Tidy is able to determine your locale then Tidy will use the \n" 2467 "locale's language automatically. For example Unix-like systems use a \n" 2468 "$LANG and/or $LC_ALL environment variable. Consult your operating \n" 2469 "system documentation for more information. \n" 2471 "Tidy is currently using locale %s. \n" Definition: tidyenum.h:1434
Add meta element indicating tidied doc.
Definition: tidyenum.h:627
If true then output tidied markup.
Definition: tidyenum.h:674
Keep first or last duplicate attribute.
Definition: tidyenum.h:594
Definition: tidyenum.h:1434
specified
Definition: tidyenum.h:1432
Newline+indent before each attribute.
Definition: tidyenum.h:613
Number of errors to put out.
Definition: tidyenum.h:651
Merge nested B and I elements.
Definition: tidyenum.h:629
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
[2.1.1.5]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
block level
Definition: tidyenum.h:1432
Definition: tidyenum.h:1436
[13.10.1.1]
Definition: tidyenum.h:1435
[2.1.1.4]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Suppress optional start tags and end tags.
Definition: tidyenum.h:637
[3.5.2.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Create output as XML.
Definition: tidyenum.h:677
[1.5.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Report: Information about markup usage.
Definition: tidyenum.h:1377
Definition: tidyenum.h:1434
[5.2.1.2]
Definition: tidyenum.h:1435
[1.1.6.6]
Definition: tidyenum.h:1435
Discard empty p elements.
Definition: tidyenum.h:592
User specified doctype.
Definition: tidyenum.h:587
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
[10.2.1.1]
Definition: tidyenum.h:1435
Output attributes in upper not lower case.
Definition: tidyenum.h:661
[12.1.1.3]
Definition: tidyenum.h:1435
pre
Definition: tidyenum.h:1432
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
[2.2.1.1]
Definition: tidyenum.h:1435
error and errors
Definition: tidyenum.h:1432
[10.1.1.2]
Definition: tidyenum.h:1435
Report: Warning message.
Definition: tidyenum.h:1378
Treat input as XML.
Definition: tidyenum.h:680
Fix URLs by replacing \ with /.
Definition: tidyenum.h:605
[5.5.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
Replace i by em and b by strong.
Definition: tidyenum.h:623
[11.2.1.6]
Definition: tidyenum.h:1435
Accessibility check level.
Definition: tidyenum.h:573
Definition: tidyenum.h:1436
Move sytle to head.
Definition: tidyenum.h:659
Definition: tidyenum.h:1436
[2.2.1.2]
Definition: tidyenum.h:1435
Declared inline tags.
Definition: tidyenum.h:617
[11.2.1.7]
Definition: tidyenum.h:1435
[3.5.1.1]
Definition: tidyenum.h:1435
Merge multiple DIVs.
Definition: tidyenum.h:628
Definition: tidyenum.h:1436
[5.6.1.3]
Definition: tidyenum.h:1435
replacing
Definition: tidyenum.h:1432
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
[1.1.1.11]
Definition: tidyenum.h:1435
Wrap within PHP pseudo elements.
Definition: tidyenum.h:671
Definition: tidyenum.h:1434
[6.5.1.4]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
[3.5.2.3]
Definition: tidyenum.h:1435
[6.1.1.2]
Definition: tidyenum.h:1435
[13.1.1.1]
Definition: tidyenum.h:1435
[5.1.2.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
Convert quotes and dashes to nearest ASCII char.
Definition: tidyenum.h:576
[8.1.1.3]
Definition: tidyenum.h:1435
[6.2.2.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
[11.2.1.9]
Definition: tidyenum.h:1435
Dialogue: Footnote.
Definition: tidyenum.h:1386
no
Definition: tidyenum.h:1432
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
[1.1.12.1]
Definition: tidyenum.h:1435
[5.5.1.3]
Definition: tidyenum.h:1435
[2.1.1.3]
Definition: tidyenum.h:1435
line d column d
Definition: tidyenum.h:1432
Definition: tidyenum.h:1436
Folds known attribute values to lower case.
Definition: tidyenum.h:624
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Add <?xml?> for XML docs.
Definition: tidyenum.h:676
Preserve entities.
Definition: tidyenum.h:642
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Output plain HTML, even for XHTML input.
Definition: tidyenum.h:611
[3.6.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
[1.1.2.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
[7.5.1.1]
Definition: tidyenum.h:1435
[12.1.1.2]
Definition: tidyenum.h:1435
Wrap within <![ ...
Definition: tidyenum.h:673
Definition: tidyenum.h:1434
Clean up HTML exported from Google Docs.
Definition: tidyenum.h:609
[3.3.1.1]
Definition: tidyenum.h:1435
[6.3.1.3]
Definition: tidyenum.h:1435
[1.1.8.1]
Definition: tidyenum.h:1435
[8.1.1.4]
Definition: tidyenum.h:1435
show when meta http-equiv content charset was changed - compatibility
Definition: tidyenum.h:654
[1.1.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Report: Configuration error.
Definition: tidyenum.h:1379
Definition: tidyenum.h:1433
Definition: tidyenum.h:1436
[9.3.1.3]
Definition: tidyenum.h:1435
[6.3.1.4]
Definition: tidyenum.h:1435
[9.3.1.6]
Definition: tidyenum.h:1435
[3.6.1.4]
Definition: tidyenum.h:1435
empty
Definition: tidyenum.h:1432
[2.1.1.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
consider punctuation and breaking spaces for wrapping
Definition: tidyenum.h:645
[13.1.1.3]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
[3.2.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
[11.2.1.4]
Definition: tidyenum.h:1435
Indent content of appropriate tags.
Definition: tidyenum.h:615
[8.1.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1433
static uint whichPluralForm_en(uint n)
This language-specific function returns the correct pluralForm to use given n items, and is used as a member of each language definition.
Definition: language_en.h:31
Definition: tidyenum.h:1434
[3.6.1.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Report: I/O or file system error.
Definition: tidyenum.h:1382
Definition: tidyenum.h:1434
Declared empty tags.
Definition: tidyenum.h:599
Dialogue: Summary-related information.
Definition: tidyenum.h:1384
Hides all (real) comments in output.
Definition: tidyenum.h:610
Warns on proprietary attributes.
Definition: tidyenum.h:665
Coerce end tags from start tags where probably intended.
Definition: tidyenum.h:581
Definition: tidyenum.h:1434
Dialogue: Non-document related information.
Definition: tidyenum.h:1385
static languageDefinition language_en
This structure specifies all of the strings needed by Tidy for a single language. ...
Definition: language_en.h:50
Definition: tidyenum.h:1436
Output document even if errors were found.
Definition: tidyenum.h:608
Definition: tidyenum.h:1434
Output naked ampersand as &.
Definition: tidyenum.h:647
[6.3.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Fix comments with adjacent hyphens.
Definition: tidyenum.h:606
discarding
Definition: tidyenum.h:1432
Output character encoding (if different)
Definition: tidyenum.h:638
[6.3.1.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
In/out character encoding.
Definition: tidyenum.h:580
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Wrap within JSTE pseudo elements.
Definition: tidyenum.h:669
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Finally, a complete language definition.
Definition: language.h:68
Definition: tidyenum.h:1434
[12.1.1.1]
Definition: tidyenum.h:1435
[3.5.3.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Definition: language.h:34
Definition: tidyenum.h:1433
Definition: tidyenum.h:1434
Indent <!CDATA[ ...
Definition: tidyenum.h:614
Definition: tidyenum.h:1434
Sort attributes.
Definition: tidyenum.h:657
[6.1.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Declared pre tags.
Definition: tidyenum.h:643
Discard empty elements.
Definition: tidyenum.h:591
Output a Byte Order Mark (BOM) for UTF-16 encodings.
Definition: tidyenum.h:640
Expand tabs to n spaces.
Definition: tidyenum.h:660
Definition: tidyenum.h:1434
If yes text at body is wrapped in P's.
Definition: tidyenum.h:601
Definition: tidyenum.h:1436
Wrap within JavaScript string literals.
Definition: tidyenum.h:672
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
[12.4.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
[1.1.2.5]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Ensure tags and attributes match output HTML version.
Definition: tidyenum.h:658
Definition: tidyenum.h:1433
[9.1.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
[13.1.1.2]
Definition: tidyenum.h:1435
[7.1.1.3]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
[2.1.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
[4.1.1.1]
Definition: tidyenum.h:1435
Applies URI encoding if necessary.
Definition: tidyenum.h:607
[6.1.1.3]
Definition: tidyenum.h:1435
[7.1.1.1]
Definition: tidyenum.h:1435
Indentation n spaces/tabs.
Definition: tidyenum.h:616
Skip nested tags in script and style CDATA.
Definition: tidyenum.h:656
[5.6.1.1]
Definition: tidyenum.h:1435
[11.2.1.5]
Definition: tidyenum.h:1435
[1.1.6.3]
Definition: tidyenum.h:1435
[1.4.1.1]
Definition: tidyenum.h:1435
[9.3.1.5]
Definition: tidyenum.h:1435
Wrap within ASP pseudo elements.
Definition: tidyenum.h:667
Draconian cleaning for Word2000.
Definition: tidyenum.h:666
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
[11.2.1.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
plain text
Definition: tidyenum.h:1432
Wrap within attribute values.
Definition: tidyenum.h:668
[1.2.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
Attributes to place first in an element.
Definition: tidyenum.h:644
Definition: tidyenum.h:1436
Output non-breaking space as entity.
Definition: tidyenum.h:649
Output extensible HTML.
Definition: tidyenum.h:675
[11.2.1.3]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
[13.1.1.4]
Definition: tidyenum.h:1435
[5.1.2.3]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Report: Crash!
Definition: tidyenum.h:1383
Definition: tidyenum.h:1434
[2.2.1.4]
Definition: tidyenum.h:1435
If yes keep input source tabs.
Definition: tidyenum.h:621
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
[5.4.1.1]
Definition: tidyenum.h:1435
Indent using tabs istead of spaces.
Definition: tidyenum.h:641
Filter these messages from output.
Definition: tidyenum.h:632
Definition: tidyenum.h:1434
[1.1.10.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
[1.1.1.4]
Definition: tidyenum.h:1435
[1.1.1.3]
Definition: tidyenum.h:1435
degree to which markup is spread out vertically
Definition: tidyenum.h:664
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Mark inferred UL elements with no indent CSS.
Definition: tidyenum.h:586
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Join multiple style attributes.
Definition: tidyenum.h:619
If set to yes PIs must end with ?>
Definition: tidyenum.h:678
Escape items that look like closing tags in script tags.
Definition: tidyenum.h:604
Declared block tags.
Definition: tidyenum.h:577
Report: Error message - output suppressed.
Definition: tidyenum.h:1381
[1.1.1.10]
Definition: tidyenum.h:1435
Wrap margin.
Definition: tidyenum.h:670
Definition: tidyenum.h:1434
[5.1.2.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
[1.1.2.3]
Definition: tidyenum.h:1435
Replace presentational clutter by style rules.
Definition: tidyenum.h:626
[1.1.1.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
[12.4.1.3]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
[6.2.2.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
[9.3.1.1]
Definition: tidyenum.h:1435
[7.1.1.4]
Definition: tidyenum.h:1435
Merge multiple SPANs.
Definition: tidyenum.h:630
[12.4.1.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Accessibility hello message.
Definition: tidyenum.h:1432
[1.1.6.4]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
[13.2.1.2]
Definition: tidyenum.h:1435
If set to yes adds xml:space attr as needed.
Definition: tidyenum.h:679
Output " marks as ".
Definition: tidyenum.h:648
Definition: tidyenum.h:1434
Input character encoding (if different)
Definition: tidyenum.h:612
Output newline before or not?
Definition: tidyenum.h:579
Definition: tidyenum.h:1434
[9.3.1.4]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
XML declaration.
Definition: tidyenum.h:1432
[6.5.1.3]
Definition: tidyenum.h:1435
Define anchors as name attributes.
Definition: tidyenum.h:575
Definition: tidyenum.h:1436
Join multiple class attributes.
Definition: tidyenum.h:618
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
If yes text in blocks is wrapped in P's.
Definition: tidyenum.h:600
HTML Proprietary.
Definition: tidyenum.h:1432
inline
Definition: tidyenum.h:1432
Definition: tidyenum.h:1436
Enable Tidy to use autonomous custom tags.
Definition: tidyenum.h:663
Replace <![CDATA[]]> sections with escaped text.
Definition: tidyenum.h:603
[5.5.2.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
File name to write errors to.
Definition: tidyenum.h:602
Adds/checks/fixes meta charset in the head, based on document type.
Definition: tidyenum.h:631
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
[7.2.1.1]
Definition: tidyenum.h:1435
If true, format error output for GNU Emacs.
Definition: tidyenum.h:595
[3.5.2.2]
Definition: tidyenum.h:1435
File name to write markup to.
Definition: tidyenum.h:639
[6.2.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
[2.2.1.3]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
[5.2.1.1]
Definition: tidyenum.h:1435
If yes last modied time is preserved.
Definition: tidyenum.h:620
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
If true, info-level messages are shown.
Definition: tidyenum.h:652
[1.1.9.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
Output line ending (default to platform)
Definition: tidyenum.h:635
[7.4.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Output BODY content only.
Definition: tidyenum.h:578
[8.1.1.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1433
[1.1.4.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
[6.5.1.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
[7.1.1.2]
Definition: tidyenum.h:1435
Definition: language.h:31
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
[1.1.6.5]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
[4.3.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
[10.1.1.1]
Definition: tidyenum.h:1435
[11.2.1.8]
Definition: tidyenum.h:1435
No 'Parsing X', guessed DTD or summary.
Definition: tidyenum.h:646
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Discard proprietary attributes.
Definition: tidyenum.h:593
Definition: tidyenum.h:1434
[1.1.6.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
[5.5.1.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Replace hex color attribute values with names.
Definition: tidyenum.h:650
[1.1.6.1]
Definition: tidyenum.h:1435
CSS class naming for clean option.
Definition: tidyenum.h:582
Report: Accessibility message.
Definition: tidyenum.h:1380
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Use numeric entities.
Definition: tidyenum.h:636
Allow numeric character references.
Definition: tidyenum.h:634
[5.3.1.1]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
warning and warnings
Definition: tidyenum.h:1432
Definition: tidyenum.h:1436
If false, normal output is suppressed.
Definition: tidyenum.h:653
[5.5.1.6]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
[9.3.1.2]
Definition: tidyenum.h:1435
However errors are always shown.
Definition: tidyenum.h:655
Definition: tidyenum.h:1436
Make bare HTML: remove Microsoft cruft.
Definition: tidyenum.h:625
[1.1.5.1]
Definition: tidyenum.h:1435
[7.1.1.5]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
Definition: tidyenum.h:1434
Default text for alt attribute.
Definition: tidyenum.h:574
Definition: tidyenum.h:1434
Show message ID's in the error table.
Definition: tidyenum.h:633
[13.1.1.5]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Definition: tidyenum.h:1434
[11.2.1.10]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1436
[6.2.2.3]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
[6.5.1.1]
Definition: tidyenum.h:1435
Output tags in upper not lower case.
Definition: tidyenum.h:662
[5.6.1.2]
Definition: tidyenum.h:1435
Definition: tidyenum.h:1434
If true attributes may use newlines.
Definition: tidyenum.h:622
Definition: tidyenum.h:1434