Update documentation to address #288.
This commit is contained in:
parent
67c86cbe7f
commit
2d0f971747
|
@ -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 <FONT> and "
|
||||
"<CENTER> 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 <font> 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. "
|
||||
"<font> tags will be dropped completely and their styles will not be "
|
||||
"preserved. If both clean and this option are enabled, <font> 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,
|
||||
|
|
Loading…
Reference in a new issue