Support HTML in descriptions.

This commit is contained in:
Jim Derry 2015-10-30 18:17:40 +08:00
parent 09b0698c56
commit 709ac8cb4c
3 changed files with 8 additions and 4 deletions

View File

@ -208,7 +208,7 @@
<tr>
<td></td>
<td colspan="1" class="qdescription"><xsl:apply-templates select="description"/></td>
<td colspan="1" class="qdescription"><xsl:copy-of select="description/node()"/></td>
</tr>

View File

@ -212,7 +212,7 @@
</tr>
<tr>
<td colspan="2"><xsl:apply-templates select="description"/></td>
<td colspan="2"><xsl:copy-of select="description/node()"/></td>
</tr>
<tr>

View File

@ -367,7 +367,11 @@ static const TidyOptionId TidyNumEntitiesLinks[] =
static const TidyOptionId TidyDropFontTagsLinks[] =
{ TidyMakeClean, TidyUnknownOption };
/* Documentation of options */
/* Documentation of options
** As of 2015-October these descriptions are used uniquely by
** printXMLDescription from which quickref.html and the Unix
** man pages are generated.
*/
static const TidyOptionDoc option_docs[] =
{
{TidyXmlDecl,
@ -450,7 +454,7 @@ static const TidyOptionDoc option_docs[] =
"This option specifies if Tidy should discard empty paragraphs. "
},
{TidyDropFontTags,
"Deprecated; DO NOT USE. This option is destructive to &lt;font&gt; tags, "
"Deprecated; <strong>DO NOT USE</strong>. 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. "