From 666d5bb1f49f32b95cf7d53f77bb0bc3207a32ad Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Sat, 7 Apr 2012 16:49:19 +0900 Subject: [PATCH] Another minor editorial change. --- quickref.html | 6 +++--- src/localize.c | 16 +++++++++++----- src/version.h | 2 +- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/quickref.html b/quickref.html index b27d244..8ab889d 100644 --- a/quickref.html +++ b/quickref.html @@ -8,7 +8,7 @@

Quick Reference

HTML Tidy Configuration Options

-

Version: https://github.com/w3c/tidy-html5/tree/c66f165

+

Version: https://github.com/w3c/tidy-html5/tree/4408516

HTML, XHTML, XML
@@ -1256,7 +1256,7 @@ - This option specifies if Tidy should ensure that whitespace characters within attribute values are passed through unchanged. + This option specifies how Tidy deals with whitespace characters within attribute values. If the value is "no" (the default), Tidy "munges" or "normalizes" attribute values by replacing any newline or tab character with a single space character, and further by replacing any sequences of multiple whitespace characters with a single space. To force tidy to preserve the original, literal values of all attributes, and ensure that whitespace characters within attribute values are passed through unchanged, set this option to "yes".   @@ -2038,7 +2038,7 @@ - This option specifies if Tidy should line-wrap attribute values, for easier editing. Line wrapping means that if the value of an attribute causes a line to exceed the width specified by the "wrap" option, tidy will add one or more line breaks to the value, causing it to wrapped into multiple lines. Note the this option can be set independently of wrap-script-literals. Also note that by default, tidy "munges" or "normalizes" attribute values by replacing any newline or tab character with a single space character, and further by replacing any sequences of multiple whitespace characters with a single space. To force tidy to preserve the original, literal values of all attributes, and ensure that whitespace characters within attribute values are passed through unchanged, set the literal-attributes option to "no". + This option specifies if Tidy should line-wrap attribute values, for easier editing. Line wrapping means that if the value of an attribute causes a line to exceed the width specified by the "wrap" option, tidy will add one or more line breaks to the value, causing it to wrapped into multiple lines. Note that this option can be set independently of wrap-script-literals. Also note that by default, Tidy "munges" or "normalizes" attribute values by replacing any newline or tab character with a single space character, and further by replacing any sequences of multiple whitespace characters with a single space. To force Tidy to preserve the original, literal values of all attributes, and ensure that whitespace characters within attribute values are passed through unchanged, set the literal-attributes option to "yes".   diff --git a/src/localize.c b/src/localize.c index 4dccd4e..d3f05df 100644 --- a/src/localize.c +++ b/src/localize.c @@ -710,8 +710,14 @@ static const TidyOptionDoc option_docs[] = ,TidyIndentSpacesLinks }, {TidyLiteralAttribs, - "This option specifies if Tidy should ensure that whitespace characters " - "within attribute values are passed through unchanged. " + "This option specifies how Tidy deals with whitespace characters within " + "attribute values. If the value is \"no\" (the default), Tidy \"munges\" " + "or \"normalizes\" attribute values by replacing any newline or tab " + "character with a single space character, and further by replacing " + "any sequences of multiple whitespace characters with a single space. " + "To force tidy to preserve the original, literal values of all attributes, " + "and ensure that whitespace characters within attribute values are passed " + "through unchanged, set this option to \"yes\". " }, {TidyShowMarkup, "This option specifies if Tidy should generate a pretty printed version " @@ -751,13 +757,13 @@ static const TidyOptionDoc option_docs[] = "causes a line to exceed the width specified by the \"wrap\" option, " "tidy will add one or more line breaks to the value, causing it to " "wrapped into multiple lines. Note that this option can be set " - "independently of wrap-script-literals. Also note that by default, tidy " + "independently of wrap-script-literals. Also note that by default, Tidy " "\"munges\" or \"normalizes\" attribute values by replacing any newline " "or tab character with a single space character, and further by replacing " "any sequences of multiple whitespace characters with a single space. " - "To force tidy to preserve the original, literal values of all attributes, " + "To force Tidy to preserve the original, literal values of all attributes, " "and ensure that whitespace characters within attribute values are passed " - "through unchanged, set the literal-attributes option to \"no\". " + "through unchanged, set the literal-attributes option to \"yes\". " ,TidyWrapAttValsLinks }, {TidyWrapJste, diff --git a/src/version.h b/src/version.h index da34636..589c166 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/4408516"; \ No newline at end of file +static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/d193420"; \ No newline at end of file