Update documentation to address #288.

This commit is contained in:
Jim Derry 2015-10-30 10:19:47 +08:00
parent 67c86cbe7f
commit 2d0f971747

View file

@ -410,16 +410,17 @@ static const TidyOptionDoc option_docs[] =
}, },
{TidyMakeClean, {TidyMakeClean,
"This option specifies if Tidy " "This option specifies if Tidy "
"should strip out surplus presentational tags and attributes replacing " "should perform cleaning of some legacy presentational tags (currently "
"them by style rules and structural markup as appropriate. It works well " "<i>, <b>, <center> when enclosed within appropriate "
"on the HTML saved by Microsoft Office products. " "inline tags, and <font>). If set then legacy tags will be replaced "
, TidyMakeCleanTagsLinks "with CSS <style> tags and structural markup as appropriate. "
,
}, },
{TidyGDocClean, {TidyGDocClean,
"This option specifies if Tidy " "This option specifies if Tidy "
"should enable specific behavior for cleaning up HTML exported from " "should enable specific behavior for cleaning up HTML exported from "
"Google Docs. " "Google Docs. "
, TidyMakeCleanTagsLinks ,
}, },
{TidyDoctype, {TidyDoctype,
"This option specifies the DOCTYPE declaration generated by Tidy.<br />" "This option specifies the DOCTYPE declaration generated by Tidy.<br />"
@ -452,9 +453,14 @@ static const TidyOptionDoc option_docs[] =
"This option specifies if Tidy should discard empty paragraphs. " "This option specifies if Tidy should discard empty paragraphs. "
}, },
{TidyDropFontTags, {TidyDropFontTags,
"This option specifies if Tidy should discard &lt;FONT&gt; and " "Deprecated; DO NOT USE. This option is destructive to &lt;font&gt; tags, "
"&lt;CENTER&gt; tags without creating the corresponding style rules. This " "and it will be removed from future versions of Tidy. Use the clean option "
"option can be set independently of the clean option. " "instead. If you do set this option despite the warning it will perform "
"as clean except styles will be inline instead of put into a CSS class. "
"&lt;font&gt; tags will be dropped completely and their styles will not be "
"preserved. If both clean and this option are enabled, &lt;font&gt; tags "
"will still be dropped completely, and other styles will be preserved in a "
"CSS class instead of inline. See clean for more information. "
, TidyDropFontTagsLinks , TidyDropFontTagsLinks
}, },
{TidyDropPropAttrs, {TidyDropPropAttrs,