<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -52,4 +52,5 @@
 &lt;/body&gt;
 &lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>benchmarks/samples/Lexer/1.html</filename>
    </modified>
    <modified>
      <diff>@@ -16,4 +16,5 @@ function qs(el) {if (window.RegExp &amp;&amp; window.encodeURIComponent) {var ue=el.href
 // --&gt;
 &lt;/script&gt;&lt;table border=0 cellspacing=0 cellpadding=4&gt;&lt;tr&gt;&lt;td nowrap&gt;&lt;font size=-1&gt;&lt;b&gt;Web&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a id=1a class=q href=&quot;/imghp?hl=en&amp;tab=wi&quot; onClick=&quot;return qs(this);&quot;&gt;Images&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a id=2a class=q href=&quot;http://groups.google.com/grphp?hl=en&amp;tab=wg&quot; onClick=&quot;return qs(this);&quot;&gt;Groups&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a id=4a class=q href=&quot;http://news.google.com/nwshp?hl=en&amp;tab=wn&quot; onClick=&quot;return qs(this);&quot;&gt;News&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a id=5a class=q href=&quot;http://froogle.google.com/frghp?hl=en&amp;tab=wf&quot; onClick=&quot;return qs(this);&quot;&gt;Froogle&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a id=8a class=q href=&quot;/lochp?hl=en&amp;tab=wl&quot; onClick=&quot;return qs(this);&quot;&gt;Local&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&lt;a href=&quot;/intl/en/options/&quot; class=q&gt;more&amp;nbsp;&amp;raquo;&lt;/a&gt;&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table cellspacing=0 cellpadding=0&gt;&lt;tr&gt;&lt;td width=25%&gt;&amp;nbsp;&lt;/td&gt;&lt;td align=center&gt;&lt;input type=hidden name=hl value=en&gt;&lt;input maxlength=2048 size=55 name=q value=&quot;&quot; title=&quot;Google Search&quot;&gt;&lt;br&gt;&lt;input type=submit value=&quot;Google Search&quot; name=btnG&gt;&lt;input type=submit value=&quot;I'm Feeling Lucky&quot; name=btnI&gt;&lt;/td&gt;&lt;td valign=top nowrap width=25%&gt;&lt;font size=-2&gt;&amp;nbsp;&amp;nbsp;&lt;a href=/advanced_search?hl=en&gt;Advanced Search&lt;/a&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&lt;a href=/preferences?hl=en&gt;Preferences&lt;/a&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&lt;a href=/language_tools?hl=en&gt;Language Tools&lt;/a&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/form&gt;&lt;br&gt;&lt;br&gt;&lt;font size=-1&gt;&lt;a href=&quot;/ads/&quot;&gt;Advertising&amp;nbsp;Programs&lt;/a&gt; - &lt;a href=/services/&gt;Business Solutions&lt;/a&gt; - &lt;a href=/about.html&gt;About Google&lt;/a&gt;&lt;/font&gt;&lt;p&gt;&lt;font size=-2&gt;&amp;copy;2006 Google&lt;/font&gt;&lt;/p&gt;&lt;/center&gt;&lt;/body&gt;&lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>benchmarks/samples/Lexer/2.html</filename>
    </modified>
    <modified>
      <diff>@@ -127,4 +127,5 @@ if (objAdMgr.isSlotAvailable(&quot;leaderboard&quot;)) {
 
 &lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>benchmarks/samples/Lexer/3.html</filename>
    </modified>
    <modified>
      <diff>@@ -539,4 +539,5 @@ Retrieved from &quot;&lt;a href=&quot;http://en.wikipedia.org/wiki/Tai_Chi_Chuan&quot;&gt;http://en.w
 &lt;!-- Served by srv25 in 0.089 secs. --&gt;
 &lt;/body&gt;&lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>benchmarks/samples/Lexer/4.html</filename>
    </modified>
    <modified>
      <diff>@@ -232,4 +232,5 @@
 
 &lt;/xsl:stylesheet&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>configdoc/styles/plain.xsl</filename>
    </modified>
    <modified>
      <diff>@@ -13,4 +13,5 @@
   &lt;type id=&quot;mixed&quot;&gt;Mixed&lt;/type&gt;
 &lt;/types&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>configdoc/types.xml</filename>
    </modified>
    <modified>
      <diff>@@ -215,4 +215,5 @@ the usual things required are:&lt;/p&gt;
 
 &lt;/body&gt;&lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/dev-advanced-api.html</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 
 Configuration Backwards-Compatibility Breaks
 
-In version 3.3.0, the configuration subsystem (composed of the outwards
+In version 4.0.0, the configuration subsystem (composed of the outwards
 facing Config class, as well as the ConfigSchema and ConfigSchema_Interchange
 subsystems), was significantly revamped to make use of property lists.
 While most of the changes are internal, some internal APIs were changed for the
@@ -76,4 +76,4 @@ Any method that took $namespace, $directive now takes $key.
 
 Removed.
 
-
+    vim: et sw=4 sts=4</diff>
      <filename>docs/dev-config-bcbreaks.txt</filename>
    </modified>
    <modified>
      <diff>@@ -373,4 +373,5 @@ Test.Example&lt;/pre&gt;
   &lt;/body&gt;
 &lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/dev-config-schema.html</filename>
    </modified>
    <modified>
      <diff>@@ -64,4 +64,5 @@
 
 &lt;/body&gt;&lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/dev-flush.html</filename>
    </modified>
    <modified>
      <diff>@@ -79,4 +79,5 @@ help you find the correct functionality more quickly.  Here they are:&lt;/p&gt;
 
 &lt;/body&gt;&lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/dev-naming.html</filename>
    </modified>
    <modified>
      <diff>@@ -29,4 +29,5 @@ that itch, put it here!&lt;/p&gt;
 
 &lt;/body&gt;&lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/dev-optimization.html</filename>
    </modified>
    <modified>
      <diff>@@ -305,4 +305,5 @@ Mozilla on inside and needs -moz-outline, no IE support.&lt;/td&gt;&lt;/tr&gt;
 
 &lt;/body&gt;&lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/dev-progress.html</filename>
    </modified>
    <modified>
      <diff>@@ -795,4 +795,5 @@ $form-&gt;excludes = array('form' =&gt; true);&lt;/strong&gt;&lt;/pre&gt;
 
 &lt;/body&gt;&lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/enduser-customize.html</filename>
    </modified>
    <modified>
      <diff>@@ -144,4 +144,5 @@ anchors is beyond me.&lt;/p&gt;
 &lt;/body&gt;
 &lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/enduser-id.html</filename>
    </modified>
    <modified>
      <diff>@@ -116,4 +116,5 @@ if you decide to do that! Especially if you port HTML Purifier to C++.
 &lt;/body&gt;
 &lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/enduser-slow.html</filename>
    </modified>
    <modified>
      <diff>@@ -227,4 +227,5 @@ effectively in the background.&lt;/p&gt;
 
 &lt;/body&gt;&lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/enduser-tidy.html</filename>
    </modified>
    <modified>
      <diff>@@ -160,27 +160,14 @@
 &lt;/p&gt;
 
 &lt;pre&gt;$uri = $config-&gt;getDefinition('URI');
-$uri-&gt;addFilter(new HTMLPurifier_URIFilter_&lt;strong&gt;NameOfFilter&lt;/strong&gt;());&lt;/pre&gt;
+$uri-&gt;addFilter(new HTMLPurifier_URIFilter_&lt;strong&gt;NameOfFilter&lt;/strong&gt;(), $config);&lt;/pre&gt;
 
 &lt;p&gt;
-  If you want to be really fancy, you can define a configuration directive
-  for your filter and have HTML Purifier automatically manage whether or
-  not your filter gets loaded or not (this is how internal filters manage
-  things):
+    After adding a filter, you won't be able to set configuration directives.
+    Structure your code accordingly.
 &lt;/p&gt;
 
-&lt;pre&gt;HTMLPurifier_ConfigSchema::define(
-    'URI', '&lt;strong&gt;NameOfFilter&lt;/strong&gt;', false, 'bool',
-    '&lt;strong&gt;What your filter does.&lt;/strong&gt;'
-);
-$uri = $config-&gt;getDefinition('URI', true);
-$uri-&gt;registerFilter(new HTMLPurifier_URIFilter_&lt;strong&gt;NameOfFilter&lt;/strong&gt;());
-&lt;/pre&gt;
-
-&lt;p&gt;
-  Now, your filter will only be called when %URI.&lt;strong&gt;NameOfFilter&lt;/strong&gt;
-  is set to true.
-&lt;/p&gt;
+&lt;!-- XXX: link to new documentation system --&gt;
 
 &lt;h2&gt;Post-filter&lt;/h2&gt;
 
@@ -213,4 +200,5 @@ $uri-&gt;registerFilter(new HTMLPurifier_URIFilter_&lt;strong&gt;NameOfFilter&lt;/strong&gt;())
 
 &lt;/body&gt;&lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/enduser-uri-filter.html</filename>
    </modified>
    <modified>
      <diff>@@ -1056,4 +1056,5 @@ a more in-depth look into character sets and encodings.&lt;/p&gt;
 &lt;/body&gt;
 &lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/enduser-utf8.html</filename>
    </modified>
    <modified>
      <diff>@@ -149,4 +149,5 @@ with the core!&lt;/p&gt;
 &lt;/body&gt;
 &lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/enduser-youtube.html</filename>
    </modified>
    <modified>
      <diff>@@ -5,4 +5,5 @@ function init() {
 }
 &lt;/script&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/fixquotes.htc</filename>
    </modified>
    <modified>
      <diff>@@ -119,6 +119,12 @@ the code. They may be upgraded to HTML files or stay as TXT scratchpads.&lt;/p&gt;
 
 &lt;tr&gt;
     &lt;td&gt;Development&lt;/td&gt;
+    &lt;td&gt;&lt;a href=&quot;dev-config-bcbreaks.txt&quot;&gt;Config BC Breaks&lt;/a&gt;&lt;/td&gt;
+    &lt;td&gt;Backwards-incompatible changes in HTML Purifier 4.0.0&lt;/td&gt;
+&lt;/tr&gt;
+
+&lt;tr&gt;
+    &lt;td&gt;Development&lt;/td&gt;
     &lt;td&gt;&lt;a href=&quot;dev-code-quality.txt&quot;&gt;Code Quality Issues&lt;/a&gt;&lt;/td&gt;
     &lt;td&gt;Enumerates code quality issues and places that need to be refactored.&lt;/td&gt;
 &lt;/tr&gt;
@@ -178,4 +184,5 @@ the code. They may be upgraded to HTML files or stay as TXT scratchpads.&lt;/p&gt;
 &lt;/body&gt;
 &lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -45,4 +45,5 @@ something like that?&lt;/li&gt;
 &lt;/body&gt;
 &lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/proposal-colors.html</filename>
    </modified>
    <modified>
      <diff>@@ -215,3 +215,4 @@ this is to squash all of the parents.
 
 But I don't need iteration.
 
+    vim: et sw=4 sts=4</diff>
      <filename>docs/proposal-plists.txt</filename>
    </modified>
    <modified>
      <diff>@@ -43,4 +43,5 @@ the development of this library in these forum threads:&lt;/p&gt;
 &lt;/body&gt;
 &lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>docs/ref-devnetwork.html</filename>
    </modified>
    <modified>
      <diff>@@ -163,5 +163,3 @@ div.segment {width:250px; float:left; margin-top:1em;}
 
 &lt;/body&gt;
 &lt;/html&gt;
-
-&lt;!-- vim: et sw=4 sts=4 --&gt;</diff>
      <filename>docs/specimens/html-align-to-css.html</filename>
    </modified>
    <modified>
      <diff>@@ -127,5 +127,3 @@ style='color:black'&gt;www.example.com/disclaimer&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
 &lt;/body&gt;
 
 &lt;/html&gt;
-
-&lt;!-- vim: et sw=4 sts=4 --&gt;</diff>
      <filename>docs/specimens/jochem-blok-word.html</filename>
    </modified>
    <modified>
      <diff>@@ -72,5 +72,3 @@ title=&quot;Join Windows Live to share photos using Windows Live Photo E-mail.&quot;&gt;Onlin
 pictures are available for 30 days. &lt;A style=&quot;COLOR: #0088e4&quot;
 href=&quot;http://g.msn.com/5meen_us/175&quot;&gt;Get Windows Live Mail desktop to create
 your own photo e-mails. &lt;/A&gt;&lt;/SPAN&gt;&lt;/NOBR&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;
-
-&lt;!-- vim: et sw=4 sts=4 --&gt;</diff>
      <filename>docs/specimens/windows-live-mail-desktop-beta.html</filename>
    </modified>
    <modified>
      <diff>@@ -21,6 +21,7 @@ foreach ($files as $file) {
         !is_file($file) ||
         prefix_is('./docs/doxygen', $file) ||
         prefix_is('./library/standalone', $file) ||
+        prefix_is('./docs/specimens', $file) ||
         postfix_is('.ser', $file) ||
         postfix_is('.tgz', $file) ||
         postfix_is('.patch', $file) ||
@@ -38,6 +39,7 @@ foreach ($files as $file) {
         postfix_is('configdoc/usage.xml', $file) ||
         postfix_is('library/HTMLPurifier.includes.php', $file) ||
         postfix_is('library/HTMLPurifier.safe-includes.php', $file) ||
+        postfix_is('smoketests/xssAttacks.xml', $file) ||
         // phpt files
         postfix_is('.diff', $file) ||
         postfix_is('.exp', $file) ||
@@ -71,7 +73,7 @@ foreach ($files as $file) {
         case '.xsl':
         case '.xml':
         case '.htc':
-            $line = '&lt;!-- %s --&gt;';
+            $line = &quot;&lt;!-- %s\n--&gt;&quot;;
             break;
         case '.htmlt':
             $no_nl = true;</diff>
      <filename>maintenance/add-vimline.php</filename>
    </modified>
    <modified>
      <diff>@@ -31,4 +31,4 @@ foreach ($raw_files as $file) {
     file_put_contents($file, $contents);
 }
 
-
+// vim: et sw=4 sts=4</diff>
      <filename>maintenance/update-config.php</filename>
    </modified>
    <modified>
      <diff>@@ -188,4 +188,5 @@
     --&gt;
 &lt;/samples&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>smoketests/attrTransform.xml</filename>
    </modified>
    <modified>
      <diff>@@ -78,4 +78,5 @@ otherwise there will be problems.&lt;/p&gt;
 &lt;/body&gt;
 &lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>smoketests/basic/allElements.html</filename>
    </modified>
    <modified>
      <diff>@@ -123,4 +123,5 @@ hr@size
 &lt;/body&gt;
 &lt;/html&gt;
 
-&lt;!-- vim: et sw=4 sts=4 --&gt;
+&lt;!-- vim: et sw=4 sts=4
+--&gt;</diff>
      <filename>smoketests/basic/legacy.html</filename>
    </modified>
    <modified>
      <diff>@@ -1305,5 +1305,3 @@ JavaScript link location&lt;/desc&gt;
 
 	&lt;/attack&gt;
 &lt;/xss&gt;
-
-&lt;!-- vim: et sw=4 sts=4 --&gt;</diff>
      <filename>smoketests/xssAttacks.xml</filename>
    </modified>
    <modified>
      <diff>@@ -28,3 +28,5 @@ class HTMLPurifier_HTMLModule_NameTest extends HTMLPurifier_HTMLModuleHarness
     }
 
 }
+
+// vim: et sw=4 sts=4</diff>
      <filename>tests/HTMLPurifier/HTMLModule/NameTest.php</filename>
    </modified>
    <modified>
      <diff>@@ -3,3 +3,4 @@ HTML.Trusted = true
 --HTML--
 &lt;ul&gt;&lt;!-- Foo --&gt;&lt;/ul&gt;
 --EXPECT--
+--# vim: et sw=4 sts=4</diff>
      <filename>tests/HTMLPurifier/HTMLT/trusted-comments-required.htmlt</filename>
    </modified>
    <modified>
      <diff>@@ -2,3 +2,4 @@
 HTML.Trusted = true
 --HTML--
 &lt;table&gt;&lt;!-- foo --&gt;&lt;tr&gt;&lt;td&gt;Foo&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
+--# vim: et sw=4 sts=4</diff>
      <filename>tests/HTMLPurifier/HTMLT/trusted-comments-table.htmlt</filename>
    </modified>
    <modified>
      <diff>@@ -2,3 +2,4 @@
 HTML.Trusted = true
 --HTML--
 &lt;!-- Foobar --&gt;
+--# vim: et sw=4 sts=4</diff>
      <filename>tests/HTMLPurifier/HTMLT/trusted-comments.htmlt</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e3c2063f69ff156bd05431f8179306afef15ed31</id>
    </parent>
  </parents>
  <author>
    <name>Edward Z. Yang</name>
    <email>edwardzyang@thewritingpot.com</email>
  </author>
  <url>http://github.com/ezyang/htmlpurifier/commit/41c9226f3dbe763ffc25e1659f694f55b0d1b7a3</url>
  <id>41c9226f3dbe763ffc25e1659f694f55b0d1b7a3</id>
  <committed-date>2009-04-09T09:47:10-07:00</committed-date>
  <authored-date>2009-04-09T09:47:10-07:00</authored-date>
  <message>Style refresh: add/remove vimlines, fix minor factual errors.

Signed-off-by: Edward Z. Yang &lt;edwardzyang@thewritingpot.com&gt;</message>
  <tree>37f3e5b9d49ccb0f7b4e1ac41ee1aa10c79975d6</tree>
  <committer>
    <name>Edward Z. Yang</name>
    <email>edwardzyang@thewritingpot.com</email>
  </committer>
</commit>
