Issue #403 - Fix and enhance descripion of keep-tabs option

This commit is contained in:
Geoff McLane 2017-11-07 20:29:04 +01:00
parent b58abe30d0
commit 7bbeae3eea

View file

@ -708,7 +708,17 @@ static languageDefinition language_en = { whichPluralForm_en, {
- The strings "Tidy" and "HTML Tidy" are the program name and must not - The strings "Tidy" and "HTML Tidy" are the program name and must not
be translated. */ be translated. */
TidyKeepTabs, 0, TidyKeepTabs, 0,
"This option specifies if Tidy should keep tabs found in the source. " "With the default <var>no</var> Tidy will replace all source tabs, with spaces, "
"controlled by the option <code>tab-size</code>, and the current line offset. "
"Of course, except in the special blocks/elments enumerated below, this will later "
"be reduced to just one space. "
"<br/>"
"If set <var>yes</var> this option specifies Tidy should keep certain tabs "
"found in the source, but only "
"in preformatted blocks like <code>&lt;pre&gt;</code>, and other CDATA elements like "
"<code>&lt;script&gt;</code>, <code>&lt;style&gt;<code>, and other pseudo elements like "
"<code>&lt;?php ... ?&gt;</code>. As always, all other tabs, or sequences of tabs, in "
"the source will continue to be replaced with a space. "
}, },
{/* Important notes for translators: {/* Important notes for translators:
- Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and