XSL for man handles <var>. Updated comment and sample string.
This commit is contained in:
parent
f76c261523
commit
d30c2d7747
|
@ -407,7 +407,7 @@ The sources for \fBHTML Tidy\fR are available at https://github.com/htacg/tidy-h
|
||||||
<xsl:text /> at \fI<xsl:value-of select="@href" />\fR<xsl:text />
|
<xsl:text /> at \fI<xsl:value-of select="@href" />\fR<xsl:text />
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="code | em">
|
<xsl:template match="code | em | var">
|
||||||
<xsl:text />\fI<xsl:call-template name="escape-backslash" />\fR<xsl:text />
|
<xsl:text />\fI<xsl:call-template name="escape-backslash" />\fR<xsl:text />
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
|
@ -593,9 +593,14 @@ static languageDefinition language_en = { whichPluralForm_en, {
|
||||||
** <code>, <em>, <strong>, <br/>, <p>
|
** <code>, <em>, <strong>, <br/>, <p>
|
||||||
** Note that the xslt processor requires <br/> to be self closing!
|
** Note that the xslt processor requires <br/> to be self closing!
|
||||||
*********************************************************************/
|
*********************************************************************/
|
||||||
{/* Please use _only_ <code></code>, <em></em>, <strong></strong>, and <br/>.
|
{/* Important notes for translators:
|
||||||
It's very important that <br/> be self-closing in this manner!
|
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and
|
||||||
- The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */
|
<br/>.
|
||||||
|
- Entities, tags, attributes, etc., should be enclosed in <code></code>.
|
||||||
|
- Option values should be enclosed in <var></var>.
|
||||||
|
- It's very important that <br/> be self-closing!
|
||||||
|
- The strings "Tidy" and "HTML Tidy" are the program name and must not
|
||||||
|
be translated. */
|
||||||
TidyXmlDecl, 0,
|
TidyXmlDecl, 0,
|
||||||
"This option specifies if Tidy should add the XML declaration when "
|
"This option specifies if Tidy should add the XML declaration when "
|
||||||
"outputting XML or XHTML. "
|
"outputting XML or XHTML. "
|
||||||
|
@ -603,9 +608,9 @@ static languageDefinition language_en = { whichPluralForm_en, {
|
||||||
"Note that if the input already includes an <code><?xml ... ?></code> "
|
"Note that if the input already includes an <code><?xml ... ?></code> "
|
||||||
"declaration then this option will be ignored. "
|
"declaration then this option will be ignored. "
|
||||||
"<br/>"
|
"<br/>"
|
||||||
"If the encoding for the output is different from <code>ascii</code>, one "
|
"If the encoding for the output is different from <var>ascii</var>, one "
|
||||||
"of the utf encodings or <code>raw</code>, the declaration is always added "
|
"of the <var>utf*</var> encodings, or <var>raw</var>, then the "
|
||||||
"as required by the XML standard. "
|
"declaration is always added as required by the XML standard. "
|
||||||
},
|
},
|
||||||
{/* Please use _only_ <code></code>, <em></em>, <strong></strong>, and <br/>.
|
{/* Please use _only_ <code></code>, <em></em>, <strong></strong>, and <br/>.
|
||||||
It's very important that <br/> be self-closing in this manner!
|
It's very important that <br/> be self-closing in this manner!
|
||||||
|
|
Loading…
Reference in a new issue