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