diff --git a/docs/dev-advanced-api.html b/docs/dev-advanced-api.html index 695c49c4..56dbeb04 100644 --- a/docs/dev-advanced-api.html +++ b/docs/dev-advanced-api.html @@ -27,7 +27,8 @@ filtersets: therefore, users must be able to define their own sets of
Customize
@@ -88,6 +89,31 @@ other users to use.

$config->set('HTML', 'Filterset', 'Rich');
+

Selecting Mode

+ +

Within filtersets, there are various modes of operation. +These indicate variant behaviors that, while not strictly changing the +allowed set of elements and attributes, will definitely affect the output. +Currently, we have two modes, which may be used together:

+ +
+
Lenient
+
Deprecated elements and attributes will be transformed into + standards-compliant alternatives when explicitly disallowed. For + example, in the XHTML 1.0 Strict doctype, a center + tag would be turned into a div with the CSS property + text-align:center;, but in XHTML 1.0 Transitional + the tag would be preserved. This mode is on by default.
+
Correctional
+
Deprecated elements and attributes will be transformed into + standards-compliant alternatives whenever possible. Referring + back to the previous example, the center tag would + be transformed in both cases. However, tags without a + reasonable standards-compliant alternative will be preserved + in their form. This mode is on by default. It may have + various levels of operation.
+
+

Selecting Modules / Tags / Attributes

If this cookie cutter approach doesn't appeal to a user, they may