From 37ea1673ddb904c5b17e41dde89cfaeb49c70a0c Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Fri, 19 Jan 2007 02:28:53 +0000 Subject: [PATCH] Merge in r649-656, prompted by changing two of Encoder's functions to static. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/branches/strict@657 48356398-32a2-884e-a903-53898d9a118a --- NEWS | 2 ++ configdoc/styles/plain.css | 14 ++++++++ configdoc/styles/plain.xsl | 5 +-- docs/dev-code-quality.html | 1 + docs/dev-naming.html | 1 + docs/dev-optimization.html | 1 + docs/dev-progress.html | 1 + docs/enduser-id.html | 1 + docs/enduser-slow.html | 1 + docs/enduser-utf8.html | 17 +++++++++ docs/enduser-youtube.html | 1 + docs/index.html | 2 +- docs/proposal-colors.html | 1 + docs/ref-devnetwork.html | 1 + docs/style.css | 2 ++ library/HTMLPurifier.php | 5 ++- library/HTMLPurifier/Config.php | 4 ++- library/HTMLPurifier/ConfigSchema.php | 7 +++- library/HTMLPurifier/Encoder.php | 16 +++++++-- library/HTMLPurifier/EntityLookup.php | 1 + library/HTMLPurifier/HTMLDefinition.php | 2 +- library/HTMLPurifier/Lexer.php | 9 ++--- library/HTMLPurifier/Lexer/PEARSax3.php | 2 +- library/HTMLPurifier/URISchemeRegistry.php | 1 + smoketests/all.php | 40 ++++++++++++++++++++++ smoketests/common.php | 2 +- smoketests/printDefinition.php | 38 +++++++++++++++++++- tests/Debugger.php | 5 ++- tests/HTMLPurifier/EncoderTest.php | 17 +++++---- tests/HTMLPurifier/LexerTest.php | 2 +- 30 files changed, 173 insertions(+), 29 deletions(-) create mode 100644 smoketests/all.php diff --git a/NEWS b/NEWS index b8ae6e24..4a494326 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,8 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier ! Implemented background-image, background-repeat and background-attachment CSS properties. background shorthand property HAS NOT been extended to allow these, and background-position IS NOT implemented yet. +! Configuration documentation looks nicer +! Added smoketest 'all.php', which loads all other smoketests via frames . Implemented AttrDef_CSSURI for url(http://google.com) style declarations 1.3.3, unknown release date, likely to be dropped diff --git a/configdoc/styles/plain.css b/configdoc/styles/plain.css index 15dabea2..a814a97d 100644 --- a/configdoc/styles/plain.css +++ b/configdoc/styles/plain.css @@ -1,3 +1,6 @@ + +body {margin:1em 4em;} + table {border-collapse:collapse;} table td, table th {padding:0.2em;} @@ -8,3 +11,14 @@ table.constraints td pre {margin:0;} #toc {list-style-type:none; font-weight:bold;} #toc ul {list-style-type:disc; font-weight:normal;} + +.description p {margin-top:0;margin-bottom:1em;} + +#library, h1 {text-align:center; font-family:Garamond, serif; + font-variant:small-caps;} +#library {font-size:1em;} +h1 {margin-top:0;} +h2 {border-bottom:1px solid #CCC; font-family:sans-serif; font-weight:normal; + font-size:1.3em;} +h3 {font-family:sans-serif; font-size:1.1em; font-weight:bold; } +h4 {font-family:sans-serif; font-size:0.9em; font-weight:bold; } diff --git a/configdoc/styles/plain.xsl b/configdoc/styles/plain.xsl index 13f57352..cfd5a7ca 100644 --- a/configdoc/styles/plain.xsl +++ b/configdoc/styles/plain.xsl @@ -18,12 +18,13 @@ - <xsl:value-of select="/configdoc/title" /> Configuration Documentation + Configuration Documentation - <xsl:value-of select="/configdoc/title" /> -

Configuration Documentation

+
+

Configuration Documentation

Table of Contents