diff --git a/docs/dev-advanced-api.html b/docs/dev-advanced-api.html index ebd25231..1cb3169b 100644 --- a/docs/dev-advanced-api.html +++ b/docs/dev-advanced-api.html @@ -16,6 +16,11 @@
Return to the index.
HTML Purifier End-User Documentation
+

+ Warning: This document may be out-of-date. When in doubt, + consult the source code documentation. +

+

HTML Purifier currently natively supports only a subset of HTML's allowed elements, attributes, and behavior; specifically, this subset is the set of elements that are safe for untrusted users to use. diff --git a/docs/dev-code-quality.txt b/docs/dev-code-quality.txt index 10e21cb7..e6e0b148 100644 --- a/docs/dev-code-quality.txt +++ b/docs/dev-code-quality.txt @@ -17,7 +17,6 @@ a lot of strtolower() calls, no legit casing URI - multiple regular expressions; missing validation for parts (?) CSS - parser doesn't accept advanced CSS (fringe) Number - constructor interface inconsistent with Integer -ConfigSchema - redefinition is a mess Strategy FixNesting - cannot bubble nodes out of structures, duplicated checks for special-case parent node diff --git a/docs/dev-optimization.html b/docs/dev-optimization.html index 6b2be684..28e9fc05 100644 --- a/docs/dev-optimization.html +++ b/docs/dev-optimization.html @@ -23,7 +23,6 @@ that itch, put it here!

diff --git a/docs/dev-progress.html b/docs/dev-progress.html index 9eef6a09..21542a1b 100644 --- a/docs/dev-progress.html +++ b/docs/dev-progress.html @@ -34,6 +34,11 @@ thead th {text-align:left;padding:0.1em;background-color:#EEE;}
Return to the index.
HTML Purifier End-User Documentation
+

+ Warning: This table is kept for historical purposes and + is not being actively updated. +

+

Key

@@ -148,7 +153,7 @@ thead th {text-align:left;padding:0.1em;background-color:#EEE;} Depends on background-image - @@ -167,7 +172,7 @@ thead th {text-align:left;padding:0.1em;background-color:#EEE;} Mostly supported. Unknown target milestone. - - + diff --git a/docs/ref-html-modularization.txt b/docs/ref-html-modularization.txt index 8b54b8f5..e7fc0fce 100644 --- a/docs/ref-html-modularization.txt +++ b/docs/ref-html-modularization.txt @@ -1,9 +1,6 @@ The Modularization of HTMLDefinition in HTML Purifier -Todo for XHTML 1.1 support -1. Support Ruby - HTML Purifier uses the modularization of XHTML to organize the internals of HTMLDefinition into a more manageable and extensible fashion. Rather
background-positionDepends on background-image
cursorDangerous but fluffy
displayENUM(...), Dangerous but interesting; +
displayENUM(...), Dangerous but interesting; will not implement list-item, run-in (Opera only) or table (no IE); inline-block has incomplete IE6 support and requires -moz-inline-box for Mozilla. Unknown target milestone.
page-break-insideENUM(avoid, auto), Opera only. Unknown target milestone.
quotesMay be dropped from CSS2, fairly useless for inline context
visibilityENUM(visible, hidden, collapse), +
visibilityENUM(visible, hidden, collapse), Dangerous
white-spaceENUM(normal, pre, nowrap, pre-wrap, pre-line), Spotty implementation: diff --git a/docs/enduser-uri-filter.html b/docs/enduser-uri-filter.html index 04a611f8..edd8848f 100644 --- a/docs/enduser-uri-filter.html +++ b/docs/enduser-uri-filter.html @@ -33,9 +33,9 @@
class HTMLPurifier_URIFilter_NameOfFilter extends HTMLPurifier_URIFilter
 {
-    var $name = 'NameOfFilter';
-    function prepare($config) {}
-    function filter(&$uri, $config, &$context) {}
+    public $name = 'NameOfFilter';
+    public function prepare($config) {}
+    public function filter(&$uri, $config, &$context) {}
 }

@@ -56,12 +56,12 @@

class HTMLPurifier_URI
 {
-    var $scheme, $userinfo, $host, $port, $path, $query, $fragment;
-    function HTMLPurifier_URI($scheme, $userinfo, $host, $port, $path, $query, $fragment);
-    function toString();
-    function copy();
-    function getSchemeObj($config, &$context);
-    function validate($config, &$context);
+    public $scheme, $userinfo, $host, $port, $path, $query, $fragment;
+    public function HTMLPurifier_URI($scheme, $userinfo, $host, $port, $path, $query, $fragment);
+    public function toString();
+    public function copy();
+    public function getSchemeObj($config, &$context);
+    public function validate($config, &$context);
 }

@@ -138,8 +138,8 @@

class HTMLPurifier_URIFilter_ConvertIDNToPunycode extends HTMLPurifier_URIFilter
 {
-    var $name = 'ConvertIDNToPunycode';
-    function filter(&$uri, $config, &$context) {
+    public $name = 'ConvertIDNToPunycode';
+    public function filter(&$uri, $config, &$context) {
         if (is_null($uri->host)) return true;
         if ($uri->host == utf8_decode($uri->host)) {
             // is ASCII, abort
diff --git a/docs/index.html b/docs/index.html
index e70c053f..49d769a5 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -116,7 +116,7 @@ the code. They may be upgraded to HTML files or stay as TXT scratchpads.

DevelopmentCode Quality IssuesCode Quality Issues Enumerates code quality issues and places that need to be refactored.