Update documentation to address #288.

This commit is contained in:
Jim Derry 2015-10-30 10:19:47 +08:00 committed by Geoff McLane
parent 67c86cbe7f
commit d52e0b353e
1 changed files with 14 additions and 8 deletions

View File

@ -410,16 +410,17 @@ static const TidyOptionDoc option_docs[] =
},
{TidyMakeClean,
"This option specifies if Tidy "
"should strip out surplus presentational tags and attributes replacing "
"them by style rules and structural markup as appropriate. It works well "
"on the HTML saved by Microsoft Office products. "
, TidyMakeCleanTagsLinks
"should perform cleaning of some legacy presentational tags (currently "
"<i>, <b>, <center> when enclosed within appropriate "
"inline tags, and <font>). If set then legacy tags will be replaced "
"with CSS <style> tags and structural markup as appropriate. "
,
},
{TidyGDocClean,
"This option specifies if Tidy "
"should enable specific behavior for cleaning up HTML exported from "
"Google Docs. "
, TidyMakeCleanTagsLinks
,
},
{TidyDoctype,
"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. "
},
{TidyDropFontTags,
"This option specifies if Tidy should discard &lt;FONT&gt; and "
"&lt;CENTER&gt; tags without creating the corresponding style rules. This "
"option can be set independently of the clean option. "
"Deprecated; DO NOT USE. This option is destructive to &lt;font&gt; tags, "
"and it will be removed from future versions of Tidy. Use 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
},
{TidyDropPropAttrs,