diff --git a/index.html b/index.html
index 405ee32..fdc4dc4 100644
--- a/index.html
+++ b/index.html
@@ -367,6 +367,18 @@ new-blocklevel-tags: cfoutput, cfquery
new-empty-tags: cfelse
+
New configuration options
+The experimental HTML5-aware fork of Tidy adds the following new
+configuration options:
+
+In addition, it also adds a new html5
value for the
+doctype
+configuration option.
+
Indenting output for readability
Indenting the source markup of an HTML document makes the markup easier
to read. Tidy can indent the markup for an HTML document while recognizing
@@ -566,6 +578,7 @@ original version of Tidy.
Options and configuration settings
Using a config file
Sample config file
+New configuration options
Indenting output for readability
Preserving original indenting not possible
Encodings and character references
diff --git a/quickref.html b/quickref.html
index a026f2d..08eefa1 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/3a9a794
+ Version: https://github.com/w3c/tidy-html5/tree/3ed33a1
HTML, XHTML, XML
@@ -943,7 +943,7 @@
|
- This option specifies the DOCTYPE declaration generated by Tidy. If set to "omit" the output won't contain a DOCTYPE declaration. If set to "html5" the DOCTYPE is set to "<!DOCTYPE html>". If set to "auto" (the default) Tidy will use an educated guess based upon the contents of the document. If set to "strict", Tidy will set the DOCTYPE to the strict DTD. If set to "loose", the DOCTYPE is set to the loose (transitional) DTD. Alternatively, you can supply a string for the formal public identifier (FPI).
For example: doctype: "-//ACME//DTD HTML 3.14159//EN"
If you specify the FPI for an XHTML document, Tidy will set the system identifier to an empty string. For an HTML document, Tidy adds a system identifier only if one was already present in order to preserve the processing mode of some browsers. Tidy leaves the DOCTYPE for generic XML documents unchanged. --doctype omit implies --numeric-entities yes . This option does not offer a validation of the document conformance. |
+ This option specifies the DOCTYPE declaration generated by Tidy. If set to "omit" the output won't contain a DOCTYPE declaration. If set to "html5" the DOCTYPE is set to "<!DOCTYPE html>". If set to "auto" (the default) Tidy will use an educated guess based upon the contents of the document. If set to "strict", Tidy will set the DOCTYPE to the HTML4 or XHTML1 strict DTD. If set to "loose", the DOCTYPE is set to the HTML4 or XHTML1 loose (transitional) DTD. Alternatively, you can supply a string for the formal public identifier (FPI).
For example: doctype: "-//ACME//DTD HTML 3.14159//EN"
If you specify the FPI for an XHTML document, Tidy will set the system identifier to an empty string. For an HTML document, Tidy adds a system identifier only if one was already present in order to preserve the processing mode of some browsers. Tidy leaves the DOCTYPE for generic XML documents unchanged. --doctype omit implies --numeric-entities yes . This option does not offer a validation of the document conformance. |
|
diff --git a/src/localize.c b/src/localize.c
index 52f0689..99acc86 100644
--- a/src/localize.c
+++ b/src/localize.c
@@ -406,14 +406,17 @@ static const TidyOptionDoc option_docs[] =
, TidyMakeCleanTagsLinks
},
{TidyDoctype,
- "This option specifies the DOCTYPE declaration generated by Tidy. If set "
- "to \"omit\" the output won't contain a DOCTYPE declaration. If set to "
- "\"html5\" the DOCTYPE is set to \"<!DOCTYPE html>\". If set to "
- "\"auto\" (the default) Tidy will use an educated guess based upon the "
- "contents of the document. If set to \"strict\", Tidy will set the DOCTYPE "
- "to the strict DTD. If set to \"loose\", the DOCTYPE is set to the loose "
- "(transitional) DTD. Alternatively, you can supply a string for the formal "
- "public identifier (FPI).
"
+ "This option specifies the DOCTYPE declaration generated by Tidy.
"
+ "If set to \"omit\" the output won't contain a DOCTYPE declaration.
"
+ "If set to \"html5\" the DOCTYPE is set to \"<!DOCTYPE html>\".
"
+ "If set to \"auto\" (the default) Tidy will use an educated guess based "
+ "upon the contents of the document.
"
+ "If set to \"strict\", Tidy will set the DOCTYPE to the HTML4 or XHTML1 "
+ "strict DTD.
"
+ "If set to \"loose\", the DOCTYPE is set to the HTML4 or XHTML1 loose "
+ "(transitional) DTD.
"
+ "Alternatively, you can supply a string for the formal public identifier "
+ "(FPI).
"
"
"
"For example:
"
"doctype: \"-//ACME//DTD HTML 3.14159//EN\"
"
diff --git a/src/version.h b/src/version.h
index 4124ec8..5423b39 100644
--- a/src/version.h
+++ b/src/version.h
@@ -1 +1 @@
-static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/3ed33a1";
\ No newline at end of file
+static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/ddb5702";
\ No newline at end of file