HTML Tidy  5.7.28
The HTACG Tidy HTML Project
language_en.h
Go to the documentation of this file.
1 #ifndef language_en_h
2 #define language_en_h
3 /*
4  * language_en.h
5  * Localization support for HTML Tidy.
6  *
7  * This file consists of the strings for Tidy's base language and is a
8  * required localization for Tidy to compile and work. Unlike the other
9  * localization files this file is NOT machine-generated.
10  *
11  * This file also serves as the master template for generating additional
12  * language localizations. As such do not edit PO files for this language;
13  * modify this file directly.
14  *
15  * (c) 2015-2017 HTACG
16  * See tidy.h and access.h for the copyright notice.
17  *
18  * Created by Jim Derry on 11/28/15.
19  */
20 
21 #ifdef _MSC_VER
22 #pragma execution_character_set("utf-8")
23 #endif
24 
25 
26 /**
27  * This language-specific function returns the correct pluralForm
28  * to use given n items, and is used as a member of each language
29  * definition.
30  */
32  /* Plural-Forms: nplurals=2; */
33  return n != 1;
34 }
35 
36 
37 /**
38  * This structure specifies all of the strings needed by Tidy for a
39  * single language. Static definition in a header file makes it
40  * easy to include and exclude languages without tinkering with
41  * the build system.
42  *
43  * This file serves as the master template for generating `gettext`
44  * PO and POT files using our `potool.rb` script. Certain comments
45  * entered below will be included in the PO/POT files as developer
46  * comments. To enable this, use only standard C-style comments that
47  * begin immediately after the opening brace without whitespace.
48  */
49 
51  /***************************************
52  ** This MUST be present and first.
53  ** Specify the code for this language.
54  ***************************************/
55  {/* Specify the ll or ll_cc language code here. */
56  TIDY_LANGUAGE, 0, "en"
57  },
58 
59  /*********************************************************************
60  ** Options Documentation
61  ** As of 2016-January these descriptions are used uniquely by the
62  ** console application but are made available for LibTidy users as
63  ** well. Because we generate documentation from these descriptions
64  ** it's important to use ONLY the following tags:
65  ** <code>, <em>, <strong>, <br/>, <p>
66  ** Note that the xslt processor requires <br/> to be self closing!
67  ** @remark enum source is TidyOptionId
68  *********************************************************************/
69  {/* Important notes for translators:
70  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
71  <br/>.
72  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
73  - Option values should be enclosed in <var></var>.
74  - It's very important that <br/> be self-closing!
75  - The strings "Tidy" and "HTML Tidy" are the program name and must not
76  be translated. */
78  "This option specifies what level of accessibility checking, if any, "
79  "that Tidy should perform. "
80  "<br/>"
81  "Level <var>0 (Tidy Classic)</var> is equivalent to Tidy Classic's accessibility "
82  "checking. "
83  "<br/>"
84  "For more information on Tidy's accessibility checking, visit "
85  "<a href=\"http://www.html-tidy.org/accessibility/\"> Tidy's Accessibility Page</a>. "
86  },
87  {/* Important notes for translators:
88  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
89  <br/>.
90  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
91  - Option values should be enclosed in <var></var>.
92  - It's very important that <br/> be self-closing!
93  - The strings "Tidy" and "HTML Tidy" are the program name and must not
94  be translated. */
95  TidyAltText, 0,
96  "This option specifies the default <code>alt=</code> text Tidy uses for "
97  "<code>&lt;img&gt;</code> attributes when the <code>alt=</code> attribute "
98  "is missing. "
99  "<br/>"
100  "Use with care, as it is your responsibility to make your documents accessible "
101  "to people who cannot see the images. "
102  },
103  {/* Important notes for translators:
104  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
105  <br/>.
106  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
107  - Option values should be enclosed in <var></var>.
108  - It's very important that <br/> be self-closing!
109  - The strings "Tidy" and "HTML Tidy" are the program name and must not
110  be translated. */
111  TidyAnchorAsName, 0,
112  "This option controls the deletion or addition of the <code>name</code> "
113  "attribute in elements where it can serve as anchor. "
114  "<br/>"
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 "
117  "allows it. "
118  "<br/>"
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. "
121  },
122  {/* Important notes for translators:
123  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
124  <br/>.
125  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
126  - Option values should be enclosed in <var></var>.
127  - It's very important that <br/> be self-closing!
128  - The strings "Tidy" and "HTML Tidy" are the program name and must not
129  be translated. */
130  TidyAsciiChars, 0,
131  "Can be used to modify behavior of the <code>clean</code> option when set "
132  "to <var>yes</var>. "
133  "<br/>"
134  "If set to <var>yes</var> when using <code>clean</code>, "
135  "<code>&amp;emdash;</code>, <code>&amp;rdquo;</code>, and other named "
136  "character entities are downgraded to their closest ASCII equivalents. "
137  },
138  {/* Important notes for translators:
139  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
140  <br/>.
141  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
142  - Option values should be enclosed in <var></var>.
143  - It's very important that <br/> be self-closing!
144  - The strings "Tidy" and "HTML Tidy" are the program name and must not
145  be translated. */
146  TidyBlockTags, 0,
147  "This option specifies new block-level tags. This option takes a space or "
148  "comma separated list of tag names. "
149  "<br/>"
150  "Unless you declare new tags, Tidy will refuse to generate a tidied file if "
151  "the input includes previously unknown tags. "
152  "<br/>"
153  "Note you can't change the content model for elements such as "
154  "<code>&lt;table&gt;</code>, <code>&lt;ul&gt;</code>, "
155  "<code>&lt;ol&gt;</code> and <code>&lt;dl&gt;</code>. "
156  "<br/>"
157  "This option is ignored in XML mode. "
158  },
159  {/* Important notes for translators:
160  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
161  <br/>.
162  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
163  - Option values should be enclosed in <var></var>.
164  - It's very important that <br/> be self-closing!
165  - The strings "Tidy" and "HTML Tidy" are the program name and must not
166  be translated. */
167  TidyBodyOnly, 0,
168  "This option specifies if Tidy should print only the contents of the "
169  "body tag as an HTML fragment. "
170  "<br/>"
171  "If set to <var>auto</var>, this is performed only if the body tag has "
172  "been inferred. "
173  "<br/>"
174  "Useful for incorporating existing whole pages as a portion of another "
175  "page. "
176  "<br/>"
177  "This option has no effect if XML output is requested. "
178  },
179  {/* Important notes for translators:
180  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
181  <br/>.
182  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
183  - Option values should be enclosed in <var></var>.
184  - It's very important that <br/> be self-closing!
185  - The strings "Tidy" and "HTML Tidy" are the program name and must not
186  be translated. */
188  "This option specifies if Tidy should output a line break before each "
189  "<code>&lt;br&gt;</code> element. "
190  },
191  {/* Important notes for translators:
192  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
193  <br/>.
194  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
195  - Option values should be enclosed in <var></var>.
196  - It's very important that <br/> be self-closing!
197  - The strings "Tidy" and "HTML Tidy" are the program name and must not
198  be translated. */
199  TidyCharEncoding, 0,
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. "
204  "<br/>"
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 "
209  "to override this. "
210  "<br/>"
211  "For other input encodings, the <code>output-encoding</code> option "
212  "will automatically be set to the the same value. "
213  "<br/>"
214  "Regardless of the preset value, you can set "
215  "<code>output-encoding</code> manually to override this. "
216  "<br/>"
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. "
220  },
221  {/* Important notes for translators:
222  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
223  <br/>.
224  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
225  - Option values should be enclosed in <var></var>.
226  - It's very important that <br/> be self-closing!
227  - The strings "Tidy" and "HTML Tidy" are the program name and must not
228  be translated. */
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 "
233  "<br/>"
234  "<code>&lt;span&gt;foo &lt;b&gt;bar&lt;b&gt; baz&lt;/span&gt;</code> "
235  "<br/>"
236  "Tidy will output "
237  "<br/>"
238  "<code>&lt;span&gt;foo &lt;b&gt;bar&lt;/b&gt; baz&lt;/span&gt;</code> "
239  },
240  {/* Important notes for translators:
241  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
242  <br/>.
243  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
244  - Option values should be enclosed in <var></var>.
245  - It's very important that <br/> be self-closing!
246  - The strings "Tidy" and "HTML Tidy" are the program name and must not
247  be translated. */
248  TidyCSSPrefix, 0,
249  "This option specifies the prefix that Tidy uses for styles rules. "
250  "<br/>"
251  "By default, <var>c</var> will be used. "
252  },
253  {/* Important notes for translators:
254  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
255  <br/>.
256  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
257  - Option values should be enclosed in <var></var>.
258  - It's very important that <br/> be self-closing!
259  - The strings "Tidy" and "HTML Tidy" are the program name and must not
260  be translated. */
262  "This option specifies if Tidy should decorate inferred "
263  "<code>&lt;ul&gt;</code> elements with some CSS markup to avoid indentation "
264  "to the right. "
265  },
266  {/* Important notes for translators:
267  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
268  <br/>.
269  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
270  - Option values should be enclosed in <var></var>.
271  - It's very important that <br/> be self-closing!
272  - The strings "Tidy" and "HTML Tidy" are the program name and must not
273  be translated. */
274  TidyDoctype, 0,
275  "This option specifies the DOCTYPE declaration generated by Tidy. "
276  "<br/>"
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>."
280  "<br/>"
281  "If set to <var>html5</var> the DOCTYPE is set to "
282  "<code>&lt;!DOCTYPE html&gt;</code>."
283  "<br/>"
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. "
287  "<br/>"
288  "If set to <var>strict</var>, Tidy will set the DOCTYPE to the HTML4 or "
289  "XHTML1 strict DTD."
290  "<br/>"
291  "If set to <var>loose</var>, the DOCTYPE is set to the HTML4 or XHTML1 "
292  "loose (transitional) DTD."
293  "<br/>"
294  "Alternatively, you can supply a string for the formal public identifier "
295  "(FPI)."
296  "<br/>"
297  "For example: "
298  "<br/>"
299  "<code>doctype: \"-//ACME//DTD HTML 3.14159//EN\"</code>"
300  "<br/>"
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. "
306  "<br/>"
307  "This option does not offer a validation of document conformance. "
308  },
309  {/* Important notes for translators:
310  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
311  <br/>.
312  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
313  - Option values should be enclosed in <var></var>.
314  - It's very important that <br/> be self-closing!
315  - The strings "Tidy" and "HTML Tidy" are the program name and must not
316  be translated. */
318  "This option specifies if Tidy should discard empty elements. "
319  },
320  {/* Important notes for translators:
321  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
322  <br/>.
323  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
324  - Option values should be enclosed in <var></var>.
325  - It's very important that <br/> be self-closing!
326  - The strings "Tidy" and "HTML Tidy" are the program name and must not
327  be translated. */
329  "This option specifies if Tidy should discard empty paragraphs. "
330  },
331  {/* Important notes for translators:
332  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
333  <br/>.
334  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
335  - Option values should be enclosed in <var></var>.
336  - It's very important that <br/> be self-closing!
337  - The strings "Tidy" and "HTML Tidy" are the program name and must not
338  be translated. */
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>. "
344  },
345  {/* Important notes for translators:
346  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
347  <br/>.
348  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
349  - Option values should be enclosed in <var></var>.
350  - It's very important that <br/> be self-closing!
351  - The strings "Tidy" and "HTML Tidy" are the program name and must not
352  be translated. */
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. "
356  },
357  {/* Important notes for translators:
358  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
359  <br/>.
360  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
361  - Option values should be enclosed in <var></var>.
362  - It's very important that <br/> be self-closing!
363  - The strings "Tidy" and "HTML Tidy" are the program name and must not
364  be translated. */
365  TidyEmacs, 0,
366  "This option specifies that Tidy should change the format for reporting "
367  "errors and warnings to a format that is more easily parsed by GNU Emacs "
368  "or some other program. It changes them from the default "
369  "<br/>"
370  " line &lt;line number&gt; column &lt;column number&gt; - (Error|Warning): &lt;message&gt; "
371  "<br/>"
372  "to a form which includes the input filename: "
373  "<br/>"
374  " &lt;filename&gt;:&lt;line number&gt;:&lt;column number&gt;: (Error|Warning): &lt;message&gt; "
375  },
376  {/* Important notes for translators:
377  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
378  <br/>.
379  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
380  - Option values should be enclosed in <var></var>.
381  - It's very important that <br/> be self-closing!
382  - The strings "Tidy" and "HTML Tidy" are the program name and must not
383  be translated. */
384  TidyEmptyTags, 0,
385  "This option specifies new empty inline tags. This option takes a space "
386  "or comma separated list of tag names. "
387  "<br/>"
388  "Unless you declare new tags, Tidy will refuse to generate a tidied file if "
389  "the input includes previously unknown tags. "
390  "<br/>"
391  "Remember to also declare empty tags as either inline or blocklevel. "
392  "<br/>"
393  "This option is ignored in XML mode. "
394  },
395  {/* Important notes for translators:
396  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
397  <br/>.
398  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
399  - Option values should be enclosed in <var></var>.
400  - It's very important that <br/> be self-closing!
401  - The strings "Tidy" and "HTML Tidy" are the program name and must not
402  be translated. */
404  "This option specifies if Tidy should insert a <code>&lt;p&gt;</code> "
405  "element to enclose any text it finds in any element that allows mixed "
406  "content for HTML transitional but not HTML strict. "
407  },
408  {/* Important notes for translators:
409  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
410  <br/>.
411  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
412  - Option values should be enclosed in <var></var>.
413  - It's very important that <br/> be self-closing!
414  - The strings "Tidy" and "HTML Tidy" are the program name and must not
415  be translated. */
417  "This option specifies if Tidy should enclose any text it finds in the "
418  "body element within a <code>&lt;p&gt;</code> element."
419  "<br/>"
420  "This is useful when you want to take existing HTML and use it with a "
421  "style sheet. "
422  },
423  {/* Important notes for translators:
424  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
425  <br/>.
426  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
427  - Option values should be enclosed in <var></var>.
428  - It's very important that <br/> be self-closing!
429  - The strings "Tidy" and "HTML Tidy" are the program name and must not
430  be translated. */
431  TidyErrFile, 0,
432  "This option specifies the error file Tidy uses for errors and warnings. "
433  "Normally errors and warnings are output to <code>stderr</code>. "
434  },
435  {/* Important notes for translators:
436  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
437  <br/>.
438  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
439  - Option values should be enclosed in <var></var>.
440  - It's very important that <br/> be self-closing!
441  - The strings "Tidy" and "HTML Tidy" are the program name and must not
442  be translated. */
443  TidyEscapeCdata, 0,
444  "This option specifies if Tidy should convert "
445  "<code>&lt;![CDATA[]]&gt;</code> sections to normal text. "
446  },
447  {/* Important notes for translators:
448  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
449  <br/>.
450  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
451  - Option values should be enclosed in <var></var>.
452  - It's very important that <br/> be self-closing!
453  - The strings "Tidy" and "HTML Tidy" are the program name and must not
454  be translated. */
456  "This option causes items that look like closing tags, like "
457  "<code>&lt;/g</code> to be escaped to <code>&lt;\\/g</code>. Set "
458  "this option to <var>no</var> if you do not want this."
459  },
460  {/* Important notes for translators:
461  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
462  <br/>.
463  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
464  - Option values should be enclosed in <var></var>.
465  - It's very important that <br/> be self-closing!
466  - The strings "Tidy" and "HTML Tidy" are the program name and must not
467  be translated. */
468  TidyFixBackslash, 0,
469  "This option specifies if Tidy should replace backslash characters "
470  "<code>\\</code> in URLs with forward slashes <code>/</code>. "
471  },
472  {/* Important notes for translators:
473  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
474  <br/>.
475  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
476  - Option values should be enclosed in <var></var>.
477  - It's very important that <br/> be self-closing!
478  - The strings "Tidy" and "HTML Tidy" are the program name and must not
479  be translated. */
480  TidyFixComments, 0,
481  "This option specifies if Tidy should replace unexpected hyphens with "
482  "<code>=</code> characters when it comes across adjacent hyphens. "
483  "<br/>"
484  "The default is <var>auto</var> will which will act as <var>no</var> "
485  "for HTML5 document types, and <var>yes</var> for all other document "
486  "types. "
487  "<br/>"
488  "HTML has abandonded SGML comment syntax, and allows adjacent hypens "
489  "for all versions of HTML, although XML and XHTML do not. If you plan "
490  "to support older browsers that require SGML comment syntax, then "
491  "consider setting this value to <var>yes</var>."
492  },
493  {/* Important notes for translators:
494  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
495  <br/>.
496  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
497  - Option values should be enclosed in <var></var>.
498  - It's very important that <br/> be self-closing!
499  - The strings "Tidy" and "HTML Tidy" are the program name and must not
500  be translated. */
501  TidyFixUri, 0,
502  "This option specifies if Tidy should check attribute values that carry "
503  "URIs for illegal characters and if such are found, escape them as HTML4 "
504  "recommends. "
505  },
506  {/* Important notes for translators:
507  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
508  <br/>.
509  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
510  - Option values should be enclosed in <var></var>.
511  - It's very important that <br/> be self-closing!
512  - The strings "Tidy" and "HTML Tidy" are the program name and must not
513  be translated. */
514  TidyForceOutput, 0,
515  "This option specifies if Tidy should produce output even if errors are "
516  "encountered. "
517  "<br/>"
518  "Use this option with care; if Tidy reports an error, this "
519  "means Tidy was not able to (or is not sure how to) fix the error, so the "
520  "resulting output may not reflect your intention. "
521  },
522  {/* Important notes for translators:
523  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
524  <br/>.
525  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
526  - Option values should be enclosed in <var></var>.
527  - It's very important that <br/> be self-closing!
528  - The strings "Tidy" and "HTML Tidy" are the program name and must not
529  be translated. */
530  TidyGDocClean, 0,
531  "This option specifies if Tidy should enable specific behavior for "
532  "cleaning up HTML exported from Google Docs. "
533  },
534  {/* Important notes for translators:
535  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
536  <br/>.
537  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
538  - Option values should be enclosed in <var></var>.
539  - It's very important that <br/> be self-closing!
540  - The strings "Tidy" and "HTML Tidy" are the program name and must not
541  be translated. */
542  TidyHideComments, 0,
543  "This option specifies if Tidy should not print out comments. "
544  },
545  {/* Important notes for translators:
546  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
547  <br/>.
548  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
549  - Option values should be enclosed in <var></var>.
550  - It's very important that <br/> be self-closing!
551  - The strings "Tidy" and "HTML Tidy" are the program name and must not
552  be translated. */
553  TidyHtmlOut, 0,
554  "This option specifies if Tidy should generate pretty printed output, "
555  "writing it as HTML. "
556  },
557  {/* Important notes for translators:
558  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
559  <br/>.
560  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
561  - Option values should be enclosed in <var></var>.
562  - It's very important that <br/> be self-closing!
563  - The strings "Tidy" and "HTML Tidy" are the program name and must not
564  be translated. */
566  "This option specifies the character encoding Tidy uses for input. "
567  "Tidy makes certain assumptions about some of the input encodings. "
568  "<br/>"
569  "For <var>ascii</var>, Tidy will accept Latin-1 (ISO-8859-1) character "
570  "values and convert them to entities as necessary. "
571  "<br/>"
572  "For <var>raw</var>, Tidy will make no assumptions about the character "
573  "values and will pass them unchanged to output. "
574  "<br/>"
575  "For <var>mac</var> and <var>win1252</var>, vendor specific characters "
576  "values will be accepted and converted to entities as necessary. "
577  "<br/>"
578  "Asian encodings such as <var>iso2022</var> will be handled "
579  "appropriately assuming the corresponding <code>output-encoding</code> "
580  "is also specified. "
581  "<br/>"
582  "Tidy is not an encoding converter. Although the Latin and UTF "
583  "encodings can be mixed freely, it is not possible to convert Asian "
584  "encodings to Latin encodings with Tidy. "
585  },
586  {/* Important notes for translators:
587  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
588  <br/>.
589  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
590  - Option values should be enclosed in <var></var>.
591  - It's very important that <br/> be self-closing!
592  - The strings "Tidy" and "HTML Tidy" are the program name and must not
593  be translated. */
595  "This option specifies if Tidy should begin each attribute on a new line. "
596  },
597  {/* Im␐portant notes for translators:
598  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
599  <br/>.
600  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
601  - Option values should be enclosed in <var></var>.
602  - It's very important that <br/> be self-closing!
603  - The strings "Tidy" and "HTML Tidy" are the program name and must not
604  be translated. */
605  TidyIndentCdata, 0,
606  "This option specifies if Tidy should indent "
607  "<code>&lt;![CDATA[]]&gt;</code> sections. "
608  },
609  {/* Important notes for translators:
610  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
611  <br/>.
612  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
613  - Option values should be enclosed in <var></var>.
614  - It's very important that <br/> be self-closing!
615  - The strings "Tidy" and "HTML Tidy" are the program name and must not
616  be translated. */
618  "This option specifies if Tidy should indent block-level tags. "
619  "<br/>"
620  "If set to <var>auto</var> Tidy will decide whether or not to indent the "
621  "content of tags such as <code>&lt;title&gt;</code>, "
622  "<code>&lt;h1&gt;</code>-<code>&lt;h6&gt;</code>, <code>&lt;li&gt;</code>, "
623  "<code>&lt;td&gt;</code>, or <code>&lt;p&gt;</code> "
624  "based on the content including a block-level element. "
625  "<br/>"
626  "Setting <code>indent</code> to <var>yes</var> can expose layout bugs in "
627  "some browsers. "
628  "<br/>"
629  "Use the option <code>indent-spaces</code> to control the number of spaces "
630  "or tabs output per level of indent, and <code>indent-with-tabs</code> to "
631  "specify whether spaces or tabs are used. "
632  },
633  {/* Important notes for translators:
634  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
635  <br/>.
636  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
637  - Option values should be enclosed in <var></var>.
638  - It's very important that <br/> be self-closing!
639  - The strings "Tidy" and "HTML Tidy" are the program name and must not
640  be translated. */
641  TidyIndentSpaces, 0,
642  "This option specifies the number of spaces or tabs that Tidy uses to "
643  "indent content when <code>indent</code> is enabled. "
644  "<br/>"
645  "Note that the default value for this option is dependent upon the value of "
646  "<code>indent-with-tabs</code> (see also). "
647  },
648  {/* Important notes for translators:
649  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
650  <br/>.
651  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
652  - Option values should be enclosed in <var></var>.
653  - It's very important that <br/> be self-closing!
654  - The strings "Tidy" and "HTML Tidy" are the program name and must not
655  be translated. */
656  TidyInlineTags, 0,
657  "This option specifies new non-empty inline tags. This option takes a "
658  "space or comma separated list of tag names. "
659  "<br/>"
660  "Unless you declare new tags, Tidy will refuse to generate a tidied file if "
661  "the input includes previously unknown tags. "
662  "<br/>"
663  "This option is ignored in XML mode. "
664  },
665  {/* Important notes for translators:
666  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
667  <br/>.
668  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
669  - Option values should be enclosed in <var></var>.
670  - It's very important that <br/> be self-closing!
671  - The strings "Tidy" and "HTML Tidy" are the program name and must not
672  be translated. */
673  TidyJoinClasses, 0,
674  "This option specifies if Tidy should combine class names to generate "
675  "a single, new class name if multiple class assignments are detected on "
676  "an element. "
677  },
678  {/* Important notes for translators:
679  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
680  <br/>.
681  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
682  - Option values should be enclosed in <var></var>.
683  - It's very important that <br/> be self-closing!
684  - The strings "Tidy" and "HTML Tidy" are the program name and must not
685  be translated. */
686  TidyJoinStyles, 0,
687  "This option specifies if Tidy should combine styles to generate a single, "
688  "new style if multiple style values are detected on an element. "
689  },
690  {/* Important notes for translators:
691  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
692  <br/>.
693  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
694  - Option values should be enclosed in <var></var>.
695  - It's very important that <br/> be self-closing!
696  - The strings "Tidy" and "HTML Tidy" are the program name and must not
697  be translated. */
699  "This option specifies if Tidy should keep the original modification time "
700  "of files that Tidy modifies in place. "
701  "<br/>"
702  "Setting the option to <var>yes</var> allows you to tidy files without "
703  "changing the file modification date, which may be useful with certain "
704  "tools that use the modification date for things such as automatic server "
705  "deployment."
706  "<br/>"
707  "Note this feature is not supported on some platforms. "
708  },
709  {/* Important notes for translators:
710  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
711  <br/>.
712  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
713  - Option values should be enclosed in <var></var>.
714  - It's very important that <br/> be self-closing!
715  - The strings "Tidy" and "HTML Tidy" are the program name and must not
716  be translated. */
717  TidyKeepTabs, 0,
718  "With the default <var>no</var> Tidy will replace all source tabs with spaces, "
719  "controlled by the option <code>tab-size</code>, and the current line offset. "
720  "Of course, except in the special blocks/elements enumerated below, this will later "
721  "be reduced to just one space. "
722  "<br/>"
723  "If set <var>yes</var> this option specifies Tidy should keep certain tabs "
724  "found in the source, but only "
725  "in preformatted blocks like <code>&lt;pre&gt;</code>, and other CDATA elements like "
726  "<code>&lt;script&gt;</code>, <code>&lt;style&gt;</code>, and other pseudo elements like "
727  "<code>&lt;?php ... ?&gt;</code>. As always, all other tabs, or sequences of tabs, in "
728  "the source will continue to be replaced with a space. "
729  },
730  {/* Important notes for translators:
731  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
732  <br/>.
733  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
734  - Option values should be enclosed in <var></var>.
735  - It's very important that <br/> be self-closing!
736  - The strings "Tidy" and "HTML Tidy" are the program name and must not
737  be translated. */
739  "This option specifies how Tidy deals with whitespace characters within "
740  "attribute values. "
741  "<br/>"
742  "If the value is <var>no</var> Tidy normalizes attribute values by "
743  "replacing any newline or tab with a single space, and further by replacing "
744  "any contiguous whitespace with a single space. "
745  "<br/>"
746  "To force Tidy to preserve the original, literal values of all attributes "
747  "and ensure that whitespace within attribute values is passed "
748  "through unchanged, set this option to <var>yes</var>. "
749  },
750  {/* Important notes for translators:
751  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
752  <br/>.
753  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
754  - Option values should be enclosed in <var></var>.
755  - It's very important that <br/> be self-closing!
756  - The strings "Tidy" and "HTML Tidy" are the program name and must not
757  be translated. */
759  "This option specifies if Tidy should replace any occurrence of "
760  "<code>&lt;i&gt;</code> with <code>&lt;em&gt;</code> and any occurrence of "
761  "<code>&lt;b&gt;</code> with <code>&lt;strong&gt;</code>. Any attributes "
762  "are preserved unchanged. "
763  "<br/>"
764  "This option can be set independently of the <code>clean</code> option. "
765  },
766  {/* Important notes for translators:
767  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
768  <br/>.
769  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
770  - Option values should be enclosed in <var></var>.
771  - It's very important that <br/> be self-closing!
772  - The strings "Tidy" and "HTML Tidy" are the program name and must not
773  be translated. */
775  "This option specifies if Tidy should convert the value of an attribute "
776  "that takes a list of predefined values to lower case. "
777  "<br/>"
778  "This is required for XHTML documents. "
779  },
780  {/* Important notes for translators:
781  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
782  <br/>.
783  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
784  - Option values should be enclosed in <var></var>.
785  - It's very important that <br/> be self-closing!
786  - The strings "Tidy" and "HTML Tidy" are the program name and must not
787  be translated. */
788  TidyMakeBare, 0,
789  "This option specifies if Tidy should strip Microsoft specific HTML "
790  "from Word 2000 documents, and output spaces rather than non-breaking "
791  "spaces where they exist in the input. "
792  },
793  {/* Important notes for translators:
794  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
795  <br/>.
796  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
797  - Option values should be enclosed in <var></var>.
798  - It's very important that <br/> be self-closing!
799  - The strings "Tidy" and "HTML Tidy" are the program name and must not
800  be translated. */
801  TidyMakeClean, 0,
802  "This option specifies if Tidy should perform cleaning of some legacy "
803  "presentational tags (currently <code>&lt;i&gt;</code>, "
804  "<code>&lt;b&gt;</code>, <code>&lt;center&gt;</code> when enclosed "
805  "within appropriate inline tags, and <code>&lt;font&gt;</code>). If "
806  "set to <var>yes</var>, then the legacy tags will be replaced with CSS "
807  "<code>&lt;style&gt;</code> tags and structural markup as appropriate. "
808  },
809  {/* Important notes for translators:
810  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
811  <br/>.
812  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
813  - Option values should be enclosed in <var></var>.
814  - It's very important that <br/> be self-closing!
815  - The strings "Tidy" and "HTML Tidy" are the program name and must not
816  be translated. */
817  TidyMark, 0,
818  "This option specifies if Tidy should add a <code>meta</code> element to "
819  "the document head to indicate that the document has been tidied. "
820  "<br/>"
821  "Tidy won't add a meta element if one is already present. "
822  },
823  {/* Important notes for translators:
824  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
825  <br/>.
826  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
827  - Option values should be enclosed in <var></var>.
828  - It's very important that <br/> be self-closing!
829  - The strings "Tidy" and "HTML Tidy" are the program name and must not
830  be translated. */
831  TidyMergeDivs, 0,
832  "This option can be used to modify the behavior of <code>clean</code> when "
833  "set to <var>yes</var>."
834  "<br/>"
835  "This option specifies if Tidy should merge nested <code>&lt;div&gt;</code> "
836  "such as <code>&lt;div&gt;&lt;div&gt;...&lt;/div&gt;&lt;/div&gt;</code>. "
837  "<br/>"
838  "If set to <var>auto</var> the attributes of the inner "
839  "<code>&lt;div&gt;</code> are moved to the outer one. Nested "
840  "<code>&lt;div&gt;</code> with <code>id</code> attributes are <em>not</em> "
841  "merged. "
842  "<br/>"
843  "If set to <var>yes</var> the attributes of the inner "
844  "<code>&lt;div&gt;</code> are discarded with the exception of "
845  "<code>class</code> and <code>style</code>. "
846  },
847  {/* Important notes for translators:
848  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
849  <br/>.
850  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
851  - Option values should be enclosed in <var></var>.
852  - It's very important that <br/> be self-closing!
853  - The strings "Tidy" and "HTML Tidy" are the program name and must not
854  be translated. */
856  "This option specifies if Tidy should merge nested <code>&lt;b&gt;</code> "
857  "and <code>&lt;i&gt;</code> elements; for example, for the case "
858  "<br/>"
859  "<code>&lt;b class=\"rtop-2\"&gt;foo &lt;b class=\"r2-2\"&gt;bar&lt;/b&gt; baz&lt;/b&gt;</code>, "
860  "<br/>"
861  "Tidy will output <code>&lt;b class=\"rtop-2\"&gt;foo bar baz&lt;/b&gt;</code>. "
862  },
863  {/* Important notes for translators:
864  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
865  <br/>.
866  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
867  - Option values should be enclosed in <var></var>.
868  - It's very important that <br/> be self-closing!
869  - The strings "Tidy" and "HTML Tidy" are the program name and must not
870  be translated. */
871  TidyMergeSpans, 0,
872  "This option can be used to modify the behavior of <code>clean</code> when "
873  "set to <var>yes</var>."
874  "<br/>"
875  "This option specifies if Tidy should merge nested <code>&lt;span&gt;</code> "
876  "such as <code>&lt;span&gt;&lt;span&gt;...&lt;/span&gt;&lt;/span&gt;</code>. "
877  "<br/>"
878  "The algorithm is identical to the one used by <code>merge-divs</code>. "
879  },
880  {/* Important notes for translators:
881  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
882  <br/>.
883  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
884  - Option values should be enclosed in <var></var>.
885  - It's very important that <br/> be self-closing!
886  - The strings "Tidy" and "HTML Tidy" are the program name and must not
887  be translated. */
888  TidyNCR, 0,
889  "This option specifies if Tidy should allow numeric character references. "
890  },
891  {/* Important notes for translators:
892  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
893  <br/>.
894  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
895  - Option values should be enclosed in <var></var>.
896  - It's very important that <br/> be self-closing!
897  - The strings "Tidy" and "HTML Tidy" are the program name and must not
898  be translated. */
899  TidyNewline, 0,
900  "The default is appropriate to the current platform. "
901  "<br/>"
902  "Genrally <var>CRLF</var> on PC-DOS, Windows and OS/2; <var>CR</var> "
903  "on Classic Mac OS; and <var>LF</var> everywhere else (Linux, macOS, "
904  "and Unix). "
905  },
906  {/* Important notes for translators:
907  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
908  <br/>.
909  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
910  - Option values should be enclosed in <var></var>.
911  - It's very important that <br/> be self-closing!
912  - The strings "Tidy" and "HTML Tidy" are the program name and must not
913  be translated. */
914  TidyNumEntities, 0,
915  "This option specifies if Tidy should output entities other than the "
916  "built-in HTML entities (<code>&amp;amp;</code>, <code>&amp;lt;</code>, "
917  "<code>&amp;gt;</code>, and <code>&amp;quot;</code>) in the numeric rather "
918  "than the named entity form. "
919  "<br/>"
920  "Only entities compatible with the DOCTYPE declaration generated are used. "
921  "<br/>"
922  "Entities that can be represented in the output encoding are translated "
923  "correspondingly. "
924  },
925  {/* Important notes for translators:
926  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
927  <br/>.
928  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
929  - Option values should be enclosed in <var></var>.
930  - It's very important that <br/> be self-closing!
931  - The strings "Tidy" and "HTML Tidy" are the program name and must not
932  be translated. */
934  "This option specifies if Tidy should omit optional start tags and end tags "
935  "when generating output. "
936  "<br/>"
937  "Setting this option causes all tags for the <code>&lt;html&gt;</code>, "
938  "<code>&lt;head&gt;</code>, and <code>&lt;body&gt;</code> elements to be "
939  "omitted from output, as well as such end tags as <code>&lt;/p&gt;</code>, "
940  "<code>&lt;/li&gt;</code>, <code>&lt;/dt&gt;</code>, "
941  "<code>&lt;/dd&gt;</code>, <code>&lt;/option&gt;</code>, "
942  "<code>&lt;/tr&gt;</code>, <code>&lt;/td&gt;</code>, and "
943  "<code>&lt;/th&gt;</code>. "
944  "<br/>"
945  "This option is ignored for XML output. "
946  },
947  {/* Important notes for translators:
948  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
949  <br/>.
950  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
951  - Option values should be enclosed in <var></var>.
952  - It's very important that <br/> be self-closing!
953  - The strings "Tidy" and "HTML Tidy" are the program name and must not
954  be translated. */
956  "This option specifies the character encoding Tidy uses for "
957  "output. Some of the output encodings affect whether or not "
958  "some characters are translated to entities, although in all "
959  "cases, some entities will be written according to other Tidy "
960  "configuration options. "
961  "<br/>"
962  "For <var>ascii</var>, <var>mac</var>, and <var>win1252</var> "
963  "output encodings, entities will be used for all characters "
964  "with values over 127. "
965  "<br/>"
966  "For <var>raw</var> output, Tidy will write values above 127 "
967  "without translating them to entities. "
968  "<br/>"
969  "Output using <var>latin1</var> will cause Tidy to write "
970  "character values higher than 255 as entities. "
971  "<br/>"
972  "The UTF family such as <var>utf8</var> will write output "
973  "in the respective UTF encoding. "
974  "<br/>"
975  "Asian output encodings such as <var>iso2022</var> will write "
976  "output in the specified encoding, assuming a corresponding "
977  "<code>input-encoding</code> was specified. "
978  "<br/>"
979  "Tidy is not an encoding converter. Although the Latin and UTF "
980  "encodings can be mixed freely, it is not possible to convert Asian "
981  "encodings to Latin encodings with Tidy. "
982  },
983  {/* Important notes for translators:
984  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
985  <br/>.
986  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
987  - Option values should be enclosed in <var></var>.
988  - It's very important that <br/> be self-closing!
989  - The strings "Tidy" and "HTML Tidy" are the program name and must not
990  be translated. */
991  TidyOutFile, 0,
992  "This option specifies the output file Tidy uses for markup. Normally "
993  "markup is written to <code>stdout</code>. "
994  },
995  {/* Important notes for translators:
996  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
997  <br/>.
998  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
999  - Option values should be enclosed in <var></var>.
1000  - It's very important that <br/> be self-closing!
1001  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1002  be translated. */
1003  TidyOutputBOM, 0,
1004  "This option specifies if Tidy should write a Unicode Byte Order Mark "
1005  "character (BOM; also known as Zero Width No-Break Space; has value of "
1006  "U+FEFF) to the beginning of the output, and only applies to UTF-8 and "
1007  "UTF-16 output encodings. "
1008  "<br/>"
1009  "If set to <var>auto</var> this option causes Tidy to write a BOM to "
1010  "the output only if a BOM was present at the beginning of the input. "
1011  "<br/>"
1012  "A BOM is always written for XML/XHTML output using UTF-16 output "
1013  "encodings. "
1014  },
1015  {/* Important notes for translators:
1016  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1017  <br/>.
1018  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1019  - Option values should be enclosed in <var></var>.
1020  - It's very important that <br/> be self-closing!
1021  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1022  be translated. */
1023  TidyPPrintTabs, 0,
1024  "This option specifies if Tidy should indent with tabs instead of spaces, "
1025  "assuming <code>indent</code> is <var>yes</var>. "
1026  "<br/>"
1027  "Set it to <var>yes</var> to indent using tabs instead of the default "
1028  "spaces. "
1029  "<br/>"
1030  "Use the option <code>indent-spaces</code> to control the number of tabs "
1031  "output per level of indent. Note that when <code>indent-with-tabs</code> "
1032  "is enabled the default value of <code>indent-spaces</code> is reset to "
1033  "<var>1</var>. "
1034  "<br/>"
1035  "Note <code>tab-size</code> controls converting input tabs to spaces. Set "
1036  "it to zero to retain input tabs. "
1037  },
1038  {/* Important notes for translators:
1039  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1040  <br/>.
1041  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1042  - Option values should be enclosed in <var></var>.
1043  - It's very important that <br/> be self-closing!
1044  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1045  be translated. */
1047  "This option specifies if Tidy should preserve well-formed entities "
1048  "as found in the input. "
1049  },
1050  {/* Important notes for translators:
1051  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1052  <br/>.
1053  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1054  - Option values should be enclosed in <var></var>.
1055  - It's very important that <br/> be self-closing!
1056  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1057  be translated. */
1058  TidyPreTags, 0,
1059  "This option specifies new tags that are to be processed in exactly the "
1060  "same way as HTML's <code>&lt;pre&gt;</code> element. This option takes a "
1061  "space or comma separated list of tag names. "
1062  "<br/>"
1063  "Unless you declare new tags, Tidy will refuse to generate a tidied file if "
1064  "the input includes previously unknown tags. "
1065  "<br/>"
1066  "Note you cannot as yet add new CDATA elements. "
1067  "<br/>"
1068  "This option is ignored in XML mode. "
1069  },
1070  {/* Important notes for translators:
1071  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1072  <br/>.
1073  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1074  - Option values should be enclosed in <var></var>.
1075  - It's very important that <br/> be self-closing!
1076  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1077  be translated. */
1079  "This option allows prioritizing the writing of attributes in tidied "
1080  "documents, allowing them to written before the other attributes of an "
1081  "element. For example, you might specify that <strong>id</strong> and "
1082  "<strong>name</strong> are written before every other attribute. "
1083  "<br/>"
1084  "This option takes a space or comma separated list of attribute names. "
1085  },
1086  {/* Important notes for translators:
1087  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1088  <br/>.
1089  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1090  - Option values should be enclosed in <var></var>.
1091  - It's very important that <br/> be self-closing!
1092  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1093  be translated. */
1094  TidyPunctWrap, 0,
1095  "This option specifies if Tidy should line wrap after some Unicode or "
1096  "Chinese punctuation characters. "
1097  },
1098  {/* Important notes for translators:
1099  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1100  <br/>.
1101  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1102  - Option values should be enclosed in <var></var>.
1103  - It's very important that <br/> be self-closing!
1104  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1105  be translated. */
1106  TidyQuiet, 0,
1107  "When enabled, this option limits Tidy's non-document output to report "
1108  "only document warnings and errors. "
1109  },
1110  {/* Important notes for translators:
1111  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1112  <br/>.
1113  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1114  - Option values should be enclosed in <var></var>.
1115  - It's very important that <br/> be self-closing!
1116  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1117  be translated. */
1118  TidyQuoteAmpersand, 0,
1119  "This option specifies if Tidy should output unadorned <code>&amp;</code> "
1120  "characters as <code>&amp;amp;</code>. "
1121  },
1122  {/* Important notes for translators:
1123  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1124  <br/>.
1125  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1126  - Option values should be enclosed in <var></var>.
1127  - It's very important that <br/> be self-closing!
1128  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1129  be translated. */
1130  TidyQuoteMarks, 0,
1131  "This option specifies if Tidy should output <code>&quot;</code> characters "
1132  "as <code>&amp;quot;</code> as is preferred by some editing environments. "
1133  "<br/>"
1134  "The apostrophe character <code>'</code> is written out as "
1135  "<code>&amp;#39;</code> since many web browsers don't yet support "
1136  "<code>&amp;apos;</code>. "
1137  },
1138  {/* Important notes for translators:
1139  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1140  <br/>.
1141  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1142  - Option values should be enclosed in <var></var>.
1143  - It's very important that <br/> be self-closing!
1144  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1145  be translated. */
1146  TidyQuoteNbsp, 0,
1147  "This option specifies if Tidy should output non-breaking space characters "
1148  "as entities, rather than as the Unicode character value 160 (decimal). "
1149  },
1150  {/* Important notes for translators:
1151  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1152  <br/>.
1153  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1154  - Option values should be enclosed in <var></var>.
1155  - It's very important that <br/> be self-closing!
1156  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1157  be translated. */
1158  TidyReplaceColor, 0,
1159  "This option specifies if Tidy should replace numeric values in color "
1160  "attributes with HTML/XHTML color names where defined, e.g. replace "
1161  "<code>#ffffff</code> with <code>white</code>. "
1162  },
1163  {/* Important notes for translators:
1164  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1165  <br/>.
1166  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1167  - Option values should be enclosed in <var></var>.
1168  - It's very important that <br/> be self-closing!
1169  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1170  be translated. */
1171  TidyShowErrors, 0,
1172  "This option specifies the number Tidy uses to determine if further errors "
1173  "should be shown. If set to <var>0</var>, then no errors are shown. "
1174  },
1175  {/* Important notes for translators:
1176  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1177  <br/>.
1178  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1179  - Option values should be enclosed in <var></var>.
1180  - It's very important that <br/> be self-closing!
1181  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1182  be translated. */
1183  TidyShowFilename, 0,
1184  "This option specifies if Tidy should show the filename in messages. eg: "
1185  "<br/>"
1186  " tidy -q -e --show-filename yes index.html<br/>"
1187  " index.html: line 43 column 3 - Warning: replacing invalid UTF-8 bytes (char. code U+00A9) "
1188  },
1189 
1190  {/* Important notes for translators:
1191  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1192  <br/>.
1193  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1194  - Option values should be enclosed in <var></var>.
1195  - It's very important that <br/> be self-closing!
1196  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1197  be translated. */
1198  TidyShowInfo, 0,
1199  "This option specifies if Tidy should display info-level messages. "
1200  },
1201  {/* Important notes for translators:
1202  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1203  <br/>.
1204  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1205  - Option values should be enclosed in <var></var>.
1206  - It's very important that <br/> be self-closing!
1207  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1208  be translated. */
1209  TidyShowMarkup, 0,
1210  "This option specifies if Tidy should generate a pretty printed version "
1211  "of the markup. Note that Tidy won't generate a pretty printed version if "
1212  "it finds significant errors (see <code>force-output</code>). "
1213  },
1214  {/* Important notes for translators:
1215  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1216  <br/>.
1217  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1218  - Option values should be enclosed in <var></var>.
1219  - It's very important that <br/> be self-closing!
1220  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1221  be translated. */
1222  TidyShowWarnings, 0,
1223  "This option specifies if Tidy should suppress warnings. This can be "
1224  "useful when a few errors are hidden in a flurry of warnings. "
1225  },
1226  {/* Important notes for translators:
1227  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1228  <br/>.
1229  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1230  - Option values should be enclosed in <var></var>.
1231  - It's very important that <br/> be self-closing!
1232  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1233  be translated. */
1234  TidySkipNested, 0,
1235  "This option specifies that Tidy should skip nested tags when parsing "
1236  "script and style data. "
1237  },
1238  {/* Important notes for translators:
1239  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1240  <br/>.
1241  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1242  - Option values should be enclosed in <var></var>.
1243  - It's very important that <br/> be self-closing!
1244  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1245  be translated. */
1246  TidySortAttributes, 0,
1247  "This option specifies that Tidy should sort attributes within an element "
1248  "using the specified sort algorithm. If set to <var>alpha</var>, the "
1249  "algorithm is an ascending alphabetic sort. "
1250  "<br/>"
1251  "When used while sorting with <code>priority-attributes</code>, any "
1252  "attribute sorting will take place after the priority attributes have "
1253  "been output. "
1254  },
1255  {/* Important notes for translators:
1256  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1257  <br/>.
1258  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1259  - Option values should be enclosed in <var></var>.
1260  - It's very important that <br/> be self-closing!
1261  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1262  be translated. */
1263  TidyMuteReports, 0,
1264  "Use this option to prevent Tidy from displaying certain types of "
1265  "report output, for example, for conditions that you wish to ignore. "
1266  "<br/>"
1267  "This option takes a list of one or more keys indicating the message "
1268  "type to mute. You can discover these message keys by using the "
1269  "<code>mute-id</code> configuration option and examining Tidy's "
1270  "output. "
1271  },
1272  {/* Important notes for translators:
1273  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1274  <br/>.
1275  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1276  - Option values should be enclosed in <var></var>.
1277  - It's very important that <br/> be self-closing!
1278  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1279  be translated. */
1280  TidyMuteShow, 0,
1281  "This option indicates whether or not Tidy should display message ID's "
1282  "with each of its error reports. This could be useful if you wanted to "
1283  "use the <code>mute</code> configuration option in order to filter "
1284  "out certain report messages. "
1285  },
1286  {/* Important notes for translators:
1287  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1288  <br/>.
1289  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1290  - Option values should be enclosed in <var></var>.
1291  - It's very important that <br/> be self-closing!
1292  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1293  be translated. */
1294  TidyStrictTagsAttr, 0,
1295  "This options ensures that tags and attributes are applicable for the "
1296  "version of HTML that Tidy outputs. When set to <var>yes</var> and the "
1297  "output document type is a strict doctype, then Tidy will report "
1298  "errors. If the output document type is a loose or transitional "
1299  "doctype, then Tidy will report warnings. "
1300  "<br/>"
1301  "Additionally if <code>drop-proprietary-attributes</code> is enabled, "
1302  "then not applicable attributes will be dropped, too. "
1303  "<br/>"
1304  "When set to <var>no</var>, these checks are not performed. "
1305  },
1306  {/* Important notes for translators:
1307  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1308  <br/>.
1309  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1310  - Option values should be enclosed in <var></var>.
1311  - It's very important that <br/> be self-closing!
1312  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1313  be translated. */
1314  TidyTabSize, 0,
1315  "This option specifies the number of columns that Tidy uses between "
1316  "successive tab stops. It is used to map tabs to spaces when reading the "
1317  "input. "
1318  },
1319  {/* Important notes for translators:
1320  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1321  <br/>.
1322  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1323  - Option values should be enclosed in <var></var>.
1324  - It's very important that <br/> be self-closing!
1325  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1326  be translated. */
1327  TidyUpperCaseAttrs, 0,
1328  "This option specifies if Tidy should output attribute names in upper "
1329  "case. "
1330  "<br/>"
1331  "When set to <var>no</var>, attribute names will be written in lower "
1332  "case. Specifying <var>yes</var> will output attribute names in upper "
1333  "case, and <var>preserve</var> can used to leave attribute names "
1334  "untouched. "
1335  "<br/>"
1336  "When using XML input, the original case is always preserved. "
1337  },
1338  {/* Important notes for translators:
1339  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1340  <br/>.
1341  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1342  - Option values should be enclosed in <var></var>.
1343  - It's very important that <br/> be self-closing!
1344  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1345  be translated. */
1346  TidyUpperCaseTags, 0,
1347  "This option specifies if Tidy should output tag names in upper case. "
1348  "<br/>"
1349  "The default is <var>no</var> which results in lower case tag names, "
1350  "except for XML input where the original case is preserved. "
1351  },
1352  {/* Important notes for translators:
1353  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1354  <br/>.
1355  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1356  - Option values should be enclosed in <var></var>.
1357  - It's very important that <br/> be self-closing!
1358  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1359  be translated. */
1360  TidyUseCustomTags, 0,
1361  "This option enables the use of tags for autonomous custom elements, "
1362  "e.g. <code>&lt;flag-icon&gt;</code> with Tidy. Custom tags are "
1363  "disabled if this value is <var>no</var>. Other settings - "
1364  "<var>blocklevel</var>, <var>empty</var>, <var>inline</var>, and "
1365  "<var>pre</var> will treat <em>all</em> detected custom tags "
1366  "accordingly. "
1367  "<br/>"
1368  "The use of <code>new-blocklevel-tags</code>, "
1369  "<code>new-empty-tags</code>, <code>new-inline-tags</code>, or "
1370  "<code>new-pre-tags</code> will override the treatment of custom tags "
1371  "by this configuration option. This may be useful if you have "
1372  "different types of custom tags."
1373  "<br/>"
1374  "When enabled these tags are determined during the processing of your "
1375  "document using opening tags; matching closing tags will be recognized "
1376  "accordingly, and unknown closing tags will be discarded. "
1377  },
1378  {/* Important notes for translators:
1379  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1380  <br/>.
1381  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1382  - Option values should be enclosed in <var></var>.
1383  - It's very important that <br/> be self-closing!
1384  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1385  be translated. */
1386  TidyVertSpace, 0,
1387  "This option specifies if Tidy should add some extra empty lines for "
1388  "readability. "
1389  "<br/>"
1390  "The default is <var>no</var>. "
1391  "<br/>"
1392  "If set to <var>auto</var> Tidy will eliminate nearly all newline "
1393  "characters."
1394  },
1395  {/* Important notes for translators:
1396  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1397  <br/>.
1398  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1399  - Option values should be enclosed in <var></var>.
1400  - It's very important that <br/> be self-closing!
1401  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1402  be translated. */
1403  TidyWarnPropAttrs, 0,
1404  "This option specifies if Tidy should warn on proprietary attributes."
1405  },
1406  {/* Important notes for translators:
1407  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1408  <br/>.
1409  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1410  - Option values should be enclosed in <var></var>.
1411  - It's very important that <br/> be self-closing!
1412  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1413  be translated. */
1414  TidyWord2000, 0,
1415  "This option specifies if Tidy should go to great pains to strip out "
1416  "all the surplus stuff Microsoft Word 2000 inserts when you save Word "
1417  "documents as \"Web pages\". It doesn't handle embedded images or VML. "
1418  "<br/>"
1419  "You should consider saving using Word's <strong>Save As...</strong>, "
1420  "and choosing <strong>Web Page, Filtered</strong>. "
1421  },
1422  {/* Important notes for translators:
1423  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1424  <br/>.
1425  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1426  - Option values should be enclosed in <var></var>.
1427  - It's very important that <br/> be self-closing!
1428  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1429  be translated. */
1430  TidyWrapAsp, 0,
1431  "This option specifies if Tidy should line wrap text contained within ASP "
1432  "pseudo elements, which look like: <code>&lt;% ... %&gt;</code>. "
1433  },
1434  {/* Important notes for translators:
1435  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1436  <br/>.
1437  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1438  - Option values should be enclosed in <var></var>.
1439  - It's very important that <br/> be self-closing!
1440  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1441  be translated. */
1442  TidyWrapAttVals, 0,
1443  "This option specifies if Tidy should line-wrap attribute values, meaning "
1444  "that if the value of an attribute causes a line to exceed the width "
1445  "specified by <code>wrap</code>, Tidy will add one or more line breaks to "
1446  "the value, causing it to be wrapped into multiple lines. "
1447  "<br/>"
1448  "Note that this option can be set independently of "
1449  "<code>wrap-script-literals</code>. "
1450  "By default Tidy replaces any newline or tab with a single space and "
1451  "replaces any sequences of whitespace with a single space. "
1452  "<br/>"
1453  "To force Tidy to preserve the original, literal values of all attributes, "
1454  "and ensure that whitespace characters within attribute values are passed "
1455  "through unchanged, set <code>literal-attributes</code> to "
1456  "<var>yes</var>. "
1457  },
1458  {/* Important notes for translators:
1459  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1460  <br/>.
1461  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1462  - Option values should be enclosed in <var></var>.
1463  - It's very important that <br/> be self-closing!
1464  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1465  be translated. */
1466  TidyWrapJste, 0,
1467  "This option specifies if Tidy should line wrap text contained within "
1468  "JSTE pseudo elements, which look like: <code>&lt;# ... #&gt;</code>. "
1469  },
1470  {/* Important notes for translators:
1471  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1472  <br/>.
1473  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1474  - Option values should be enclosed in <var></var>.
1475  - It's very important that <br/> be self-closing!
1476  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1477  be translated. */
1478  TidyWrapLen, 0,
1479  "This option specifies the right margin Tidy uses for line wrapping. "
1480  "<br/>"
1481  "Tidy tries to wrap lines so that they do not exceed this length. "
1482  "<br/>"
1483  "Set <code>wrap</code> to <var>0</var> (zero) if you want to disable "
1484  "line wrapping. "
1485  },
1486  {/* Important notes for translators:
1487  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1488  <br/>.
1489  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1490  - Option values should be enclosed in <var></var>.
1491  - It's very important that <br/> be self-closing!
1492  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1493  be translated. */
1494  TidyWrapPhp, 0,
1495  "This option specifies if Tidy should line wrap text contained within PHP "
1496  "pseudo elements, which look like: <code>&lt;?php ... ?&gt;</code>. "
1497  },
1498  {/* Important notes for translators:
1499  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1500  <br/>.
1501  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1502  - Option values should be enclosed in <var></var>.
1503  - It's very important that <br/> be self-closing!
1504  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1505  be translated. */
1506  TidyWrapScriptlets, 0,
1507  "This option specifies if Tidy should line wrap string literals that "
1508  "appear in script attributes. "
1509  "<br/>"
1510  "Tidy wraps long script string literals by inserting a backslash character "
1511  "before the line break. "
1512  },
1513  {/* Important notes for translators:
1514  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1515  <br/>.
1516  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1517  - Option values should be enclosed in <var></var>.
1518  - It's very important that <br/> be self-closing!
1519  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1520  be translated. */
1521  TidyWrapSection, 0,
1522  "This option specifies if Tidy should line wrap text contained within "
1523  "<code>&lt;![ ... ]&gt;</code> section tags. "
1524  },
1525  {/* Important notes for translators:
1526  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1527  <br/>.
1528  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1529  - Option values should be enclosed in <var></var>.
1530  - It's very important that <br/> be self-closing!
1531  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1532  be translated. */
1533  TidyWriteBack, 0,
1534  "This option specifies if Tidy should write back the tidied markup to the "
1535  "same file it read from. "
1536  "<br/>"
1537  "You are advised to keep copies of important files before tidying them, as "
1538  "on rare occasions the result may not be what you expect. "
1539  },
1540  {/* Important notes for translators:
1541  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1542  <br/>.
1543  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1544  - Option values should be enclosed in <var></var>.
1545  - It's very important that <br/> be self-closing!
1546  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1547  be translated. */
1548  TidyXhtmlOut, 0,
1549  "This option specifies if Tidy should generate pretty printed output, "
1550  "writing it as extensible HTML. "
1551  "<br/>"
1552  "This option causes Tidy to set the DOCTYPE and default namespace as "
1553  "appropriate to XHTML, and will use the corrected value in output "
1554  "regardless of other sources. "
1555  "<br/>"
1556  "For XHTML, entities can be written as named or numeric entities according "
1557  "to the setting of <code>numeric-entities</code>. "
1558  "<br/>"
1559  "The original case of tags and attributes will be preserved, regardless of "
1560  "other options. "
1561  },
1562  {/* Important notes for translators:
1563  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1564  <br/>.
1565  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1566  - Option values should be enclosed in <var></var>.
1567  - It's very important that <br/> be self-closing!
1568  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1569  be translated. */
1570  TidyXmlDecl, 0,
1571  "This option specifies if Tidy should add the XML declaration when "
1572  "outputting XML or XHTML. "
1573  "<br/>"
1574  "Note that if the input already includes an <code>&lt;?xml ... ?&gt;</code> "
1575  "declaration then this option will be ignored. "
1576  "<br/>"
1577  "If the encoding for the output is different from <var>ascii</var>, one "
1578  "of the <var>utf*</var> encodings, or <var>raw</var>, then the "
1579  "declaration is always added as required by the XML standard. "
1580  },
1581  {/* Important notes for translators:
1582  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1583  <br/>.
1584  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1585  - Option values should be enclosed in <var></var>.
1586  - It's very important that <br/> be self-closing!
1587  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1588  be translated. */
1589  TidyXmlOut, 0,
1590  "This option specifies if Tidy should pretty print output, writing it as "
1591  "well-formed XML. "
1592  "<br/>"
1593  "Any entities not defined in XML 1.0 will be written as numeric entities to "
1594  "allow them to be parsed by an XML parser. "
1595  "<br/>"
1596  "The original case of tags and attributes will be preserved, regardless of "
1597  "other options. "
1598  },
1599  {/* Important notes for translators:
1600  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1601  <br/>.
1602  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1603  - Option values should be enclosed in <var></var>.
1604  - It's very important that <br/> be self-closing!
1605  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1606  be translated. */
1607  TidyXmlPIs, 0,
1608  "This option specifies if Tidy should change the parsing of processing "
1609  "instructions to require <code>?&gt;</code> as the terminator rather than "
1610  "<code>&gt;</code>. "
1611  "<br/>"
1612  "This option is automatically set if the input is in XML. "
1613  },
1614  {/* Important notes for translators:
1615  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1616  <br/>.
1617  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1618  - Option values should be enclosed in <var></var>.
1619  - It's very important that <br/> be self-closing!
1620  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1621  be translated. */
1622  TidyXmlSpace, 0,
1623  "This option specifies if Tidy should add "
1624  "<code>xml:space=\"preserve\"</code> to elements such as "
1625  "<code>&lt;pre&gt;</code>, <code>&lt;style&gt;</code> and "
1626  "<code>&lt;script&gt;</code> when generating XML. "
1627  "<br/>"
1628  "This is needed if the whitespace in such elements is to "
1629  "be parsed appropriately without having access to the DTD. "
1630  },
1631  {/* Important notes for translators:
1632  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1633  <br/>.
1634  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1635  - Option values should be enclosed in <var></var>.
1636  - It's very important that <br/> be self-closing!
1637  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1638  be translated. */
1639  TidyXmlTags, 0,
1640  "This option specifies if Tidy should use the XML parser rather than the "
1641  "error correcting HTML parser. "
1642  },
1643  {/* Important notes for translators:
1644  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1645  <br/>.
1646  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1647  - Option values should be enclosed in <var></var>.
1648  - It's very important that <br/> be self-closing!
1649  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1650  be translated. */
1651  TidyMetaCharset, 0,
1652  "This option, when enabled, adds a <code>&lt;meta&gt;</code> element "
1653  "and sets the <code>charset</code> attribute to the encoding of the "
1654  "document. Set this option to <var>yes</var> to enable it. "
1655  },
1656  {/* Important notes for translators:
1657  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1658  <br/>.
1659  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1660  - Option values should be enclosed in <var></var>.
1661  - It's very important that <br/> be self-closing!
1662  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1663  be translated. */
1664  TidyShowMetaChange, 0,
1665  "This option enables a message whenever Tidy changes the "
1666  "<code>content</code> attribute of a meta charset declaration to match "
1667  "the encoding of the document. Set this option to <var>yes</var> to "
1668  "enable it. "
1669  },
1670  {/* Important notes for translators:
1671  - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
1672  <br/>.
1673  - Entities, tags, attributes, etc., should be enclosed in <code></code>.
1674  - Option values should be enclosed in <var></var>.
1675  - It's very important that <br/> be self-closing!
1676  - The strings "Tidy" and "HTML Tidy" are the program name and must not
1677  be translated. */
1678  TidyStyleTags, 0,
1679  "This option specifies if Tidy should move all style tags to the "
1680  "head of the document. "
1681  },
1682 
1683 
1684  /********************************************
1685  ** Message Severity Level
1686  ** @remark enum source TidyConfigCategory
1687  ********************************************/
1688  { TidyInfo, 0, "Info: " },
1689  { TidyWarning, 0, "Warning: " },
1690  { TidyConfig, 0, "Config: " },
1691  { TidyAccess, 0, "Access: " },
1692  { TidyError, 0, "Error: " },
1693  { TidyBadDocument, 0, "Document: " },
1694  { TidyFatal, 0, "Panic: " },
1695  { TidyDialogueSummary, 0, "Summary: " },
1696  { TidyDialogueInfo, 0, "Information: " },
1697  { TidyDialogueFootnote, 0, "Footnote: " },
1698 
1699 
1700  /********************************************
1701  ** Miscellaneous Strings
1702  ** @remark enum source TidyStrings
1703  ** @remark enum generator FOREACH_MSG_MISC
1704  ********************************************/
1705  { LINE_COLUMN_STRING, 0, "line %d column %d - " },
1706  { FN_LINE_COLUMN_STRING, 0, "%s: line %d column %d - " },
1707  {/* For example, "discarding invalid UTF-16 surrogate pair" */
1708  STRING_DISCARDING, 0, "discarding"
1709  },
1710  { STRING_ERROR_COUNT_ERROR, 0, "error" },
1711  { STRING_ERROR_COUNT_ERROR, 1, "errors" },
1712  { STRING_ERROR_COUNT_WARNING, 0, "warning" },
1713  { STRING_ERROR_COUNT_WARNING, 1, "warnings" },
1714  { STRING_HELLO_ACCESS, 0, "\nAccessibility Checks:\n" },
1715  {/* This is not a formal name and can be translated. */
1716  STRING_HTML_PROPRIETARY, 0, "HTML Proprietary"
1717  },
1718  { STRING_XML_DECLARATION, 0, "XML declaration" },
1719  { STRING_PLAIN_TEXT, 0, "plain text" },
1720  {/* For example, "replacing invalid UTF-8 bytes" */
1721  STRING_REPLACING, 0, "replacing"
1722  },
1723  {/* For example, "you should avoid using the specified encoding." */
1724  STRING_SPECIFIED, 0, "specified"
1725  },
1726  { TIDYCUSTOMNO_STRING, 0, "no" },
1727  { TIDYCUSTOMBLOCKLEVEL_STRING, 0, "block level" },
1728  { TIDYCUSTOMEMPTY_STRING, 0, "empty" },
1729  { TIDYCUSTOMINLINE_STRING, 0, "inline" },
1730  { TIDYCUSTOMPRE_STRING, 0, "pre" },
1731 
1732 
1733  /********************************************
1734  ** Footnote Strings
1735  ** @remark enum source TidyStrings
1736  ** @rename enum generator FOREACH_FOOTNOTE_MSG
1737  ********************************************/
1738  {/* This console output should be limited to 78 characters per line. */
1739  TEXT_HTML_T_ALGORITHM, 0,
1740  "\n"
1741  " - First, search left from the cell's position to find row header cells.\n"
1742  " - Then search upwards to find column header cells.\n"
1743  " - The search in a given direction stops when the edge of the table is\n"
1744  " reached or when a data cell is found after a header cell.\n"
1745  " - Row headers are inserted into the list in the order they appear in\n"
1746  " the table. \n"
1747  " - For left-to-right tables, headers are inserted from left to right.\n"
1748  " - Column headers are inserted after row headers, in \n"
1749  " the order they appear in the table, from top to bottom. \n"
1750  " - If a header cell has the headers attribute set, then the headers \n"
1751  " referenced by this attribute are inserted into the list and the \n"
1752  " search stops for the current direction.\n"
1753  " TD cells that set the axis attribute are also treated as header cells.\n"
1754  },
1755  {/* This console output should be limited to 78 characters per line.
1756  - %s represents a string-encoding name which may be localized in your language. */
1757  TEXT_VENDOR_CHARS, 0,
1758  "It is unlikely that vendor-specific, system-dependent encodings\n"
1759  "work widely enough on the World Wide Web; you should avoid using the \n"
1760  "%s character encoding, instead you are recommended to\n"
1761  "use named entities, e.g. &trade;.\n"
1762  },
1763  {/* This console output should be limited to 78 characters per line.
1764  - %s represents a string-encoding name which may be localized in your language.
1765  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
1766  TEXT_SGML_CHARS, 0,
1767  "Character codes 128 to 159 (U+0080 to U+009F) are not allowed in HTML;\n"
1768  "even if they were, they would likely be unprintable control characters.\n"
1769  "Tidy assumed you wanted to refer to a character with the same byte value in the \n"
1770  "%s encoding and replaced that reference with the Unicode \n"
1771  "equivalent.\n"
1772  },
1773  {/* This console output should be limited to 78 characters per line. */
1774  TEXT_INVALID_UTF8, 0,
1775  "Character codes for UTF-8 must be in the range: U+0000 to U+10FFFF.\n"
1776  "The definition of UTF-8 in Annex D of ISO/IEC 10646-1:2000 also\n"
1777  "allows for the use of five- and six-byte sequences to encode\n"
1778  "characters that are outside the range of the Unicode character set;\n"
1779  "those five- and six-byte sequences are illegal for the use of\n"
1780  "UTF-8 as a transformation of Unicode characters. ISO/IEC 10646\n"
1781  "does not allow mapping of unpaired surrogates, nor U+FFFE and U+FFFF\n"
1782  "(but it does allow other noncharacters). For more information please refer to\n"
1783  "http://www.unicode.org/ and http://www.cl.cam.ac.uk/~mgk25/unicode.html\n"
1784  },
1785  {/* This console output should be limited to 78 characters per line. */
1786  TEXT_INVALID_UTF16, 0,
1787  "Character codes for UTF-16 must be in the range: U+0000 to U+10FFFF.\n"
1788  "The definition of UTF-16 in Annex C of ISO/IEC 10646-1:2000 does not allow the\n"
1789  "mapping of unpaired surrogates. For more information please refer to\n"
1790  "http://www.unicode.org/ and http://www.cl.cam.ac.uk/~mgk25/unicode.html\n"
1791  },
1792  {/* This console output should be limited to 78 characters per line.
1793  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
1794  TEXT_INVALID_URI, 0,
1795  "URIs must be properly escaped, they must not contain unescaped\n"
1796  "characters below U+0021 including the space character and not\n"
1797  "above U+007E. Tidy escapes the URI for you as recommended by\n"
1798  "HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents\n"
1799  "use another algorithm to escape such URIs and some server-sided\n"
1800  "scripts depend on that. If you want to depend on that, you must\n"
1801  "escape the URI on your own. For more information please refer to\n"
1802  "http://www.w3.org/International/O-URL-and-ident.html\n"
1803  },
1804  {/* This console output should be limited to 78 characters per line. */
1805  TEXT_BAD_FORM, 0,
1806  "You may need to move one or both of the <form> and </form>\n"
1807  "tags. HTML elements should be properly nested and form elements\n"
1808  "are no exception. For instance you should not place the <form>\n"
1809  "in one table cell and the </form> in another. If the <form> is\n"
1810  "placed before a table, the </form> cannot be placed inside the\n"
1811  "table! Note that one form can't be nested inside another!\n"
1812  },
1813  {/* This console output should be limited to 78 characters per line. */
1814  TEXT_BAD_MAIN, 0,
1815  "Only one <main> element is allowed in a document.\n"
1816  "Subsequent <main> elements have been discarded, which may\n"
1817  "render the document invalid.\n"
1818  },
1819  {/* This console output should be limited to 78 characters per line. */
1820  TEXT_M_SUMMARY, 0,
1821  "The table summary attribute should be used to describe\n"
1822  "the table structure. It is very helpful for people using\n"
1823  "non-visual browsers. The scope and headers attributes for\n"
1824  "table cells are useful for specifying which headers apply\n"
1825  "to each table cell, enabling non-visual browsers to provide\n"
1826  "a meaningful context for each cell.\n"
1827  },
1828  {/* This console output should be limited to 78 characters per line. */
1829  TEXT_M_IMAGE_ALT, 0,
1830  "The alt attribute should be used to give a short description\n"
1831  "of an image; longer descriptions should be given with the\n"
1832  "longdesc attribute which takes a URL linked to the description.\n"
1833  "These measures are needed for people using non-graphical browsers.\n"
1834  },
1835  {/* This console output should be limited to 78 characters per line. */
1836  TEXT_M_IMAGE_MAP, 0,
1837  "Use client-side image maps in preference to server-side image\n"
1838  "maps as the latter are inaccessible to people using non-\n"
1839  "graphical browsers. In addition, client-side maps are easier\n"
1840  "to set up and provide immediate feedback to users.\n"
1841  },
1842  {/* This console output should be limited to 78 characters per line. */
1843  TEXT_M_LINK_ALT, 0,
1844  "For hypertext links defined using a client-side image map, you\n"
1845  "need to use the alt attribute to provide a textual description\n"
1846  "of the link for people using non-graphical browsers.\n"
1847  },
1848  {/* This console output should be limited to 78 characters per line. */
1849  TEXT_USING_FRAMES, 0,
1850  "Pages designed using frames present problems for\n"
1851  "people who are either blind or using a browser that\n"
1852  "doesn't support frames. A frames-based page should always\n"
1853  "include an alternative layout inside a NOFRAMES element.\n"
1854  },
1855  {/* This console output should be limited to 78 characters per line. */
1856  FOOTNOTE_TRIM_EMPTY_ELEMENT, 0,
1857  "One or more empty elements were present in the source document but\n"
1858  "dropped on output. If these elements are necessary or you don't want\n"
1859  "this behavior, then consider setting the option \"drop-empty-elements\"\n"
1860  "to no.\n"
1861  },
1862  {/* This console output should be limited to 78 characters per line.
1863  - The URL should not be translated unless you find a matching URL in your language. */
1864  TEXT_ACCESS_ADVICE1, 0,
1865  "For further advice on how to make your pages accessible\n"
1866  "see http://www.w3.org/WAI/GL."
1867  },
1868  {/* This console output should be limited to 78 characters per line.
1869  - The URL should not be translated unless you find a matching URL in your language. */
1870  TEXT_ACCESS_ADVICE2, 0,
1871  "For further advice on how to make your pages accessible\n"
1872  "see http://www.w3.org/WAI/GL and http://www.html-tidy.org/accessibility/."
1873  },
1874  {/* This console output should be limited to 78 characters per line. */
1875  TEXT_USING_LAYER, 0,
1876  "The Cascading Style Sheets (CSS) Positioning mechanism\n"
1877  "is recommended in preference to the proprietary <LAYER>\n"
1878  "element due to limited vendor support for LAYER.\n"
1879  },
1880  {/* This console output should be limited to 78 characters per line. */
1881  TEXT_USING_SPACER, 0,
1882  "You are recommended to use CSS for controlling white\n"
1883  "space (e.g. for indentation, margins and line spacing).\n"
1884  "The proprietary <SPACER> element has limited vendor support.\n"
1885  },
1886  {/* This console output should be limited to 78 characters per line. */
1887  TEXT_USING_FONT, 0,
1888  "You are recommended to use CSS to specify the font and\n"
1889  "properties such as its size and color. This will reduce\n"
1890  "the size of HTML files and make them easier to maintain\n"
1891  "compared with using <FONT> elements.\n"
1892  },
1893  {/* This console output should be limited to 78 characters per line. */
1894  TEXT_USING_NOBR, 0,
1895  "You are recommended to use CSS to control line wrapping.\n"
1896  "Use \"white-space: nowrap\" to inhibit wrapping in place\n"
1897  "of inserting <NOBR>...</NOBR> into the markup.\n"
1898  },
1899  {/* This console output should be limited to 78 characters per line. */
1900  TEXT_USING_BODY, 0,
1901  "You are recommended to use CSS to specify page and link colors"
1902  },
1903 
1904  /********************************************
1905  ** Miscellaneous Dialogue Strings
1906  ** @remark enum source TidyStrings
1907  ** @rename enum generator FOREACH_DIALOG_MSG
1908  ********************************************/
1909  { STRING_CONTENT_LOOKS, 0, "Document content looks like %s" },
1910  { STRING_DOCTYPE_GIVEN, 0, "Doctype given is \"%s\"" },
1911  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
1912  STRING_ERROR_COUNT, 0, "Tidy found %u %s and %u %s!\n"
1913  },
1914  {/* This console output should be limited to 78 characters per line.
1915  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
1917  "This document has errors that must be fixed before\n"
1918  "using HTML Tidy to generate a tidied up version.\n"
1919  },
1920  { STRING_NO_ERRORS, 0, "No warnings or errors were found.\n" },
1921  { STRING_NO_SYSID, 0, "No system identifier in emitted doctype" },
1922  { STRING_NOT_ALL_SHOWN, 0, "Tidy found %u %s and %u %s! Not all warnings/errors were shown.\n" },
1923  {/* This console output should be limited to 78 characters per line.
1924  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
1925  TEXT_GENERAL_INFO, 0,
1926  "About HTML Tidy: https://github.com/htacg/tidy-html5\n"
1927  "Bug reports and comments: https://github.com/htacg/tidy-html5/issues\n"
1928  "Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/\n"
1929  "Latest HTML specification: http://dev.w3.org/html5/spec-author-view/\n"
1930  "Validate your HTML documents: http://validator.w3.org/nu/\n"
1931  "Lobby your company to join the W3C: http://www.w3.org/Consortium\n"
1932  },
1933  {/* This console output should be limited to 78 characters per line.
1934  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
1935  - Don't terminate the last line with a newline. */
1937  "Do you speak a language other than English, or a different variant of \n"
1938  "English? Consider helping us to localize HTML Tidy. For details please see \n"
1939  "https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md"
1940  },
1941 
1942 
1943  /********************************************
1944  ** Report Output
1945  ** @remark enum source TidyStrings
1946  ** @rename enum generator FOREACH_REPORT_MSG
1947  ********************************************/
1948  { ADDED_MISSING_CHARSET, 0, "Added appropriate missing <meta charset=...> to %s" },
1949  { ANCHOR_NOT_UNIQUE, 0, "%s anchor \"%s\" already defined" },
1950  { ANCHOR_DUPLICATED, 0, "Implicit %s anchor \"%s\" duplicated by Tidy." },
1951  { APOS_UNDEFINED, 0, "named entity &apos; only defined in XML/XHTML" },
1952  { ATTR_VALUE_NOT_LCASE, 0, "%s attribute value \"%s\" must be lower case for XHTML" },
1953  { ATTRIBUTE_IS_NOT_ALLOWED, 0, "%s attribute \"is\" not allowed for autonomous custom tags." },
1954  { ATTRIBUTE_VALUE_REPLACED, 0, "%s attribute \"%s\", incorrect value \"%s\" replaced" },
1955  { BACKSLASH_IN_URI, 0, "%s URI reference contains backslash. Typo?" },
1956  { BAD_ATTRIBUTE_VALUE_REPLACED, 0, "%s attribute \"%s\" had invalid value \"%s\" and has been replaced" },
1957  { BAD_ATTRIBUTE_VALUE, 0, "%s attribute \"%s\" has invalid value \"%s\"" },
1958  { BAD_CDATA_CONTENT, 0, "'<' + '/' + letter not allowed here" },
1959  { BAD_SUMMARY_HTML5, 0, "The summary attribute on the %s element is obsolete in HTML5" },
1960  { BAD_SURROGATE_LEAD, 0, "Trailing (Low) surrogate pair U+%04X, with no leading (High) entity, replaced with U+FFFD." },
1961  { BAD_SURROGATE_PAIR, 0, "Have out-of-range surrogate pair U+%04X:U+%04X, replaced with U+FFFD value." },
1962  { BAD_SURROGATE_TAIL, 0, "Leading (High) surrogate pair U+%04X, with no trailing (Low) entity, replaced with U+FFFD." },
1963  { CANT_BE_NESTED, 0, "%s can't be nested" },
1964  { COERCE_TO_ENDTAG, 0, "<%s> is probably intended as </%s>" },
1965  { CONTENT_AFTER_BODY, 0, "content occurs after end of body" },
1966  { CUSTOM_TAG_DETECTED, 0, "detected autonomous custom tag %s; will treat as %s" },
1967  { DISCARDING_UNEXPECTED, 0, "discarding unexpected %s" },
1968  { DOCTYPE_AFTER_TAGS, 0, "<!DOCTYPE> isn't allowed after elements" },
1969  { DUPLICATE_FRAMESET, 0, "repeated FRAMESET element" },
1970  { ELEMENT_NOT_EMPTY, 0, "%s element not empty or not closed" },
1971  { ELEMENT_VERS_MISMATCH_ERROR, 0, "%s element not available in %s" },
1972  { ELEMENT_VERS_MISMATCH_WARN, 0, "%s element not available in %s" },
1973  { ENCODING_MISMATCH, 0, "specified input encoding (%s) does not match actual input encoding (%s)" },
1974  { ESCAPED_ILLEGAL_URI, 0, "%s escaping malformed URI reference" },
1975  { FILE_CANT_OPEN, 0, "Can't open \"%s\"\n" },
1976  { FILE_CANT_OPEN_CFG, 0, "Can't open configuration file \"%s\"\n" },
1977  { FILE_NOT_FILE, 0, "\"%s\" is not a file!\n" },
1978  { FIXED_BACKSLASH, 0, "%s converting backslash in URI to slash" },
1979  { FOUND_STYLE_IN_BODY, 0, "found <style> tag in <body>! fix-style-tags: yes to move." },
1980  { ID_NAME_MISMATCH, 0, "%s id and name attribute value mismatch" },
1981  { ILLEGAL_NESTING, 0, "%s shouldn't be nested" },
1982  { ILLEGAL_URI_CODEPOINT, 0, "%s illegal characters found in URI" },
1983  { ILLEGAL_URI_REFERENCE, 0, "%s improperly escaped URI reference" },
1984  { INSERTING_AUTO_ATTRIBUTE, 0, "%s inserting \"%s\" attribute using value \"%s\"" },
1985  { INSERTING_TAG, 0, "inserting implicit <%s>" },
1986  { INVALID_ATTRIBUTE, 0, "%s attribute name \"%s\" (value=\"%s\") is invalid" },
1987  { INVALID_NCR, 0, "%s invalid numeric character reference %s" },
1988  { INVALID_SGML_CHARS, 0, "%s invalid character code %s" },
1989  { INVALID_UTF8, 0, "%s invalid UTF-8 bytes (char. code %s)" },
1990  { INVALID_UTF16, 0, "%s invalid UTF-16 surrogate pair (char. code %s)" },
1991  { INVALID_XML_ID, 0, "%s cannot copy name attribute to id" },
1992  { JOINING_ATTRIBUTE, 0, "%s joining values of repeated attribute \"%s\"" },
1993  { MALFORMED_COMMENT, 0, "tidy replaced adjacent \"-\" with \"=\"" },
1994  { MALFORMED_COMMENT_DROPPING, 0, "dropping a possible comment due to a missing hyphen" },
1995  { MALFORMED_COMMENT_EOS, 0, "the end of the document was reached before the end of the comment" },
1996  { MALFORMED_COMMENT_WARN, 0, "detected adjacent hyphens within the comment; consider fix-bad-comments" },
1997  { MALFORMED_DOCTYPE, 0, "discarding malformed <!DOCTYPE>" },
1998  { MISMATCHED_ATTRIBUTE_ERROR, 0, "%s attribute \"%s\" not allowed for %s" },
1999  { MISMATCHED_ATTRIBUTE_WARN, 0, "%s attribute \"%s\" not allowed for %s" },
2000  { MISSING_ATTR_VALUE, 0, "%s attribute \"%s\" lacks value" },
2001  { MISSING_ATTRIBUTE, 0, "%s lacks \"%s\" attribute" },
2002  { MISSING_DOCTYPE, 0, "missing <!DOCTYPE> declaration" },
2003  { MISSING_ENDTAG_BEFORE, 0, "missing </%s> before %s" },
2004  { MISSING_ENDTAG_FOR, 0, "missing </%s>" },
2005  { MISSING_ENDTAG_OPTIONAL, 0, "missing optional end tag </%s>" },
2006  { MISSING_IMAGEMAP, 0, "%s should use client-side image map" },
2007  { MISSING_QUOTEMARK, 0, "%s attribute with missing trailing quote mark" },
2008  { MISSING_QUOTEMARK_OPEN, 0, "value for attribute \"%s\" missing quote marks" },
2009  { MISSING_SEMICOLON_NCR, 0, "numeric character reference \"%s\" doesn't end in ';'" },
2010  { MISSING_SEMICOLON, 0, "entity \"%s\" doesn't end in ';'" },
2011  { MISSING_STARTTAG, 0, "missing <%s>" },
2012  { MISSING_TITLE_ELEMENT, 0, "inserting missing 'title' element" },
2013  { MOVED_STYLE_TO_HEAD, 0, "moved <style> tag to <head>! fix-style-tags: no to avoid." },
2014  { NESTED_EMPHASIS, 0, "nested emphasis %s" },
2015  { NESTED_QUOTATION, 0, "nested q elements, possible typo." },
2016  { NEWLINE_IN_URI, 0, "%s discarding newline in URI reference" },
2017  { NOFRAMES_CONTENT, 0, "%s not inside 'noframes' element" },
2018  { NON_MATCHING_ENDTAG, 0, "replacing unexpected %s with </%s>" },
2019  { OBSOLETE_ELEMENT, 0, "replacing obsolete element %s with %s" },
2020  { OPTION_REMOVED, 0, "option \"%s\" no longer exists, and no replacement could be found." },
2021  { OPTION_REMOVED_APPLIED, 0, "option \"%s\" replaced with \"%s\", which Tidy has set to \"%s\"." },
2022  { OPTION_REMOVED_UNAPPLIED, 0, "option \"%s\" replaced with \"%s\", but Tidy could not set it for you." },
2023  { PREVIOUS_LOCATION, 0, "<%s> previously mentioned" },
2024  { PROPRIETARY_ATTR_VALUE, 0, "%s proprietary attribute value \"%s\"" },
2025  { PROPRIETARY_ATTRIBUTE, 0, "%s proprietary attribute \"%s\"" },
2026  { PROPRIETARY_ELEMENT, 0, "%s is not approved by W3C" },
2027  { REMOVED_HTML5, 0, "%s element removed from HTML5" },
2028  { REPEATED_ATTRIBUTE, 0, "%s dropping value \"%s\" for repeated attribute \"%s\"" },
2029  { REPLACING_ELEMENT, 0, "replacing %s with %s" },
2030  { REPLACING_UNEX_ELEMENT, 0, "replacing unexpected %s with %s" },
2031  { SPACE_PRECEDING_XMLDECL, 0, "removing whitespace preceding XML Declaration" },
2032  { STRING_ARGUMENT_BAD, 0, "option \"%s\" given bad argument \"%s\"" },
2033  { STRING_MISSING_MALFORMED, 0, "missing or malformed argument for option: %s" },
2034  { STRING_MUTING_TYPE, 0, "messages of type \"%s\" will not be output" },
2035  { STRING_UNKNOWN_OPTION, 0, "unknown option: %s" },
2036  { SUSPECTED_MISSING_QUOTE, 0, "suspected missing quote mark for attribute value" },
2037  { TAG_NOT_ALLOWED_IN, 0, "%s isn't allowed in <%s> elements" },
2038  { TOO_MANY_ELEMENTS_IN, 0, "too many %s elements in <%s>" },
2039  { TOO_MANY_ELEMENTS, 0, "too many %s elements" },
2040  { TRIM_EMPTY_ELEMENT, 0, "trimming empty %s" },
2041  { UNESCAPED_AMPERSAND, 0, "unescaped & which should be written as &amp;" },
2042  { UNEXPECTED_END_OF_FILE_ATTR, 0, "%s end of file while parsing attributes" },
2043  { UNEXPECTED_END_OF_FILE, 0, "unexpected end of file %s" },
2044  { UNEXPECTED_ENDTAG_ERR, 0, "unexpected </%s>" },
2045  { UNEXPECTED_ENDTAG_IN, 0, "unexpected </%s> in <%s>" },
2046  { UNEXPECTED_ENDTAG, 0, "unexpected </%s>" },
2047  { UNEXPECTED_EQUALSIGN, 0, "%s unexpected '=', expected attribute name" },
2048  { UNEXPECTED_GT, 0, "%s missing '>' for end of tag" },
2049  { UNEXPECTED_QUOTEMARK, 0, "%s unexpected or duplicate quote mark" },
2050  { UNKNOWN_ELEMENT_LOOKS_CUSTOM, 0, "%s is not recognized! Did you mean to enable the custom-tags option?" },
2051  { UNKNOWN_ELEMENT, 0, "%s is not recognized!" },
2052  { UNKNOWN_ENTITY, 0, "unescaped & or unknown entity \"%s\"" },
2053  { USING_BR_INPLACE_OF, 0, "using <br> in place of %s" },
2054  { VENDOR_SPECIFIC_CHARS, 0, "%s invalid character code %s" },
2055  { WHITE_IN_URI, 0, "%s discarding whitespace in URI reference" },
2056  { XML_DECLARATION_DETECTED, 0, "An XML declaration was detected. Did you mean to use input-xml?" },
2057  { XML_ID_SYNTAX, 0, "%s ID \"%s\" uses XML ID syntax" },
2058 
2059 
2060  /***************************************
2061  ** Report Output -- Accessibility
2062  ***************************************/
2063  { IMG_MISSING_ALT, 0, "[1.1.1.1]: <img> missing 'alt' text." },
2064  { IMG_ALT_SUSPICIOUS_FILENAME, 0, "[1.1.1.2]: suspicious 'alt' text (filename)." },
2065  { IMG_ALT_SUSPICIOUS_FILE_SIZE, 0, "[1.1.1.3]: suspicious 'alt' text (file size)." },
2066  { IMG_ALT_SUSPICIOUS_PLACEHOLDER, 0, "[1.1.1.4]: suspicious 'alt' text (placeholder)." },
2067  { IMG_ALT_SUSPICIOUS_TOO_LONG, 0, "[1.1.1.10]: suspicious 'alt' text (too long)." },
2068  { IMG_MISSING_LONGDESC_DLINK, 0, "[1.1.2.1]: <img> missing 'longdesc' and d-link." },
2069  { IMG_MISSING_DLINK, 0, "[1.1.2.2]: <img> missing d-link." },
2070  { IMG_MISSING_LONGDESC, 0, "[1.1.2.3]: <img> missing 'longdesc'." },
2071  { IMG_BUTTON_MISSING_ALT, 0, "[1.1.3.1]: <img> (button) missing 'alt' text." },
2072  { APPLET_MISSING_ALT, 0, "[1.1.4.1]: <applet> missing alternate content." },
2073  { OBJECT_MISSING_ALT, 0, "[1.1.5.1]: <object> missing alternate content." },
2074  { AUDIO_MISSING_TEXT_WAV, 0, "[1.1.6.1]: audio missing text transcript (wav)." },
2075  { AUDIO_MISSING_TEXT_AU, 0, "[1.1.6.2]: audio missing text transcript (au)." },
2076  { AUDIO_MISSING_TEXT_AIFF, 0, "[1.1.6.3]: audio missing text transcript (aiff)." },
2077  { AUDIO_MISSING_TEXT_SND, 0, "[1.1.6.4]: audio missing text transcript (snd)." },
2078  { AUDIO_MISSING_TEXT_RA, 0, "[1.1.6.5]: audio missing text transcript (ra)." },
2079  { AUDIO_MISSING_TEXT_RM, 0, "[1.1.6.6]: audio missing text transcript (rm)." },
2080  { FRAME_MISSING_LONGDESC, 0, "[1.1.8.1]: <frame> may require 'longdesc'." },
2081  { AREA_MISSING_ALT, 0, "[1.1.9.1]: <area> missing 'alt' text." },
2082  { SCRIPT_MISSING_NOSCRIPT, 0, "[1.1.10.1]: <script> missing <noscript> section." },
2083  { ASCII_REQUIRES_DESCRIPTION, 0, "[1.1.12.1]: ascii art requires description." },
2084  { IMG_MAP_SERVER_REQUIRES_TEXT_LINKS, 0, "[1.2.1.1]: image map (server-side) requires text links." },
2085  { MULTIMEDIA_REQUIRES_TEXT, 0, "[1.4.1.1]: multimedia requires synchronized text equivalents." },
2086  { IMG_MAP_CLIENT_MISSING_TEXT_LINKS, 0, "[1.5.1.1]: image map (client-side) missing text links." },
2087  { INFORMATION_NOT_CONVEYED_IMAGE, 0, "[2.1.1.1]: ensure information not conveyed through color alone (image)." },
2088  { INFORMATION_NOT_CONVEYED_APPLET, 0, "[2.1.1.2]: ensure information not conveyed through color alone (applet)." },
2089  { INFORMATION_NOT_CONVEYED_OBJECT, 0, "[2.1.1.3]: ensure information not conveyed through color alone (object)." },
2090  { INFORMATION_NOT_CONVEYED_SCRIPT, 0, "[2.1.1.4]: ensure information not conveyed through color alone (script)." },
2091  { INFORMATION_NOT_CONVEYED_INPUT, 0, "[2.1.1.5]: ensure information not conveyed through color alone (input)." },
2092  { COLOR_CONTRAST_TEXT, 0, "[2.2.1.1]: poor color contrast (text)." },
2093  { COLOR_CONTRAST_LINK, 0, "[2.2.1.2]: poor color contrast (link)." },
2094  { COLOR_CONTRAST_ACTIVE_LINK, 0, "[2.2.1.3]: poor color contrast (active link)." },
2095  { COLOR_CONTRAST_VISITED_LINK, 0, "[2.2.1.4]: poor color contrast (visited link)." },
2096  { DOCTYPE_MISSING, 0, "[3.2.1.1]: <doctype> missing." },
2097  { STYLE_SHEET_CONTROL_PRESENTATION, 0, "[3.3.1.1]: use style sheets to control presentation." },
2098  { HEADERS_IMPROPERLY_NESTED, 0, "[3.5.1.1]: headers improperly nested." },
2099  { POTENTIAL_HEADER_BOLD, 0, "[3.5.2.1]: potential header (bold)." },
2100  { POTENTIAL_HEADER_ITALICS, 0, "[3.5.2.2]: potential header (italics)." },
2101  { POTENTIAL_HEADER_UNDERLINE, 0, "[3.5.2.3]: potential header (underline)." },
2102  { HEADER_USED_FORMAT_TEXT, 0, "[3.5.3.1]: header used to format text." },
2103  { LIST_USAGE_INVALID_UL, 0, "[3.6.1.1]: list usage invalid <ul>." },
2104  { LIST_USAGE_INVALID_OL, 0, "[3.6.1.2]: list usage invalid <ol>." },
2105  { LIST_USAGE_INVALID_LI, 0, "[3.6.1.4]: list usage invalid <li>." },
2106  { LANGUAGE_NOT_IDENTIFIED, 0, "[4.3.1.1]: language not identified." },
2107  { LANGUAGE_INVALID, 0, "[4.3.1.2]: language attribute invalid." },
2108  { DATA_TABLE_MISSING_HEADERS, 0, "[5.1.2.1]: data <table> missing row/column headers (all)." },
2109  { DATA_TABLE_MISSING_HEADERS_COLUMN, 0, "[5.1.2.2]: data <table> missing row/column headers (1 col)." },
2110  { DATA_TABLE_MISSING_HEADERS_ROW, 0, "[5.1.2.3]: data <table> missing row/column headers (1 row)." },
2111  { DATA_TABLE_REQUIRE_MARKUP_COLUMN_HEADERS, 0, "[5.2.1.1]: data <table> may require markup (column headers)." },
2112  { DATA_TABLE_REQUIRE_MARKUP_ROW_HEADERS, 0, "[5.2.1.2]: data <table> may require markup (row headers)." },
2113  { LAYOUT_TABLES_LINEARIZE_PROPERLY, 0, "[5.3.1.1]: verify layout tables linearize properly." },
2114  { LAYOUT_TABLE_INVALID_MARKUP, 0, "[5.4.1.1]: invalid markup used in layout <table>." },
2115  { TABLE_MISSING_SUMMARY, 0, "[5.5.1.1]: <table> missing summary." },
2116  { TABLE_SUMMARY_INVALID_NULL, 0, "[5.5.1.2]: <table> summary invalid (null)." },
2117  { TABLE_SUMMARY_INVALID_SPACES, 0, "[5.5.1.3]: <table> summary invalid (spaces)." },
2118  { TABLE_SUMMARY_INVALID_PLACEHOLDER, 0, "[5.5.1.6]: <table> summary invalid (placeholder text)." },
2119  { TABLE_MISSING_CAPTION, 0, "[5.5.2.1]: <table> missing <caption>." },
2120  { TABLE_MAY_REQUIRE_HEADER_ABBR, 0, "[5.6.1.1]: <table> may require header abbreviations." },
2121  { TABLE_MAY_REQUIRE_HEADER_ABBR_NULL, 0, "[5.6.1.2]: <table> header abbreviations invalid (null)." },
2122  { TABLE_MAY_REQUIRE_HEADER_ABBR_SPACES, 0, "[5.6.1.3]: <table> header abbreviations invalid (spaces)." },
2123  { STYLESHEETS_REQUIRE_TESTING_LINK, 0, "[6.1.1.1]: style sheets require testing (link)." },
2124  { STYLESHEETS_REQUIRE_TESTING_STYLE_ELEMENT, 0, "[6.1.1.2]: style sheets require testing (style element)." },
2125  { STYLESHEETS_REQUIRE_TESTING_STYLE_ATTR, 0, "[6.1.1.3]: style sheets require testing (style attribute)." },
2126  { FRAME_SRC_INVALID, 0, "[6.2.1.1]: <frame> source invalid." },
2127  { TEXT_EQUIVALENTS_REQUIRE_UPDATING_APPLET, 0, "[6.2.2.1]: text equivalents require updating (applet)." },
2128  { TEXT_EQUIVALENTS_REQUIRE_UPDATING_SCRIPT, 0, "[6.2.2.2]: text equivalents require updating (script)." },
2129  { TEXT_EQUIVALENTS_REQUIRE_UPDATING_OBJECT, 0, "[6.2.2.3]: text equivalents require updating (object)." },
2130  { PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_SCRIPT, 0, "[6.3.1.1]: programmatic objects require testing (script)." },
2131  { PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_OBJECT, 0, "[6.3.1.2]: programmatic objects require testing (object)." },
2132  { PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_EMBED, 0, "[6.3.1.3]: programmatic objects require testing (embed)." },
2133  { PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_APPLET, 0, "[6.3.1.4]: programmatic objects require testing (applet)." },
2134  { FRAME_MISSING_NOFRAMES, 0, "[6.5.1.1]: <frameset> missing <noframes> section." },
2135  { NOFRAMES_INVALID_NO_VALUE, 0, "[6.5.1.2]: <noframes> section invalid (no value)." },
2136  { NOFRAMES_INVALID_CONTENT, 0, "[6.5.1.3]: <noframes> section invalid (content)." },
2137  { NOFRAMES_INVALID_LINK, 0, "[6.5.1.4]: <noframes> section invalid (link)." },
2138  { REMOVE_FLICKER_SCRIPT, 0, "[7.1.1.1]: remove flicker (script)." },
2139  { REMOVE_FLICKER_OBJECT, 0, "[7.1.1.2]: remove flicker (object)." },
2140  { REMOVE_FLICKER_EMBED, 0, "[7.1.1.3]: remove flicker (embed)." },
2141  { REMOVE_FLICKER_APPLET, 0, "[7.1.1.4]: remove flicker (applet)." },
2142  { REMOVE_FLICKER_ANIMATED_GIF, 0, "[7.1.1.5]: remove flicker (animated gif)." },
2143  { REMOVE_BLINK_MARQUEE, 0, "[7.2.1.1]: remove blink/marquee." },
2144  { REMOVE_AUTO_REFRESH, 0, "[7.4.1.1]: remove auto-refresh." },
2145  { REMOVE_AUTO_REDIRECT, 0, "[7.5.1.1]: remove auto-redirect." },
2146  { ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_SCRIPT, 0, "[8.1.1.1]: ensure programmatic objects are accessible (script)." },
2147  { ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_OBJECT, 0, "[8.1.1.2]: ensure programmatic objects are accessible (object)." },
2148  { ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_APPLET, 0, "[8.1.1.3]: ensure programmatic objects are accessible (applet)." },
2149  { ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_EMBED, 0, "[8.1.1.4]: ensure programmatic objects are accessible (embed)." },
2150  { IMAGE_MAP_SERVER_SIDE_REQUIRES_CONVERSION, 0, "[9.1.1.1]: image map (server-side) requires conversion." },
2151  { SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_DOWN, 0, "[9.3.1.1]: <script> not keyboard accessible (onMouseDown)." },
2152  { SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_UP, 0, "[9.3.1.2]: <script> not keyboard accessible (onMouseUp)." },
2153  { SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_CLICK, 0, "[9.3.1.3]: <script> not keyboard accessible (onClick)." },
2154  { SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_OVER, 0, "[9.3.1.4]: <script> not keyboard accessible (onMouseOver)." },
2155  { SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_OUT, 0, "[9.3.1.5]: <script> not keyboard accessible (onMouseOut)." },
2156  { SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_MOVE, 0, "[9.3.1.6]: <script> not keyboard accessible (onMouseMove)." },
2157  { NEW_WINDOWS_REQUIRE_WARNING_NEW, 0, "[10.1.1.1]: new windows require warning (_new)." },
2158  { NEW_WINDOWS_REQUIRE_WARNING_BLANK, 0, "[10.1.1.2]: new windows require warning (_blank)." },
2159  { REPLACE_DEPRECATED_HTML_APPLET, 0, "[11.2.1.1]: replace deprecated html <applet>." },
2160  { REPLACE_DEPRECATED_HTML_BASEFONT, 0, "[11.2.1.2]: replace deprecated html <basefont>." },
2161  { REPLACE_DEPRECATED_HTML_CENTER, 0, "[11.2.1.3]: replace deprecated html <center>." },
2162  { REPLACE_DEPRECATED_HTML_DIR, 0, "[11.2.1.4]: replace deprecated html <dir>." },
2163  { REPLACE_DEPRECATED_HTML_FONT, 0, "[11.2.1.5]: replace deprecated html <font>." },
2164  { REPLACE_DEPRECATED_HTML_ISINDEX, 0, "[11.2.1.6]: replace deprecated html <isindex>." },
2165  { REPLACE_DEPRECATED_HTML_MENU, 0, "[11.2.1.7]: replace deprecated html <menu>." },
2166  { REPLACE_DEPRECATED_HTML_S, 0, "[11.2.1.8]: replace deprecated html <s>." },
2167  { REPLACE_DEPRECATED_HTML_STRIKE, 0, "[11.2.1.9]: replace deprecated html <strike>." },
2168  { REPLACE_DEPRECATED_HTML_U, 0, "[11.2.1.10]: replace deprecated html <u>." },
2169  { FRAME_MISSING_TITLE, 0, "[12.1.1.1]: <frame> missing title." },
2170  { FRAME_TITLE_INVALID_NULL, 0, "[12.1.1.2]: <frame> title invalid (null)." },
2171  { FRAME_TITLE_INVALID_SPACES, 0, "[12.1.1.3]: <frame> title invalid (spaces)." },
2172  { ASSOCIATE_LABELS_EXPLICITLY, 0, "[12.4.1.1]: associate labels explicitly with form controls." },
2173  { ASSOCIATE_LABELS_EXPLICITLY_FOR, 0, "[12.4.1.2]: associate labels explicitly with form controls (for)." },
2174  { ASSOCIATE_LABELS_EXPLICITLY_ID, 0, "[12.4.1.3]: associate labels explicitly with form controls (id)." },
2175  { LINK_TEXT_NOT_MEANINGFUL, 0, "[13.1.1.1]: link text not meaningful." },
2176  { LINK_TEXT_MISSING, 0, "[13.1.1.2]: link text missing." },
2177  { LINK_TEXT_TOO_LONG, 0, "[13.1.1.3]: link text too long." },
2178  { LINK_TEXT_NOT_MEANINGFUL_CLICK_HERE, 0, "[13.1.1.4]: link text not meaningful (click here)." },
2179  { METADATA_MISSING, 0, "[13.2.1.1]: Metadata missing." },
2180  { METADATA_MISSING_REDIRECT_AUTOREFRESH, 0, "[13.2.1.3]: Metadata missing (redirect/auto-refresh)." },
2181  { SKIPOVER_ASCII_ART, 0, "[13.10.1.1]: skip over ascii art." },
2182 
2183 
2184 #if SUPPORT_CONSOLE_APP
2185  /********************************************************
2186  ** Console Application
2187  ** Although these strings are not used within LibTidy
2188  ** and only for the console application, they are
2189  ** provided as part of LibTidy for convenience to
2190  ** developers.
2191  ********************************************************/
2192  { TC_LABEL_COL, 0, "column" },
2193  { TC_LABEL_FILE, 0, "file" },
2194  { TC_LABEL_LANG, 0, "lang" },
2195  { TC_LABEL_LEVL, 0, "level" },
2196  { TC_LABEL_OPT, 0, "option" },
2197  { TC_MAIN_ERROR_LOAD_CONFIG, 0, "Loading config file \"%s\" problems, err = %d" },
2198  { TC_OPT_ACCESS, 0,
2199  "do additional accessibility checks (<level> = 0, 1, 2, 3). 0 is "
2200  "assumed if <level> is missing."
2201  },
2202  { TC_OPT_ASCII, 0, "use ISO-8859-1 for input, US-ASCII for output" },
2203  { TC_OPT_ASHTML, 0, "force XHTML to well formed HTML" },
2204  { TC_OPT_ASXML, 0, "convert HTML to well formed XHTML" },
2205  { TC_OPT_BARE, 0, "strip out smart quotes and em dashes, etc." },
2206  { TC_OPT_BIG5, 0, "use Big5 for both input and output" },
2207  { TC_OPT_CLEAN, 0, "replace FONT, NOBR and CENTER tags with CSS" },
2208  { TC_OPT_CONFIG, 0, "set configuration options from the specified <file>" },
2209  { TC_OPT_ERRORS, 0, "show only errors and warnings" },
2210  { TC_OPT_FILE, 0, "write errors and warnings to the specified <file>" },
2211  { TC_OPT_GDOC, 0, "produce clean version of html exported by Google Docs" },
2212  { TC_OPT_HELP, 0, "list the command line options" },
2213  { TC_OPT_HELPCFG, 0, "list all configuration options" },
2214  { TC_OPT_HELPENV, 0, "show information about the environment and runtime configuration" },
2215  { TC_OPT_HELPOPT, 0, "show a description of the <option>" },
2216  { TC_OPT_IBM858, 0, "use IBM-858 (CP850+Euro) for input, US-ASCII for output" },
2217  { TC_OPT_INDENT, 0, "indent element content" },
2218  { TC_OPT_ISO2022, 0, "use ISO-2022 for both input and output" },
2219 
2220  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2221  TC_OPT_LANGUAGE, 0,
2222  "set Tidy's output language to <lang>. Specify '-language help' for more help. "
2223  "Use before output-causing arguments to ensure the language takes effect, e.g.,"
2224  "`tidy -lang es -lang help`."
2225  },
2226 
2227  { TC_OPT_LATIN0, 0, "use ISO-8859-15 for input, US-ASCII for output" },
2228  { TC_OPT_LATIN1, 0, "use ISO-8859-1 for both input and output" },
2229  { TC_OPT_MAC, 0, "use MacRoman for input, US-ASCII for output" },
2230  { TC_OPT_MODIFY, 0, "modify the original input files" },
2231  { TC_OPT_NUMERIC, 0, "output numeric rather than named entities" },
2232  { TC_OPT_OMIT, 0, "omit optional start tags and end tags" },
2233  { TC_OPT_OUTPUT, 0, "write output to the specified <file>" },
2234  { TC_OPT_QUIET, 0, "suppress nonessential output" },
2235  { TC_OPT_RAW, 0, "output values above 127 without conversion to entities" },
2236  { TC_OPT_SHIFTJIS, 0, "use Shift_JIS for both input and output" },
2237  { TC_OPT_SHOWCFG, 0, "list the current configuration settings" },
2238  { TC_OPT_EXP_CFG, 0, "list the current configuration settings, suitable for a config file" },
2239  { TC_OPT_EXP_DEF, 0, "list the default configuration settings, suitable for a config file" },
2240  { TC_OPT_UPPER, 0, "force tags to upper case" },
2241  { TC_OPT_UTF16, 0, "use UTF-16 for both input and output" },
2242  { TC_OPT_UTF16BE, 0, "use UTF-16BE for both input and output" },
2243  { TC_OPT_UTF16LE, 0, "use UTF-16LE for both input and output" },
2244  { TC_OPT_UTF8, 0, "use UTF-8 for both input and output" },
2245 
2246  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2247  TC_OPT_VERSION, 0, "show the version of Tidy"
2248  },
2249 
2250  { TC_OPT_WIN1252, 0, "use Windows-1252 for input, US-ASCII for output" },
2251  { TC_OPT_WRAP, 0,
2252  "wrap text at the specified <column>. 0 is assumed if <column> is "
2253  "missing. When this option is omitted, the default of the "
2254  "configuration option 'wrap' applies."
2255  },
2256  { TC_OPT_XML, 0, "specify the input is well formed XML" },
2257  { TC_OPT_XMLCFG, 0, "list all configuration options in XML format" },
2258  { TC_OPT_XMLHELP, 0, "list the command line options in XML format" },
2259 
2260  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2261  TC_OPT_XMLSTRG, 0, "output all of Tidy's strings in XML format"
2262  },
2263 
2264  { TC_OPT_XMLERRS, 0, "output error constants and strings in XML format" },
2265 
2266  { TC_OPT_XMLOPTS, 0, "output option descriptions in XML format" },
2267 
2268  { TC_STRING_CONF_HEADER, 0, "Configuration File Settings:" },
2269 
2270  {/* Must be 27 characters or fewer. */
2271  TC_STRING_CONF_NAME, 0, "Name"
2272  },
2273  {/* Must be 9 characters or fewer. */
2274  TC_STRING_CONF_TYPE, 0, "Type"
2275  },
2276  {/* Must be 40 characters or fewer. */
2277  TC_STRING_CONF_VALUE, 0, "Current Value"
2278  },
2279 
2280  { TC_STRING_OPT_NOT_DOCUMENTED, 0, "Warning: option `%s' is not documented." },
2281  { TC_STRING_OUT_OF_MEMORY, 0, "Out of memory. Bailing out." },
2282  { TC_STRING_FATAL_ERROR, 0, "Fatal error: impossible value for id='%d'." },
2283  { TC_STRING_FILE_MANIP, 0, "File manipulation" },
2284  { TC_STRING_PROCESS_DIRECTIVES, 0, "Processing directives" },
2285  { TC_STRING_CHAR_ENCODING, 0, "Character encodings" },
2286  { TC_STRING_LANG_MUST_SPECIFY, 0, "A POSIX or Windows locale must be specified." },
2287 
2288  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2289  TC_STRING_LANG_NOT_FOUND, 0, "Tidy doesn't have language '%s,' will use '%s' instead."
2290  },
2291 
2292  { TC_STRING_MISC, 0, "Miscellaneous" },
2293  { TC_STRING_XML, 0, "XML" },
2294  { TC_STRING_MUST_SPECIFY, 0, "A Tidy option name must be specified." },
2295 
2296  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2297  TC_STRING_UNKNOWN_OPTION, 0, "HTML Tidy: unknown option: %c"
2298  },
2299  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2300  TC_STRING_UNKNOWN_OPTION_B, 0, "HTML Tidy: unknown option."
2301  },
2302  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2303  TC_STRING_VERS_A, 0, "HTML Tidy for %s version %s"
2304  },
2305  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2306  TC_STRING_VERS_B, 0, "HTML Tidy version %s"
2307  },
2308 
2309  {/* This console output should be limited to 78 characters per line.
2310  - First %s represents the name of the executable from the file system, and is mostly like going to be "tidy".
2311  - Second %s represents a version number, typically x.x.xx.
2312  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2313  TC_TXT_HELP_1, 0,
2314  "%s [options...] [file...] [options...] [file...]\n"
2315  "Utility to clean up and pretty print HTML/XHTML/XML.\n"
2316  "\n"
2317  "This is modern HTML Tidy version %s.\n"
2318  "\n"
2319  },
2320  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
2321  - %s represents the platform, for example, "Mac OS X" or "Windows". */
2322  TC_TXT_HELP_2A, 0,
2323  "Command Line Arguments for HTML Tidy for %s:"
2324  },
2325  {/* The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2326  TC_TXT_HELP_2B, 0,
2327  "Command Line Arguments for HTML Tidy:"
2328  },
2329  {/* This console output should be limited to 78 characters per line.
2330  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
2331  - %s represents either a blank line, or TC_TXT_HELP_3A explaining environment options. */
2332  TC_TXT_HELP_3, 0,
2333  "\n"
2334  "Tidy Configuration Options\n"
2335  "==========================\n"
2336  " Use Tidy's configuration options as command line arguments in the form\n"
2337  " of \"--some-option <value>\", for example, \"--indent-with-tabs yes\".\n"
2338  "\n"
2339  " You can also specify a file containing configuration options with the \n"
2340  " -options <file> directive, or in one or more files specific to your \n"
2341  " environment (see next section). \n"
2342  "\n"
2343  " For a list of all configuration options, use \"-help-config\" or refer\n"
2344  " to the man page (if your OS has one).\n"
2345  "\n"
2346  "Configuration Files\n"
2347  "===================\n"
2348  " If your environment has an $HTML_TIDY variable set to point to a Tidy \n"
2349  " configuration file, then Tidy will attempt to use it. \n"
2350  "%s"
2351  " Use \"-help-env\" for more information about how you can use the environment. \n"
2352  " to specify Tidy options. \n"
2353  "\n"
2354  "Other\n"
2355  "=====\n"
2356  " Input/Output default to stdin/stdout respectively.\n"
2357  "\n"
2358  " Single letter options apart from -f may be combined\n"
2359  " as in: tidy -f errs.txt -imu foo.html\n"
2360  "\n"
2361  "Information\n"
2362  "===========\n"
2363  " For more information about HTML Tidy, see\n"
2364  " http://www.html-tidy.org/\n"
2365  "\n"
2366  " For more information on HTML, see the following:\n"
2367  "\n"
2368  " HTML: Edition for Web Authors (the latest HTML specification)\n"
2369  " http://dev.w3.org/html5/spec-author-view\n"
2370  "\n"
2371  " HTML: The Markup Language (an HTML language reference)\n"
2372  " http://dev.w3.org/html5/markup/\n"
2373  "\n"
2374  " File bug reports at https://github.com/htacg/tidy-html5/issues/\n"
2375  " or send questions and comments to public-htacg@w3.org.\n"
2376  "\n"
2377  " Validate your HTML documents using the W3C Nu Markup Validator:\n"
2378  " http://validator.w3.org/nu/\n"
2379  "\n"
2380  },
2381  {/* This console output should be limited to 78 characters per line.
2382  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
2383  - Both parameters %s reflect file paths and names. */
2384  TC_TXT_HELP_3A, 0,
2385  "\n"
2386  " Additionally, Tidy will automatically attempt to use configuration specified \n"
2387  " in these files, if present: \n"
2388  "\n"
2389  " %s \n"
2390  " %s \n"
2391  "\n"
2392  },
2393  {/* This console output should be limited to 78 characters per line.
2394  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2395  TC_TXT_HELP_CONFIG, 0,
2396  "\n"
2397  "HTML Tidy Configuration Settings\n"
2398  "\n"
2399  "Within a file, use the form:\n"
2400  "\n"
2401  "wrap: 72\n"
2402  "indent: no\n"
2403  "\n"
2404  "When specified on the command line, use the form:\n"
2405  "\n"
2406  "--wrap 72 --indent no\n"
2407  "\n"
2408  },
2409  { TC_TXT_HELP_CONFIG_NAME, 0, "Name" },
2410  { TC_TXT_HELP_CONFIG_TYPE, 0, "Type" },
2411  { TC_TXT_HELP_CONFIG_ALLW, 0, "Allowable values" },
2412  {/* This console output should be limited to 78 characters per line.
2413  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
2414  - The first %s indicates two more list items, or an empty string.
2415  - The second %s indicates a file name, or a message indicating no file name. */
2416  TC_TXT_HELP_ENV_1, 0,
2417  "\n"
2418  "Tidy can configure its option values from multiple sources, in the \n"
2419  "order below. Subsequent use of the same option overrides previous \n"
2420  "option settings. \n"
2421  "\n"
2422  " - Tidy's built-in default values. \n"
2423  "%s" /* rc files */
2424  " - The file specified in the $HTML_TIDY environment variable: \n"
2425  " %s \n"
2426  " - Options in a file specified on the command line. \n"
2427  " - Options set directly on the command line. \n"
2428  },
2429  {/* This console output should be limited to 78 characters per line.
2430  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2431  TC_TXT_HELP_ENV_1A, 0,
2432  " - The system runtime configuration file: \n"
2433  " %s \n"
2434  " - The user runtime configuration file: \n"
2435  " %s \n"
2436  },
2437  {/* This console output should be limited to 78 characters per line.
2438  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
2439  - This message indicates that a file name is not currently set. */
2440  TC_TXT_HELP_ENV_1B, 0,
2441  "(not currently set)"
2442  },
2443  {/* This console output should be limited to 78 characters per line.
2444  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2445  TC_TXT_HELP_ENV_1C, 0,
2446  "\n"
2447  "Note that because $HTML_TIDY is set, the user runtime configuration file \n"
2448  "%s will not be used. \n"
2449  },
2450  {/* This console output should be limited to 78 characters per line.
2451  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2452  TC_TXT_HELP_LANG_1, 0,
2453  "\n"
2454  "The -language (or -lang) option indicates which language Tidy \n"
2455  "should use to communicate its output. Please note that this is not \n"
2456  "a document translation service, and only affects the messages that \n"
2457  "Tidy communicates to you. \n"
2458  "\n"
2459  "When used from the command line the -language argument must \n"
2460  "be used before any arguments that result in output, otherwise Tidy \n"
2461  "will produce output before it knows which language to use. \n"
2462  "\n"
2463  "In addition to standard POSIX language codes, Tidy is capable of \n"
2464  "understanding legacy Windows language codes. Please note that this \n"
2465  "list indicates codes Tidy understands, and does not indicate that \n"
2466  "the language is currently installed. \n"
2467  "\n"
2468  "The rightmost column indicates how Tidy will understand the \n"
2469  "legacy Windows name.\n"
2470  "\n"
2471  },
2472  {/* This console output should be limited to 78 characters per line.
2473  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
2474  TC_TXT_HELP_LANG_2, 0,
2475  "\n"
2476  "The following languages are currently installed in Tidy. Please \n"
2477  "note that there's no guarantee that they are complete; only that \n"
2478  "one developer or another started to add the language indicated. \n"
2479  "\n"
2480  "Incomplete localizations will default to \"en\" when necessary. \n"
2481  "Please report instances of incorrect strings to the Tidy team. \n"
2482  "\n"
2483  },
2484  {/* This console output should be limited to 78 characters per line.
2485  - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated.
2486  - The parameter %s is likely to be two to five characters, e.g., en or en_US. */
2487  TC_TXT_HELP_LANG_3, 0,
2488  "\n"
2489  "If Tidy is able to determine your locale then Tidy will use the \n"
2490  "locale's language automatically. For example Unix-like systems use a \n"
2491  "$LANG and/or $LC_ALL environment variable. Consult your operating \n"
2492  "system documentation for more information. \n"
2493  "\n"
2494  "Tidy is currently using locale %s. \n"
2495  "\n"
2496  },
2497 #endif /* SUPPORT_CONSOLE_APP */
2498 
2499  {/* This MUST be present and last. */
2500  TIDY_MESSAGE_TYPE_LAST, 0, NULL
2501  }
2502 }};
2503 
2504 
2505 #endif /* language_en_h */
@ MISSING_ENDTAG_OPTIONAL
Definition: tidyenum.h:1438
@ TC_STRING_FATAL_ERROR
Definition: tidyenum.h:1440
@ FILE_NOT_FILE
Definition: tidyenum.h:1438
@ TC_OPT_UTF8
Definition: tidyenum.h:1440
@ METADATA_MISSING
[13.1.1.5]
Definition: tidyenum.h:1439
@ STRING_ERROR_COUNT_ERROR
error and errors
Definition: tidyenum.h:1436
@ MALFORMED_COMMENT_EOS
Definition: tidyenum.h:1438
@ MISSING_ATTRIBUTE
Definition: tidyenum.h:1438
@ OPTION_REMOVED_UNAPPLIED
Definition: tidyenum.h:1438
@ LINK_TEXT_TOO_LONG
[13.1.1.3]
Definition: tidyenum.h:1439
@ TC_TXT_HELP_2A
Definition: tidyenum.h:1440
@ FILE_CANT_OPEN
Definition: tidyenum.h:1438
@ TABLE_MISSING_SUMMARY
[5.5.1.1]
Definition: tidyenum.h:1439
@ NEW_WINDOWS_REQUIRE_WARNING_BLANK
[10.1.1.2]
Definition: tidyenum.h:1439
@ TC_STRING_LANG_MUST_SPECIFY
Definition: tidyenum.h:1440
@ OPTION_REMOVED_APPLIED
Definition: tidyenum.h:1438
@ TC_OPT_HELPOPT
Definition: tidyenum.h:1440
@ INFORMATION_NOT_CONVEYED_OBJECT
[2.1.1.3]
Definition: tidyenum.h:1439
@ UNEXPECTED_QUOTEMARK
Definition: tidyenum.h:1438
@ IMG_MISSING_DLINK
[1.1.2.2]
Definition: tidyenum.h:1439
@ LINK_TEXT_NOT_MEANINGFUL_CLICK_HERE
[13.1.1.4]
Definition: tidyenum.h:1439
@ UNEXPECTED_END_OF_FILE
Definition: tidyenum.h:1438
@ BAD_SURROGATE_TAIL
Definition: tidyenum.h:1438
@ INFORMATION_NOT_CONVEYED_APPLET
[2.1.1.2]
Definition: tidyenum.h:1439
@ UNEXPECTED_EQUALSIGN
Definition: tidyenum.h:1438
@ TABLE_MISSING_CAPTION
[5.5.2.1]
Definition: tidyenum.h:1439
@ ESCAPED_ILLEGAL_URI
Definition: tidyenum.h:1438
@ TC_TXT_HELP_LANG_1
Definition: tidyenum.h:1440
@ BAD_ATTRIBUTE_VALUE
Definition: tidyenum.h:1438
@ COLOR_CONTRAST_TEXT
[2.2.1.1]
Definition: tidyenum.h:1439
@ CUSTOM_TAG_DETECTED
Definition: tidyenum.h:1438
@ STRING_ARGUMENT_BAD
Definition: tidyenum.h:1438
@ ADDED_MISSING_CHARSET
Definition: tidyenum.h:1438
@ REPLACE_DEPRECATED_HTML_STRIKE
[11.2.1.9]
Definition: tidyenum.h:1439
@ TABLE_SUMMARY_INVALID_NULL
[5.5.1.2]
Definition: tidyenum.h:1439
@ TIDYCUSTOMBLOCKLEVEL_STRING
block level
Definition: tidyenum.h:1436
@ TC_STRING_VERS_B
Definition: tidyenum.h:1440
@ TC_OPT_OMIT
Definition: tidyenum.h:1440
@ MISSING_ATTR_VALUE
Definition: tidyenum.h:1438
@ DOCTYPE_AFTER_TAGS
Definition: tidyenum.h:1438
@ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_MOVE
[9.3.1.6]
Definition: tidyenum.h:1439
@ STYLE_SHEET_CONTROL_PRESENTATION
[3.3.1.1]
Definition: tidyenum.h:1439
@ INSERTING_TAG
Definition: tidyenum.h:1438
@ CONTENT_AFTER_BODY
Definition: tidyenum.h:1438
@ TC_LABEL_LANG
Definition: tidyenum.h:1440
@ COERCE_TO_ENDTAG
Definition: tidyenum.h:1438
@ MISSING_IMAGEMAP
Definition: tidyenum.h:1438
@ METADATA_MISSING_REDIRECT_AUTOREFRESH
[13.2.1.2]
Definition: tidyenum.h:1439
@ IMG_MAP_CLIENT_MISSING_TEXT_LINKS
[1.5.1.1]
Definition: tidyenum.h:1439
@ WHITE_IN_URI
Definition: tidyenum.h:1438
@ COLOR_CONTRAST_ACTIVE_LINK
[2.2.1.3]
Definition: tidyenum.h:1439
@ REPLACE_DEPRECATED_HTML_FONT
[11.2.1.5]
Definition: tidyenum.h:1439
@ TC_OPT_ASCII
Definition: tidyenum.h:1440
@ TC_TXT_HELP_CONFIG_NAME
Definition: tidyenum.h:1440
@ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_DOWN
[9.3.1.1]
Definition: tidyenum.h:1439
@ TC_TXT_HELP_ENV_1C
Definition: tidyenum.h:1440
@ IMG_MISSING_LONGDESC_DLINK
[1.1.1.11]
Definition: tidyenum.h:1439
@ UNEXPECTED_ENDTAG
Definition: tidyenum.h:1438
@ AUDIO_MISSING_TEXT_WAV
[1.1.6.1]
Definition: tidyenum.h:1439
@ PROPRIETARY_ATTRIBUTE
Definition: tidyenum.h:1438
@ TC_STRING_LANG_NOT_FOUND
Definition: tidyenum.h:1440
@ TC_TXT_HELP_ENV_1
Definition: tidyenum.h:1440
@ REPLACE_DEPRECATED_HTML_BASEFONT
[11.2.1.2]
Definition: tidyenum.h:1439
@ BAD_ATTRIBUTE_VALUE_REPLACED
Definition: tidyenum.h:1438
@ TC_OPT_LANGUAGE
Definition: tidyenum.h:1440
@ FRAME_MISSING_NOFRAMES
[6.5.1.1]
Definition: tidyenum.h:1439
@ PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_APPLET
[6.3.1.4]
Definition: tidyenum.h:1439
@ MISSING_QUOTEMARK
Definition: tidyenum.h:1438
@ TC_STRING_UNKNOWN_OPTION_B
Definition: tidyenum.h:1440
@ TC_OPT_UTF16
Definition: tidyenum.h:1440
@ TC_TXT_HELP_CONFIG
Definition: tidyenum.h:1440
@ STRING_MUTING_TYPE
Definition: tidyenum.h:1438
@ TC_OPT_EXP_CFG
Definition: tidyenum.h:1440
@ LINK_TEXT_NOT_MEANINGFUL
[13.1.1.1]
Definition: tidyenum.h:1439
@ TC_STRING_MISC
Definition: tidyenum.h:1440
@ TC_OPT_QUIET
Definition: tidyenum.h:1440
@ MISMATCHED_ATTRIBUTE_ERROR
Definition: tidyenum.h:1438
@ BAD_SUMMARY_HTML5
Definition: tidyenum.h:1438
@ STRING_REPLACING
replacing
Definition: tidyenum.h:1436
@ OBSOLETE_ELEMENT
Definition: tidyenum.h:1438
@ REPLACING_UNEX_ELEMENT
Definition: tidyenum.h:1438
@ TC_OPT_IBM858
Definition: tidyenum.h:1440
@ POTENTIAL_HEADER_UNDERLINE
[3.5.2.3]
Definition: tidyenum.h:1439
@ DATA_TABLE_REQUIRE_MARKUP_COLUMN_HEADERS
[5.2.1.1]
Definition: tidyenum.h:1439
@ TOO_MANY_ELEMENTS
Definition: tidyenum.h:1438
@ ENCODING_MISMATCH
Definition: tidyenum.h:1438
@ IMG_ALT_SUSPICIOUS_FILE_SIZE
[1.1.1.3]
Definition: tidyenum.h:1439
@ INVALID_UTF16
Definition: tidyenum.h:1438
@ REMOVE_AUTO_REFRESH
[7.4.1.1]
Definition: tidyenum.h:1439
@ MISSING_ENDTAG_BEFORE
Definition: tidyenum.h:1438
@ TC_OPT_XMLCFG
Definition: tidyenum.h:1440
@ AREA_MISSING_ALT
[1.1.9.1]
Definition: tidyenum.h:1439
@ FOUND_STYLE_IN_BODY
Definition: tidyenum.h:1438
@ TC_OPT_GDOC
Definition: tidyenum.h:1440
@ VENDOR_SPECIFIC_CHARS
Definition: tidyenum.h:1438
@ TABLE_MAY_REQUIRE_HEADER_ABBR_SPACES
[5.6.1.3]
Definition: tidyenum.h:1439
@ LINK_TEXT_MISSING
[13.1.1.2]
Definition: tidyenum.h:1439
@ TC_OPT_MAC
Definition: tidyenum.h:1440
@ TC_OPT_LATIN1
Definition: tidyenum.h:1440
@ IMG_ALT_SUSPICIOUS_TOO_LONG
[1.1.1.10]
Definition: tidyenum.h:1439
@ REMOVE_FLICKER_APPLET
[7.1.1.4]
Definition: tidyenum.h:1439
@ TEXT_EQUIVALENTS_REQUIRE_UPDATING_APPLET
[6.2.2.1]
Definition: tidyenum.h:1439
@ REMOVE_FLICKER_SCRIPT
[7.1.1.1]
Definition: tidyenum.h:1439
@ BACKSLASH_IN_URI
Definition: tidyenum.h:1438
@ TC_STRING_XML
Definition: tidyenum.h:1440
@ SKIPOVER_ASCII_ART
[13.10.1.1]
Definition: tidyenum.h:1439
@ APOS_UNDEFINED
Definition: tidyenum.h:1438
@ TC_OPT_EXP_DEF
Definition: tidyenum.h:1440
@ FRAME_TITLE_INVALID_SPACES
[12.1.1.3]
Definition: tidyenum.h:1439
@ ASSOCIATE_LABELS_EXPLICITLY
[12.4.1.1]
Definition: tidyenum.h:1439
@ STRING_HELLO_ACCESS
Accessibility hello message.
Definition: tidyenum.h:1436
@ LIST_USAGE_INVALID_OL
[3.6.1.2]
Definition: tidyenum.h:1439
@ MALFORMED_COMMENT_DROPPING
Definition: tidyenum.h:1438
@ TC_OPT_ISO2022
Definition: tidyenum.h:1440
@ UNKNOWN_ELEMENT
Definition: tidyenum.h:1438
@ ASCII_REQUIRES_DESCRIPTION
[1.1.12.1]
Definition: tidyenum.h:1439
@ ATTRIBUTE_IS_NOT_ALLOWED
Definition: tidyenum.h:1438
@ TC_OPT_XMLHELP
Definition: tidyenum.h:1440
@ TC_OPT_HELPCFG
Definition: tidyenum.h:1440
@ NOFRAMES_CONTENT
Definition: tidyenum.h:1438
@ STRING_SPECIFIED
specified
Definition: tidyenum.h:1436
@ TC_OPT_UTF16BE
Definition: tidyenum.h:1440
@ TC_STRING_VERS_A
Definition: tidyenum.h:1440
@ FIXED_BACKSLASH
Definition: tidyenum.h:1438
@ NON_MATCHING_ENDTAG
Definition: tidyenum.h:1438
@ STRING_UNKNOWN_OPTION
Definition: tidyenum.h:1438
@ TOO_MANY_ELEMENTS_IN
Definition: tidyenum.h:1438
@ NESTED_QUOTATION
Definition: tidyenum.h:1438
@ AUDIO_MISSING_TEXT_RA
[1.1.6.5]
Definition: tidyenum.h:1439
@ SUSPECTED_MISSING_QUOTE
Definition: tidyenum.h:1438
@ REPLACE_DEPRECATED_HTML_ISINDEX
[11.2.1.6]
Definition: tidyenum.h:1439
@ TC_OPT_OUTPUT
Definition: tidyenum.h:1440
@ TC_OPT_ACCESS
Definition: tidyenum.h:1440
@ TC_TXT_HELP_CONFIG_TYPE
Definition: tidyenum.h:1440
@ TC_OPT_NUMERIC
Definition: tidyenum.h:1440
@ OPTION_REMOVED
Definition: tidyenum.h:1438
@ REMOVE_FLICKER_ANIMATED_GIF
[7.1.1.5]
Definition: tidyenum.h:1439
@ UNESCAPED_AMPERSAND
Definition: tidyenum.h:1438
@ AUDIO_MISSING_TEXT_AU
[1.1.6.2]
Definition: tidyenum.h:1439
@ STRING_CONTENT_LOOKS
Definition: tidyenum.h:1438
@ TC_OPT_VERSION
Definition: tidyenum.h:1440
@ TC_OPT_BARE
Definition: tidyenum.h:1440
@ TC_LABEL_COL
Definition: tidyenum.h:1440
@ ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_APPLET
[8.1.1.3]
Definition: tidyenum.h:1439
@ STRING_NO_SYSID
Definition: tidyenum.h:1438
@ REMOVE_BLINK_MARQUEE
[7.2.1.1]
Definition: tidyenum.h:1439
@ DATA_TABLE_REQUIRE_MARKUP_ROW_HEADERS
[5.2.1.2]
Definition: tidyenum.h:1439
@ DUPLICATE_FRAMESET
Definition: tidyenum.h:1438
@ REPLACING_ELEMENT
Definition: tidyenum.h:1438
@ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_OVER
[9.3.1.4]
Definition: tidyenum.h:1439
@ INVALID_UTF8
Definition: tidyenum.h:1438
@ LAYOUT_TABLES_LINEARIZE_PROPERLY
[5.3.1.1]
Definition: tidyenum.h:1439
@ FILE_CANT_OPEN_CFG
Definition: tidyenum.h:1438
@ UNEXPECTED_GT
Definition: tidyenum.h:1438
@ XML_DECLARATION_DETECTED
Definition: tidyenum.h:1438
@ ANCHOR_NOT_UNIQUE
Definition: tidyenum.h:1438
@ FRAME_TITLE_INVALID_NULL
[12.1.1.2]
Definition: tidyenum.h:1439
@ TABLE_SUMMARY_INVALID_SPACES
[5.5.1.3]
Definition: tidyenum.h:1439
@ NEWLINE_IN_URI
Definition: tidyenum.h:1438
@ MISSING_TITLE_ELEMENT
Definition: tidyenum.h:1438
@ ATTRIBUTE_VALUE_REPLACED
Definition: tidyenum.h:1438
@ REPLACE_DEPRECATED_HTML_S
[11.2.1.8]
Definition: tidyenum.h:1439
@ STRING_DOCTYPE_GIVEN
Definition: tidyenum.h:1438
@ TC_OPT_XMLOPTS
Definition: tidyenum.h:1440
@ STRING_MISSING_MALFORMED
Definition: tidyenum.h:1438
@ PROPRIETARY_ELEMENT
Definition: tidyenum.h:1438
@ AUDIO_MISSING_TEXT_AIFF
[1.1.6.3]
Definition: tidyenum.h:1439
@ FRAME_MISSING_LONGDESC
[1.1.8.1]
Definition: tidyenum.h:1439
@ TC_OPT_SHIFTJIS
Definition: tidyenum.h:1440
@ TC_STRING_PROCESS_DIRECTIVES
Definition: tidyenum.h:1440
@ TC_OPT_SHOWCFG
Definition: tidyenum.h:1440
@ UNEXPECTED_ENDTAG_ERR
Definition: tidyenum.h:1438
@ TRIM_EMPTY_ELEMENT
Definition: tidyenum.h:1438
@ UNEXPECTED_END_OF_FILE_ATTR
Definition: tidyenum.h:1438
@ MISSING_STARTTAG
Definition: tidyenum.h:1438
@ TC_STRING_CONF_TYPE
Definition: tidyenum.h:1440
@ NESTED_EMPHASIS
Definition: tidyenum.h:1438
@ DATA_TABLE_MISSING_HEADERS_ROW
[5.1.2.3]
Definition: tidyenum.h:1439
@ TC_OPT_WRAP
Definition: tidyenum.h:1440
@ UNKNOWN_ENTITY
Definition: tidyenum.h:1438
@ FN_LINE_COLUMN_STRING
s: line d column d
Definition: tidyenum.h:1436
@ STRING_ERROR_COUNT_WARNING
warning and warnings
Definition: tidyenum.h:1436
@ TABLE_MAY_REQUIRE_HEADER_ABBR_NULL
[5.6.1.2]
Definition: tidyenum.h:1439
@ MOVED_STYLE_TO_HEAD
Definition: tidyenum.h:1438
@ TC_TXT_HELP_ENV_1A
Definition: tidyenum.h:1440
@ LIST_USAGE_INVALID_LI
[3.6.1.4]
Definition: tidyenum.h:1439
@ NOFRAMES_INVALID_LINK
[6.5.1.4]
Definition: tidyenum.h:1439
@ HEADER_USED_FORMAT_TEXT
[3.5.3.1]
Definition: tidyenum.h:1439
@ ILLEGAL_URI_REFERENCE
Definition: tidyenum.h:1438
@ HEADERS_IMPROPERLY_NESTED
[3.5.1.1]
Definition: tidyenum.h:1439
@ APPLET_MISSING_ALT
[1.1.4.1]
Definition: tidyenum.h:1439
@ TABLE_SUMMARY_INVALID_PLACEHOLDER
[5.5.1.6]
Definition: tidyenum.h:1439
@ PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_OBJECT
[6.3.1.2]
Definition: tidyenum.h:1439
@ TC_OPT_XML
Definition: tidyenum.h:1440
@ TC_STRING_UNKNOWN_OPTION
Definition: tidyenum.h:1440
@ BAD_CDATA_CONTENT
Definition: tidyenum.h:1438
@ ASSOCIATE_LABELS_EXPLICITLY_FOR
[12.4.1.2]
Definition: tidyenum.h:1439
@ REMOVE_FLICKER_EMBED
[7.1.1.3]
Definition: tidyenum.h:1439
@ USING_BR_INPLACE_OF
Definition: tidyenum.h:1438
@ OBJECT_MISSING_ALT
[1.1.5.1]
Definition: tidyenum.h:1439
@ LIST_USAGE_INVALID_UL
[3.6.1.1]
Definition: tidyenum.h:1439
@ TIDYCUSTOMINLINE_STRING
inline
Definition: tidyenum.h:1436
@ TC_OPT_HELP
Definition: tidyenum.h:1440
@ ATTR_VALUE_NOT_LCASE
Definition: tidyenum.h:1438
@ DATA_TABLE_MISSING_HEADERS_COLUMN
[5.1.2.2]
Definition: tidyenum.h:1439
@ AUDIO_MISSING_TEXT_RM
[1.1.6.6]
Definition: tidyenum.h:1439
@ ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_EMBED
[8.1.1.4]
Definition: tidyenum.h:1439
@ IMG_MISSING_LONGDESC
[1.1.2.3]
Definition: tidyenum.h:1439
@ TIDYCUSTOMNO_STRING
no
Definition: tidyenum.h:1436
@ TC_OPT_UPPER
Definition: tidyenum.h:1440
@ LAYOUT_TABLE_INVALID_MARKUP
[5.4.1.1]
Definition: tidyenum.h:1439
@ TC_OPT_WIN1252
Definition: tidyenum.h:1440
@ AUDIO_MISSING_TEXT_SND
[1.1.6.4]
Definition: tidyenum.h:1439
@ MISMATCHED_ATTRIBUTE_WARN
Definition: tidyenum.h:1438
@ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_UP
[9.3.1.2]
Definition: tidyenum.h:1439
@ IMG_ALT_SUSPICIOUS_PLACEHOLDER
[1.1.1.4]
Definition: tidyenum.h:1439
@ MULTIMEDIA_REQUIRES_TEXT
[1.4.1.1]
Definition: tidyenum.h:1439
@ STRING_PLAIN_TEXT
plain text
Definition: tidyenum.h:1436
@ INFORMATION_NOT_CONVEYED_IMAGE
[2.1.1.1]
Definition: tidyenum.h:1439
@ DISCARDING_UNEXPECTED
Definition: tidyenum.h:1438
@ UNKNOWN_ELEMENT_LOOKS_CUSTOM
Definition: tidyenum.h:1438
@ TC_TXT_HELP_3A
Definition: tidyenum.h:1440
@ TC_TXT_HELP_1
Definition: tidyenum.h:1440
@ TC_OPT_UTF16LE
Definition: tidyenum.h:1440
@ ANCHOR_DUPLICATED
Definition: tidyenum.h:1438
@ STRING_DISCARDING
discarding
Definition: tidyenum.h:1436
@ TC_STRING_OPT_NOT_DOCUMENTED
Definition: tidyenum.h:1440
@ TC_STRING_FILE_MANIP
Definition: tidyenum.h:1440
@ UNEXPECTED_ENDTAG_IN
Definition: tidyenum.h:1438
@ REMOVE_FLICKER_OBJECT
[7.1.1.2]
Definition: tidyenum.h:1439
@ TEXT_EQUIVALENTS_REQUIRE_UPDATING_SCRIPT
[6.2.2.2]
Definition: tidyenum.h:1439
@ TC_TXT_HELP_LANG_2
Definition: tidyenum.h:1440
@ DOCTYPE_MISSING
[3.2.1.1]
Definition: tidyenum.h:1439
@ TC_OPT_XMLERRS
Definition: tidyenum.h:1440
@ TC_TXT_HELP_ENV_1B
Definition: tidyenum.h:1440
@ TC_OPT_MODIFY
Definition: tidyenum.h:1440
@ MISSING_SEMICOLON_NCR
Definition: tidyenum.h:1438
@ TC_TXT_HELP_2B
Definition: tidyenum.h:1440
@ TC_OPT_LATIN0
Definition: tidyenum.h:1440
@ LANGUAGE_NOT_IDENTIFIED
[4.1.1.1]
Definition: tidyenum.h:1439
@ TC_OPT_INDENT
Definition: tidyenum.h:1440
@ TC_TXT_HELP_CONFIG_ALLW
Definition: tidyenum.h:1440
@ ID_NAME_MISMATCH
Definition: tidyenum.h:1438
@ STRING_XML_DECLARATION
XML declaration.
Definition: tidyenum.h:1436
@ STYLESHEETS_REQUIRE_TESTING_STYLE_ELEMENT
[6.1.1.2]
Definition: tidyenum.h:1439
@ PREVIOUS_LOCATION
Definition: tidyenum.h:1438
@ ELEMENT_NOT_EMPTY
Definition: tidyenum.h:1438
@ STRING_NEEDS_INTERVENTION
Definition: tidyenum.h:1437
@ LANGUAGE_INVALID
[4.3.1.1]
Definition: tidyenum.h:1439
@ IMG_MAP_SERVER_REQUIRES_TEXT_LINKS
[1.2.1.1]
Definition: tidyenum.h:1439
@ STRING_NOT_ALL_SHOWN
Definition: tidyenum.h:1437
@ REPLACE_DEPRECATED_HTML_MENU
[11.2.1.7]
Definition: tidyenum.h:1439
@ TC_STRING_CONF_HEADER
Definition: tidyenum.h:1440
@ INVALID_ATTRIBUTE
Definition: tidyenum.h:1438
@ MALFORMED_DOCTYPE
Definition: tidyenum.h:1438
@ INFORMATION_NOT_CONVEYED_SCRIPT
[2.1.1.4]
Definition: tidyenum.h:1439
@ TC_STRING_MUST_SPECIFY
Definition: tidyenum.h:1440
@ TIDYCUSTOMPRE_STRING
pre
Definition: tidyenum.h:1436
@ INVALID_NCR
Definition: tidyenum.h:1438
@ STRING_NO_ERRORS
Definition: tidyenum.h:1437
@ JOINING_ATTRIBUTE
Definition: tidyenum.h:1438
@ COLOR_CONTRAST_VISITED_LINK
[2.2.1.4]
Definition: tidyenum.h:1439
@ POTENTIAL_HEADER_BOLD
[3.5.2.1]
Definition: tidyenum.h:1439
@ TC_OPT_XMLSTRG
Definition: tidyenum.h:1440
@ MALFORMED_COMMENT
Definition: tidyenum.h:1438
@ TC_OPT_CLEAN
Definition: tidyenum.h:1440
@ REMOVED_HTML5
Definition: tidyenum.h:1438
@ TC_STRING_CONF_NAME
Definition: tidyenum.h:1440
@ BAD_SURROGATE_PAIR
Definition: tidyenum.h:1438
@ INFORMATION_NOT_CONVEYED_INPUT
[2.1.1.5]
Definition: tidyenum.h:1439
@ IMG_MISSING_ALT
[1.1.1.1]
Definition: tidyenum.h:1439
@ MISSING_DOCTYPE
Definition: tidyenum.h:1438
@ TC_LABEL_FILE
Definition: tidyenum.h:1440
@ TC_STRING_OUT_OF_MEMORY
Definition: tidyenum.h:1440
@ MISSING_SEMICOLON
Definition: tidyenum.h:1438
@ REPLACE_DEPRECATED_HTML_U
[11.2.1.10]
Definition: tidyenum.h:1439
@ NOFRAMES_INVALID_NO_VALUE
[6.5.1.2]
Definition: tidyenum.h:1439
@ COLOR_CONTRAST_LINK
[2.2.1.2]
Definition: tidyenum.h:1439
@ PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_SCRIPT
[6.3.1.1]
Definition: tidyenum.h:1439
@ TAG_NOT_ALLOWED_IN
Definition: tidyenum.h:1438
@ TC_TXT_HELP_3
Definition: tidyenum.h:1440
@ NOFRAMES_INVALID_CONTENT
[6.5.1.3]
Definition: tidyenum.h:1439
@ INSERTING_AUTO_ATTRIBUTE
Definition: tidyenum.h:1438
@ TC_OPT_HELPENV
Definition: tidyenum.h:1440
@ STYLESHEETS_REQUIRE_TESTING_STYLE_ATTR
[6.1.1.3]
Definition: tidyenum.h:1439
@ IMG_BUTTON_MISSING_ALT
[1.1.2.5]
Definition: tidyenum.h:1439
@ ELEMENT_VERS_MISMATCH_ERROR
Definition: tidyenum.h:1438
@ MALFORMED_COMMENT_WARN
Definition: tidyenum.h:1438
@ CANT_BE_NESTED
Definition: tidyenum.h:1438
@ TC_OPT_CONFIG
Definition: tidyenum.h:1440
@ DATA_TABLE_MISSING_HEADERS
[5.1.2.1]
Definition: tidyenum.h:1439
@ TC_TXT_HELP_LANG_3
Definition: tidyenum.h:1440
@ SCRIPT_MISSING_NOSCRIPT
[1.1.10.1]
Definition: tidyenum.h:1439
@ PROGRAMMATIC_OBJECTS_REQUIRE_TESTING_EMBED
[6.3.1.3]
Definition: tidyenum.h:1439
@ STYLESHEETS_REQUIRE_TESTING_LINK
[6.1.1.1]
Definition: tidyenum.h:1439
@ LINE_COLUMN_STRING
line d column d
Definition: tidyenum.h:1436
@ ILLEGAL_NESTING
Definition: tidyenum.h:1438
@ IMAGE_MAP_SERVER_SIDE_REQUIRES_CONVERSION
[9.1.1.1]
Definition: tidyenum.h:1439
@ TEXT_GENERAL_INFO_PLEA
Definition: tidyenum.h:1437
@ ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_OBJECT
[8.1.1.2]
Definition: tidyenum.h:1439
@ TC_LABEL_LEVL
Definition: tidyenum.h:1440
@ FRAME_SRC_INVALID
[6.2.1.1]
Definition: tidyenum.h:1439
@ MISSING_QUOTEMARK_OPEN
Definition: tidyenum.h:1438
@ SPACE_PRECEDING_XMLDECL
Definition: tidyenum.h:1438
@ TIDYCUSTOMEMPTY_STRING
empty
Definition: tidyenum.h:1436
@ FRAME_MISSING_TITLE
[12.1.1.1]
Definition: tidyenum.h:1439
@ INVALID_XML_ID
Definition: tidyenum.h:1438
@ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_CLICK
[9.3.1.3]
Definition: tidyenum.h:1439
@ ELEMENT_VERS_MISMATCH_WARN
Definition: tidyenum.h:1438
@ PROPRIETARY_ATTR_VALUE
Definition: tidyenum.h:1438
@ REMOVE_AUTO_REDIRECT
[7.5.1.1]
Definition: tidyenum.h:1439
@ ASSOCIATE_LABELS_EXPLICITLY_ID
[12.4.1.3]
Definition: tidyenum.h:1439
@ REPLACE_DEPRECATED_HTML_CENTER
[11.2.1.3]
Definition: tidyenum.h:1439
@ XML_ID_SYNTAX
Definition: tidyenum.h:1438
@ TC_OPT_ASXML
Definition: tidyenum.h:1440
@ INVALID_SGML_CHARS
Definition: tidyenum.h:1438
@ POTENTIAL_HEADER_ITALICS
[3.5.2.2]
Definition: tidyenum.h:1439
@ TC_OPT_ASHTML
Definition: tidyenum.h:1440
@ TABLE_MAY_REQUIRE_HEADER_ABBR
[5.6.1.1]
Definition: tidyenum.h:1439
@ TC_LABEL_OPT
Definition: tidyenum.h:1440
@ TC_OPT_BIG5
Definition: tidyenum.h:1440
@ TC_OPT_ERRORS
Definition: tidyenum.h:1440
@ REPLACE_DEPRECATED_HTML_APPLET
[10.2.1.1]
Definition: tidyenum.h:1439
@ ENSURE_PROGRAMMATIC_OBJECTS_ACCESSIBLE_SCRIPT
[8.1.1.1]
Definition: tidyenum.h:1439
@ REPLACE_DEPRECATED_HTML_DIR
[11.2.1.4]
Definition: tidyenum.h:1439
@ TC_MAIN_ERROR_LOAD_CONFIG
Definition: tidyenum.h:1440
@ TC_STRING_CONF_VALUE
Definition: tidyenum.h:1440
@ NEW_WINDOWS_REQUIRE_WARNING_NEW
[10.1.1.1]
Definition: tidyenum.h:1439
@ BAD_SURROGATE_LEAD
Definition: tidyenum.h:1438
@ MISSING_ENDTAG_FOR
Definition: tidyenum.h:1438
@ REPEATED_ATTRIBUTE
Definition: tidyenum.h:1438
@ SCRIPT_NOT_KEYBOARD_ACCESSIBLE_ON_MOUSE_OUT
[9.3.1.5]
Definition: tidyenum.h:1439
@ TC_STRING_CHAR_ENCODING
Definition: tidyenum.h:1440
@ TC_OPT_FILE
Definition: tidyenum.h:1440
@ TEXT_GENERAL_INFO
Definition: tidyenum.h:1437
@ STRING_HTML_PROPRIETARY
HTML Proprietary.
Definition: tidyenum.h:1436
@ TEXT_EQUIVALENTS_REQUIRE_UPDATING_OBJECT
[6.2.2.3]
Definition: tidyenum.h:1439
@ TC_OPT_RAW
Definition: tidyenum.h:1440
@ ILLEGAL_URI_CODEPOINT
Definition: tidyenum.h:1438
@ IMG_ALT_SUSPICIOUS_FILENAME
[1.1.1.2]
Definition: tidyenum.h:1439
@ TidyWarning
Report: Warning message.
Definition: tidyenum.h:1382
@ TidyAccess
Report: Accessibility message.
Definition: tidyenum.h:1384
@ TidyFatal
Report: Crash!
Definition: tidyenum.h:1387
@ TidyDialogueFootnote
Dialogue: Footnote.
Definition: tidyenum.h:1390
@ TidyInfo
Report: Information about markup usage.
Definition: tidyenum.h:1381
@ TidyBadDocument
Report: I/O or file system error.
Definition: tidyenum.h:1386
@ TidyDialogueSummary
Dialogue: Summary-related information.
Definition: tidyenum.h:1388
@ TidyError
Report: Error message - output suppressed.
Definition: tidyenum.h:1385
@ TidyDialogueInfo
Dialogue: Non-document related information.
Definition: tidyenum.h:1389
@ TidyConfig
Report: Configuration error.
Definition: tidyenum.h:1383
@ TidyShowMetaChange
show when meta http-equiv content charset was changed - compatibility
Definition: tidyenum.h:657
@ TidyWrapJste
Wrap within JSTE pseudo elements.
Definition: tidyenum.h:672
@ TidyLiteralAttribs
If true attributes may use newlines.
Definition: tidyenum.h:624
@ TidyInlineTags
Declared inline tags.
Definition: tidyenum.h:619
@ TidyWrapLen
Wrap margin.
Definition: tidyenum.h:673
@ TidyDropPropAttrs
Discard proprietary attributes.
Definition: tidyenum.h:595
@ TidyWord2000
Draconian cleaning for Word2000.
Definition: tidyenum.h:669
@ TidyOutputBOM
Output a Byte Order Mark (BOM) for UTF-16 encodings.
Definition: tidyenum.h:642
@ TidyStyleTags
Move sytle to head.
Definition: tidyenum.h:662
@ TidyStrictTagsAttr
Ensure tags and attributes match output HTML version.
Definition: tidyenum.h:661
@ TidyNumEntities
Use numeric entities.
Definition: tidyenum.h:638
@ TidyMergeDivs
Merge multiple DIVs.
Definition: tidyenum.h:630
@ TidyOutFile
File name to write markup to.
Definition: tidyenum.h:641
@ TidyQuiet
No 'Parsing X', guessed DTD or summary.
Definition: tidyenum.h:648
@ TidyWarnPropAttrs
Warns on proprietary attributes.
Definition: tidyenum.h:668
@ TidyPunctWrap
consider punctuation and breaking spaces for wrapping
Definition: tidyenum.h:647
@ TidyForceOutput
Output document even if errors were found.
Definition: tidyenum.h:610
@ TidyWrapScriptlets
Wrap within JavaScript string literals.
Definition: tidyenum.h:675
@ TidyShowErrors
Number of errors to put out.
Definition: tidyenum.h:653
@ TidyEmptyTags
Declared empty tags.
Definition: tidyenum.h:601
@ TidyDropEmptyElems
Discard empty elements.
Definition: tidyenum.h:593
@ TidyPreserveEntities
Preserve entities.
Definition: tidyenum.h:644
@ TidyMark
Add meta element indicating tidied doc.
Definition: tidyenum.h:629
@ TidyOmitOptionalTags
Suppress optional start tags and end tags.
Definition: tidyenum.h:639
@ TidySortAttributes
Sort attributes.
Definition: tidyenum.h:660
@ TidyKeepFileTimes
If yes last modied time is preserved.
Definition: tidyenum.h:622
@ TidyIndentAttributes
Newline+indent before each attribute.
Definition: tidyenum.h:615
@ TidyNewline
Output line ending (default to platform)
Definition: tidyenum.h:637
@ TidyAsciiChars
Convert quotes and dashes to nearest ASCII char.
Definition: tidyenum.h:578
@ TidyPPrintTabs
Indent using tabs istead of spaces.
Definition: tidyenum.h:643
@ TidyErrFile
File name to write errors to.
Definition: tidyenum.h:604
@ TidyMuteReports
Filter these messages from output.
Definition: tidyenum.h:634
@ TidyAltText
Default text for alt attribute.
Definition: tidyenum.h:576
@ TidyQuoteMarks
Output " marks as ".
Definition: tidyenum.h:650
@ TidyXhtmlOut
Output extensible HTML.
Definition: tidyenum.h:678
@ TidyReplaceColor
Replace hex color attribute values with names.
Definition: tidyenum.h:652
@ TidyMakeBare
Make bare HTML: remove Microsoft cruft.
Definition: tidyenum.h:627
@ TidyEncloseBodyText
If yes text at body is wrapped in P's.
Definition: tidyenum.h:603
@ TidyBodyOnly
Output BODY content only.
Definition: tidyenum.h:580
@ TidyMuteShow
Show message ID's in the error table.
Definition: tidyenum.h:635
@ TidyUpperCaseTags
Output tags in upper not lower case.
Definition: tidyenum.h:665
@ TidyCharEncoding
In/out character encoding.
Definition: tidyenum.h:582
@ TidyMergeSpans
Merge multiple SPANs.
Definition: tidyenum.h:632
@ TidyWrapPhp
Wrap within PHP pseudo elements.
Definition: tidyenum.h:674
@ TidyIndentSpaces
Indentation n spaces/tabs.
Definition: tidyenum.h:618
@ TidyXmlPIs
If set to yes PIs must end with ?>
Definition: tidyenum.h:681
@ TidyHideComments
Hides all (real) comments in output.
Definition: tidyenum.h:612
@ TidyEncloseBlockText
If yes text in blocks is wrapped in P's.
Definition: tidyenum.h:602
@ TidyWrapSection
Wrap within <![ ...
Definition: tidyenum.h:676
@ TidyInCharEncoding
Input character encoding (if different)
Definition: tidyenum.h:614
@ TidyFixComments
Fix comments with adjacent hyphens.
Definition: tidyenum.h:608
@ TidyShowMarkup
If false, normal output is suppressed.
Definition: tidyenum.h:656
@ TidyBreakBeforeBR
Output newline before or not?
Definition: tidyenum.h:581
@ TidyLogicalEmphasis
Replace i by em and b by strong.
Definition: tidyenum.h:625
@ TidyQuoteAmpersand
Output naked ampersand as &.
Definition: tidyenum.h:649
@ TidyJoinStyles
Join multiple style attributes.
Definition: tidyenum.h:621
@ TidyDoctype
User specified doctype.
Definition: tidyenum.h:589
@ TidyNCR
Allow numeric character references.
Definition: tidyenum.h:636
@ TidyPreTags
Declared pre tags.
Definition: tidyenum.h:645
@ TidyPriorityAttributes
Attributes to place first in an element.
Definition: tidyenum.h:646
@ TidyCSSPrefix
CSS class naming for clean option.
Definition: tidyenum.h:584
@ TidyBlockTags
Declared block tags.
Definition: tidyenum.h:579
@ TidyMergeEmphasis
Merge nested B and I elements.
Definition: tidyenum.h:631
@ TidyAnchorAsName
Define anchors as name attributes.
Definition: tidyenum.h:577
@ TidySkipNested
Skip nested tags in script and style CDATA.
Definition: tidyenum.h:659
@ TidyEmacs
If true, format error output for GNU Emacs.
Definition: tidyenum.h:597
@ TidyAccessibilityCheckLevel
Accessibility check level.
Definition: tidyenum.h:575
@ TidyXmlDecl
Add <?xml?> for XML docs.
Definition: tidyenum.h:679
@ TidyOutCharEncoding
Output character encoding (if different)
Definition: tidyenum.h:640
@ TidyDecorateInferredUL
Mark inferred UL elements with no indent CSS.
Definition: tidyenum.h:588
@ TidyUseCustomTags
Enable Tidy to use autonomous custom tags.
Definition: tidyenum.h:666
@ TidyDuplicateAttrs
Keep first or last duplicate attribute.
Definition: tidyenum.h:596
@ TidyMakeClean
Replace presentational clutter by style rules.
Definition: tidyenum.h:628
@ TidyWrapAttVals
Wrap within attribute values.
Definition: tidyenum.h:671
@ TidyWrapAsp
Wrap within ASP pseudo elements.
Definition: tidyenum.h:670
@ TidyXmlTags
Treat input as XML.
Definition: tidyenum.h:683
@ TidyShowFilename
If true, the input filename is displayed with the error messages.
Definition: tidyenum.h:654
@ TidyXmlOut
Create output as XML.
Definition: tidyenum.h:680
@ TidyCoerceEndTags
Coerce end tags from start tags where probably intended.
Definition: tidyenum.h:583
@ TidyVertSpace
degree to which markup is spread out vertically
Definition: tidyenum.h:667
@ TidyGDocClean
Clean up HTML exported from Google Docs.
Definition: tidyenum.h:611
@ TidyQuoteNbsp
Output non-breaking space as entity.
Definition: tidyenum.h:651
@ TidyHtmlOut
Output plain HTML, even for XHTML input.
Definition: tidyenum.h:613
@ TidyIndentContent
Indent content of appropriate tags.
Definition: tidyenum.h:617
@ TidyFixBackslash
Fix URLs by replacing \ with /.
Definition: tidyenum.h:607
@ TidyJoinClasses
Join multiple class attributes.
Definition: tidyenum.h:620
@ TidyFixUri
Applies URI encoding if necessary.
Definition: tidyenum.h:609
@ TidyShowWarnings
However errors are always shown.
Definition: tidyenum.h:658
@ TidyWriteBack
If true then output tidied markup.
Definition: tidyenum.h:677
@ TidyEscapeScripts
Escape items that look like closing tags in script tags.
Definition: tidyenum.h:606
@ TidyDropEmptyParas
Discard empty p elements.
Definition: tidyenum.h:594
@ TidyXmlSpace
If set to yes adds xml:space attr as needed.
Definition: tidyenum.h:682
@ TidyKeepTabs
If yes keep input source tabs.
Definition: tidyenum.h:623
@ TidyShowInfo
If true, info-level messages are shown.
Definition: tidyenum.h:655
@ TidyLowerLiterals
Folds known attribute values to lower case.
Definition: tidyenum.h:626
@ TidyTabSize
Expand tabs to n spaces.
Definition: tidyenum.h:663
@ TidyIndentCdata
Indent <!CDATA[ ...
Definition: tidyenum.h:616
@ TidyMetaCharset
Adds/checks/fixes meta charset in the head, based on document type.
Definition: tidyenum.h:633
@ TidyUpperCaseAttrs
Output attributes in upper not lower case.
Definition: tidyenum.h:664
@ TidyEscapeCdata
Replace sections with escaped text.
Definition: tidyenum.h:605
@ TIDY_LANGUAGE
Definition: language.h:31
@ TIDY_MESSAGE_TYPE_LAST
Definition: language.h:34
static uint whichPluralForm_en(uint n)
This language-specific function returns the correct pluralForm to use given n items,...
Definition: language_en.h:31
static languageDefinition language_en
This structure specifies all of the strings needed by Tidy for a single language.
Definition: language_en.h:50
Finally, a complete language definition.
Definition: language.h:68
unsigned int uint
Definition: tidyplatform.h:569