diff --git a/CREDITS b/CREDITS index c3e7bb8e2..7921b45af 100644 --- a/CREDITS +++ b/CREDITS @@ -5,3 +5,5 @@ Almost everything written by Edward Z. Yang (Ambush Commander). Lots of thanks to the DevNetwork Community for their help (see docs/ref-devnetwork.html for more details), Feyd especially (namely IPv6 and optimization). Thanks to RSnake for letting me package his fantastic XSS cheatsheet for a smoketest. + + vim: et sw=4 sts=4 diff --git a/Doxyfile b/Doxyfile index 0095a1935..2a2c843c6 100644 --- a/Doxyfile +++ b/Doxyfile @@ -1313,3 +1313,5 @@ DOT_CLEANUP = YES # used. If set to NO the values of all tags below this one will be ignored. SEARCHENGINE = NO + +# vim: et sw=4 sts=4 diff --git a/INSTALL b/INSTALL index 0a21da731..8ee41e86e 100644 --- a/INSTALL +++ b/INSTALL @@ -370,3 +370,4 @@ If your website is in a different encoding or doctype, use this code: $clean_html = $purifier->purify($dirty_html); ?> + vim: et sw=4 sts=4 diff --git a/INSTALL.fr.utf8 b/INSTALL.fr.utf8 index ae0fcd206..9c533853b 100644 --- a/INSTALL.fr.utf8 +++ b/INSTALL.fr.utf8 @@ -64,4 +64,6 @@ Sinon, utilisez: $purificateur = new HTMLPurifier($config); $html_propre = $purificateur->purify($html_salle); -?> \ No newline at end of file +?> + + vim: et sw=4 sts=4 diff --git a/LICENSE b/LICENSE index 602bfc946..8c88a20d4 100644 --- a/LICENSE +++ b/LICENSE @@ -501,4 +501,4 @@ necessary. Here is a sample; alter the names: That's all there is to it! - + vim: et sw=4 sts=4 diff --git a/NEWS b/NEWS index 44c1c2918..a8d67fea7 100644 --- a/NEWS +++ b/NEWS @@ -832,3 +832,5 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier + Shorthand CSS properties + Table CSS properties + Deprecated attribute transformations + + vim: et sw=4 sts=4 diff --git a/README b/README index dacaceb0e..53f26f1c2 100644 --- a/README +++ b/README @@ -20,3 +20,5 @@ Places to go: * See WYSIWYG for information on editors like TinyMCE and FCKeditor HTML Purifier can be found on the web at: http://htmlpurifier.org/ + + vim: et sw=4 sts=4 diff --git a/TODO b/TODO index 0860c6a1a..07a11ccaa 100644 --- a/TODO +++ b/TODO @@ -127,3 +127,5 @@ Wontfix - Pretty-printing HTML: users can use Tidy on the output on entire page - Native content compression, whitespace stripping: use gzip if this is really important + + vim: et sw=4 sts=4 diff --git a/WYSIWYG b/WYSIWYG index 097bd2433..c518aacdd 100644 --- a/WYSIWYG +++ b/WYSIWYG @@ -16,3 +16,5 @@ trouble. Therein lies the solution: HTML Purifier is perfect for filtering pure-HTML input from WYSIWYG editors. Enough said. + + vim: et sw=4 sts=4 diff --git a/benchmarks/ConfigSchema.php b/benchmarks/ConfigSchema.php index 4e140fafd..087758c37 100644 --- a/benchmarks/ConfigSchema.php +++ b/benchmarks/ConfigSchema.php @@ -12,3 +12,5 @@ $schema = HTMLPurifier_ConfigSchema::makeFromSerial(); echo xdebug_memory_usage() - $begin; + +// vim: et sw=4 sts=4 diff --git a/benchmarks/Lexer.php b/benchmarks/Lexer.php index 07a836184..686ef63e6 100644 --- a/benchmarks/Lexer.php +++ b/benchmarks/Lexer.php @@ -153,3 +153,6 @@ function do_benchmark($name, $document) { +Recent News
Click on photo to see HR version
- \ No newline at end of file + + + diff --git a/benchmarks/samples/Lexer/2.html b/benchmarks/samples/Lexer/2.html index 0d78f49bf..8a97025d4 100644 --- a/benchmarks/samples/Lexer/2.html +++ b/benchmarks/samples/Lexer/2.html @@ -14,4 +14,6 @@
Web    Images    Groups    News    Froogle    Local    more »
 
  Advanced Search
  Preferences
  Language Tools


Advertising Programs - Business Solutions - About Google

©2006 Google

\ No newline at end of file +
Web    Images    Groups    News    Froogle    Local    more »
 
  Advanced Search
  Preferences
  Language Tools


Advertising Programs - Business Solutions - About Google

©2006 Google

+ + diff --git a/benchmarks/samples/Lexer/3.html b/benchmarks/samples/Lexer/3.html index c8e823a3c..8d22105eb 100644 --- a/benchmarks/samples/Lexer/3.html +++ b/benchmarks/samples/Lexer/3.html @@ -126,3 +126,5 @@ + + diff --git a/benchmarks/samples/Lexer/4.html b/benchmarks/samples/Lexer/4.html index 1f7645813..93593805b 100644 --- a/benchmarks/samples/Lexer/4.html +++ b/benchmarks/samples/Lexer/4.html @@ -538,3 +538,5 @@
In other languages
+ + diff --git a/benchmarks/samples/Lexer/DISCLAIMER.txt b/benchmarks/samples/Lexer/DISCLAIMER.txt index 4ad94a90e..0c8ae5d93 100644 --- a/benchmarks/samples/Lexer/DISCLAIMER.txt +++ b/benchmarks/samples/Lexer/DISCLAIMER.txt @@ -2,4 +2,6 @@ Disclaimer: The HTML used in these samples are taken from random websites. I claim no copyright over these and assert that I may use them like this under -fair use. \ No newline at end of file +fair use. + + vim: et sw=4 sts=4 diff --git a/configdoc/generate.php b/configdoc/generate.php index 3e4a695cd..a8f50c5ee 100644 --- a/configdoc/generate.php +++ b/configdoc/generate.php @@ -59,3 +59,4 @@ echo 'Files generated successfully.'; } +// vim: et sw=4 sts=4 diff --git a/configdoc/styles/plain.css b/configdoc/styles/plain.css index 44ab105fd..7af80d061 100644 --- a/configdoc/styles/plain.css +++ b/configdoc/styles/plain.css @@ -40,3 +40,5 @@ h4 {font-family:sans-serif; font-size:0.9em; font-weight:bold; } .deprecated {color: #CCC;} .deprecated table.constraints th {background:#FFF;} .deprecated-notice {color: #000; text-align:center; margin-bottom: 1em;} + +/* vim: et sw=4 sts=4 */ diff --git a/configdoc/styles/plain.xsl b/configdoc/styles/plain.xsl index b0f46f29e..cae76dfd4 100644 --- a/configdoc/styles/plain.xsl +++ b/configdoc/styles/plain.xsl @@ -231,3 +231,5 @@ + + diff --git a/configdoc/types.xml b/configdoc/types.xml index 42a64d9b6..24f8a05fc 100644 --- a/configdoc/types.xml +++ b/configdoc/types.xml @@ -12,3 +12,5 @@ Associative array Mixed + + diff --git a/configdoc/usage.xml b/configdoc/usage.xml index f89637d62..b0d59f9d4 100644 --- a/configdoc/usage.xml +++ b/configdoc/usage.xml @@ -400,3 +400,5 @@ + + diff --git a/docs/dev-advanced-api.html b/docs/dev-advanced-api.html index a06ac2973..25302a4cb 100644 --- a/docs/dev-advanced-api.html +++ b/docs/dev-advanced-api.html @@ -214,3 +214,5 @@

Elements

See HTMLPurifier/HTMLModule.php for details.

+ + diff --git a/docs/dev-code-quality.txt b/docs/dev-code-quality.txt index e6e0b148b..bceedebc4 100644 --- a/docs/dev-code-quality.txt +++ b/docs/dev-code-quality.txt @@ -25,3 +25,5 @@ URIScheme - needs to have callable generic checks mailto - doesn't validate emails, doesn't validate querystring news - doesn't validate opaque path nntp - doesn't constrain path + + vim: et sw=4 sts=4 diff --git a/docs/dev-config-schema.html b/docs/dev-config-schema.html index a76bcbba6..75a164d29 100644 --- a/docs/dev-config-schema.html +++ b/docs/dev-config-schema.html @@ -372,3 +372,5 @@

Internals

+ + diff --git a/docs/dev-flush.html b/docs/dev-flush.html index e860ad490..8dd291b1a 100644 --- a/docs/dev-flush.html +++ b/docs/dev-flush.html @@ -63,3 +63,5 @@

Flushing the Purifier

+ + diff --git a/docs/dev-includes.txt b/docs/dev-includes.txt index ac05f8d2d..d3382b593 100644 --- a/docs/dev-includes.txt +++ b/docs/dev-includes.txt @@ -277,3 +277,5 @@ DEPRECATED-VERSION: If the directive was deprecated, when was it deprecated? DEPRECATED-USE: If the directive was deprecated, what should the user use now? REQUIRES: What classes does this configuration directive require, but are not part of the HTML Purifier core? + + vim: et sw=4 sts=4 diff --git a/docs/dev-naming.html b/docs/dev-naming.html index 2761b8434..44b1bac54 100644 --- a/docs/dev-naming.html +++ b/docs/dev-naming.html @@ -78,3 +78,5 @@

Naming Conventions

+ + diff --git a/docs/dev-optimization.html b/docs/dev-optimization.html index d44a12330..ba677da01 100644 --- a/docs/dev-optimization.html +++ b/docs/dev-optimization.html @@ -28,3 +28,5 @@

Optimization

+ + diff --git a/docs/dev-progress.html b/docs/dev-progress.html index 7f13b53cd..03a35232b 100644 --- a/docs/dev-progress.html +++ b/docs/dev-progress.html @@ -304,3 +304,5 @@

Interesting Attributes

+ + diff --git a/docs/enduser-customize.html b/docs/enduser-customize.html index 15cf5c7ad..10132d1e6 100644 --- a/docs/enduser-customize.html +++ b/docs/enduser-customize.html @@ -794,3 +794,5 @@

And beyond...

+ + diff --git a/docs/enduser-id.html b/docs/enduser-id.html index 8aff57bce..76e85c08a 100644 --- a/docs/enduser-id.html +++ b/docs/enduser-id.html @@ -143,3 +143,5 @@

Denial

+ + diff --git a/docs/enduser-overview.txt b/docs/enduser-overview.txt index 3ebccd213..fe7f8705d 100644 --- a/docs/enduser-overview.txt +++ b/docs/enduser-overview.txt @@ -55,3 +55,5 @@ HTML tags. Things like blog comments are, in all likelihood, most appropriately written in an extremely restrictive set of markup that doesn't require all this functionality (or not written in HTML at all), although this may be changing in the future with the addition of levels of filtering. + + vim: et sw=4 sts=4 diff --git a/docs/enduser-security.txt b/docs/enduser-security.txt index dd8563955..518f092bd 100644 --- a/docs/enduser-security.txt +++ b/docs/enduser-security.txt @@ -14,3 +14,5 @@ to be effective. Things to remember: 4. CSS: document pending Explain which CSS styles we blocked and why. + + vim: et sw=4 sts=4 diff --git a/docs/enduser-slow.html b/docs/enduser-slow.html index a86967ceb..ea2d9a01d 100644 --- a/docs/enduser-slow.html +++ b/docs/enduser-slow.html @@ -115,3 +115,5 @@

Summary

+ + diff --git a/docs/enduser-tidy.html b/docs/enduser-tidy.html index c74159966..0d7fad18a 100644 --- a/docs/enduser-tidy.html +++ b/docs/enduser-tidy.html @@ -226,3 +226,5 @@

So... what's the lowdown?

effectively in the background.

+ + diff --git a/docs/enduser-uri-filter.html b/docs/enduser-uri-filter.html index 6b041305b..18d699361 100644 --- a/docs/enduser-uri-filter.html +++ b/docs/enduser-uri-filter.html @@ -212,3 +212,5 @@

Examples

+ + diff --git a/docs/enduser-utf8.html b/docs/enduser-utf8.html index 62eba90f7..42773611e 100644 --- a/docs/enduser-utf8.html +++ b/docs/enduser-utf8.html @@ -1055,3 +1055,5 @@ + + diff --git a/docs/enduser-youtube.html b/docs/enduser-youtube.html index b9eff59e2..0a447494b 100644 --- a/docs/enduser-youtube.html +++ b/docs/enduser-youtube.html @@ -148,3 +148,5 @@

Help out!

+ + diff --git a/docs/examples/basic.php b/docs/examples/basic.php index 72739b67f..d9b99ba28 100644 --- a/docs/examples/basic.php +++ b/docs/examples/basic.php @@ -20,3 +20,4 @@ echo '
' . htmlspecialchars($pure_html) . '
'; +// vim: et sw=4 sts=4 diff --git a/docs/fixquotes.htc b/docs/fixquotes.htc index bf2e7842e..0477071a2 100644 --- a/docs/fixquotes.htc +++ b/docs/fixquotes.htc @@ -4,3 +4,5 @@ function init() { element.innerHTML = '“'+element.innerHTML+'”'; } + + diff --git a/docs/index.html b/docs/index.html index d66353e14..029c003b7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -177,3 +177,5 @@

Internal memos

+ + diff --git a/docs/proposal-colors.html b/docs/proposal-colors.html index 4d8cf408a..f45ebc863 100644 --- a/docs/proposal-colors.html +++ b/docs/proposal-colors.html @@ -44,3 +44,5 @@

Implementation issues

+ + diff --git a/docs/proposal-config.txt b/docs/proposal-config.txt index a9ee73a45..4e031c586 100644 --- a/docs/proposal-config.txt +++ b/docs/proposal-config.txt @@ -19,3 +19,5 @@ Definition objects are complex datatypes influenced by their respective directive namespaces (HTMLDefinition with HTML and CSSDefinition with CSS). If any of these directives is updated, HTML Purifier forces the definition to be regenerated. + + vim: et sw=4 sts=4 diff --git a/docs/proposal-css-extraction.txt b/docs/proposal-css-extraction.txt index 27d327cfd..9933c96b8 100644 --- a/docs/proposal-css-extraction.txt +++ b/docs/proposal-css-extraction.txt @@ -30,3 +30,5 @@ Beyond that, HTML Purifier can magically merge common CSS values together, and a whole manner of other heuristic things. HTML Purifier should also make it easy for an admin to re-style the HTML semantically. Speed is not an issue. Also, better WYSIWYG editors are needed. + + vim: et sw=4 sts=4 diff --git a/docs/proposal-errors.txt b/docs/proposal-errors.txt index 1c3db8d5b..87cb2ac19 100644 --- a/docs/proposal-errors.txt +++ b/docs/proposal-errors.txt @@ -207,3 +207,5 @@ Don't forget to spruce up output. - We need a standard CSS to apply (check demo.css for some starting styling; some buttons would also be hip) + + vim: et sw=4 sts=4 diff --git a/docs/proposal-filter-levels.txt b/docs/proposal-filter-levels.txt index 3118c644c..b78b898b4 100644 --- a/docs/proposal-filter-levels.txt +++ b/docs/proposal-filter-levels.txt @@ -133,3 +133,5 @@ Dramatic - border, list-style-position (list-style), margin, padding, Dramatic elements substantially change the look of text in ways that should probably have been reserved to other areas. + + vim: et sw=4 sts=4 diff --git a/docs/proposal-language.txt b/docs/proposal-language.txt index d4e67e9c2..149701cd3 100644 --- a/docs/proposal-language.txt +++ b/docs/proposal-language.txt @@ -60,3 +60,5 @@ Neat functionality: - Roman numeral formatting Items marked with a + likely need to be addressed by HTML Purifier + + vim: et sw=4 sts=4 diff --git a/docs/proposal-new-directives.txt b/docs/proposal-new-directives.txt index c53ee75a2..f54ee2d8d 100644 --- a/docs/proposal-new-directives.txt +++ b/docs/proposal-new-directives.txt @@ -41,3 +41,4 @@ implemented, give us a ring, and we'll move it up the priority chain. absolute DNS. While this is actually the preferred method according to the RFC, most people opt to use a relative domain name relative to . (root). + vim: et sw=4 sts=4 diff --git a/docs/ref-content-models.txt b/docs/ref-content-models.txt index 11d4aca77..19f84d526 100644 --- a/docs/ref-content-models.txt +++ b/docs/ref-content-models.txt @@ -46,3 +46,5 @@ is eliminated completely, in the latter case, the text of the node would is preserved (as the parent node does allow PCDATA). Custom content model implementations probably are not the best way of handling these cases, instead, node bubbling should be implemented instead. + + vim: et sw=4 sts=4 diff --git a/docs/ref-css-length.txt b/docs/ref-css-length.txt index d32ee1085..aa40559e3 100644 --- a/docs/ref-css-length.txt +++ b/docs/ref-css-length.txt @@ -26,3 +26,5 @@ Watch out: font-sizes can also be nested to get successively larger (although I do not relish having to keep track of context font-sizes, this may be necessary, especially for some of the more advanced features for preventing things like white on white). + + vim: et sw=4 sts=4 diff --git a/docs/ref-devnetwork.html b/docs/ref-devnetwork.html index de974bff2..b3f387964 100644 --- a/docs/ref-devnetwork.html +++ b/docs/ref-devnetwork.html @@ -42,3 +42,5 @@

DevNetwork Credits

+ + diff --git a/docs/ref-html-modularization.txt b/docs/ref-html-modularization.txt index 1ac8c4332..d26d30ada 100644 --- a/docs/ref-html-modularization.txt +++ b/docs/ref-html-modularization.txt @@ -162,3 +162,5 @@ array of content set names to content set contents. If the content set already exists, your values are appended on to it (great for, say, registering the font tag as an inline element), otherwise it is created. They are substituted into content_model. + + vim: et sw=4 sts=4 diff --git a/docs/ref-proprietary-tags.txt b/docs/ref-proprietary-tags.txt index 9989e8132..5849eb04d 100644 --- a/docs/ref-proprietary-tags.txt +++ b/docs/ref-proprietary-tags.txt @@ -22,3 +22,5 @@ HTML Purifier context. These should be put into their own Tidy module, not loaded by default(?). These all qualify as "lenient" transforms. + + vim: et sw=4 sts=4 diff --git a/docs/ref-whatwg.txt b/docs/ref-whatwg.txt index 73d21f60c..4bb4984f2 100644 --- a/docs/ref-whatwg.txt +++ b/docs/ref-whatwg.txt @@ -22,3 +22,5 @@ another DirectLex parser, other parsers like ph5p can be adapted to DOMLex to support much more flexible HTML parsing (a cool feature I've seen is how they resolve boldbothitalic). + + vim: et sw=4 sts=4 diff --git a/docs/specimens/LICENSE b/docs/specimens/LICENSE index 8a491ac98..0bfad771e 100644 --- a/docs/specimens/LICENSE +++ b/docs/specimens/LICENSE @@ -6,3 +6,5 @@ windows-live-mail-desktop-beta.html - donated by laacz, public domain img.png - LGPL, from All other files are by me, and are licensed under LGPL. + + vim: et sw=4 sts=4 diff --git a/docs/specimens/html-align-to-css.html b/docs/specimens/html-align-to-css.html index a301bc580..f912d305d 100644 --- a/docs/specimens/html-align-to-css.html +++ b/docs/specimens/html-align-to-css.html @@ -162,4 +162,6 @@

right

- \ No newline at end of file + + + diff --git a/docs/specimens/jochem-blok-word.html b/docs/specimens/jochem-blok-word.html index 1cc08f888..beb86a8ad 100644 --- a/docs/specimens/jochem-blok-word.html +++ b/docs/specimens/jochem-blok-word.html @@ -127,3 +127,5 @@ + + diff --git a/docs/specimens/windows-live-mail-desktop-beta.html b/docs/specimens/windows-live-mail-desktop-beta.html index f1d4faf9e..f2d0620fb 100644 --- a/docs/specimens/windows-live-mail-desktop-beta.html +++ b/docs/specimens/windows-live-mail-desktop-beta.html @@ -71,4 +71,6 @@ title="Join Windows Live to share photos using Windows Live Photo E-mail.">Online pictures are available for 30 days. Get Windows Live Mail desktop to create -your own photo e-mails. \ No newline at end of file +your own photo e-mails. + + diff --git a/docs/style.css b/docs/style.css index 40e732c1c..bd79c8a00 100644 --- a/docs/style.css +++ b/docs/style.css @@ -72,3 +72,5 @@ q:after { .fixme:before {content:"Fix me: "; font-weight:bold; color:#C00; } #applicability {margin: 1em 5%; font-style:italic;} + +/* vim: et sw=4 sts=4 */ diff --git a/extras/ConfigDoc/HTMLXSLTProcessor.php b/extras/ConfigDoc/HTMLXSLTProcessor.php index 151207609..f7095285b 100644 --- a/extras/ConfigDoc/HTMLXSLTProcessor.php +++ b/extras/ConfigDoc/HTMLXSLTProcessor.php @@ -83,3 +83,4 @@ public function __call($name, $arguments) { } +// vim: et sw=4 sts=4 diff --git a/extras/FSTools.php b/extras/FSTools.php index 3b1ebb856..17c35ee6d 100644 --- a/extras/FSTools.php +++ b/extras/FSTools.php @@ -153,3 +153,5 @@ public function __call($name, $args) { } } + +// vim: et sw=4 sts=4 diff --git a/extras/FSTools/File.php b/extras/FSTools/File.php index 59956a756..1c76705d6 100644 --- a/extras/FSTools/File.php +++ b/extras/FSTools/File.php @@ -122,3 +122,5 @@ public function __destruct() { } } + +// vim: et sw=4 sts=4 diff --git a/extras/HTMLPurifierExtras.auto.php b/extras/HTMLPurifierExtras.auto.php index 3a03d2a7d..4016d8afd 100644 --- a/extras/HTMLPurifierExtras.auto.php +++ b/extras/HTMLPurifierExtras.auto.php @@ -7,3 +7,5 @@ set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path() ); require_once 'HTMLPurifierExtras.php'; require_once 'HTMLPurifierExtras.autoload.php'; + +// vim: et sw=4 sts=4 diff --git a/extras/HTMLPurifierExtras.autoload.php b/extras/HTMLPurifierExtras.autoload.php index e1bd27498..4285d62d1 100644 --- a/extras/HTMLPurifierExtras.autoload.php +++ b/extras/HTMLPurifierExtras.autoload.php @@ -21,3 +21,5 @@ function __autoload($class) { return HTMLPurifierExtras::autoload($class); } } + +// vim: et sw=4 sts=4 diff --git a/extras/HTMLPurifierExtras.php b/extras/HTMLPurifierExtras.php index f4e3e8df4..2a0c4d12d 100644 --- a/extras/HTMLPurifierExtras.php +++ b/extras/HTMLPurifierExtras.php @@ -25,3 +25,5 @@ public static function getPath($class) { } } + +// vim: et sw=4 sts=4 diff --git a/extras/README b/extras/README index 9d6fbc320..4bfece79e 100644 --- a/extras/README +++ b/extras/README @@ -28,3 +28,5 @@ the filesystem. It currently consists of two classes: method imaginable one would need. Check the files themselves for more information. + + vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier.auto.php b/library/HTMLPurifier.auto.php index aa3ecdaa5..1960c399f 100644 --- a/library/HTMLPurifier.auto.php +++ b/library/HTMLPurifier.auto.php @@ -7,3 +7,5 @@ set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path() ); require_once 'HTMLPurifier/Bootstrap.php'; require_once 'HTMLPurifier.autoload.php'; + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier.autoload.php b/library/HTMLPurifier.autoload.php index cacbacde0..8d4017640 100644 --- a/library/HTMLPurifier.autoload.php +++ b/library/HTMLPurifier.autoload.php @@ -17,3 +17,5 @@ function __autoload($class) { return HTMLPurifier_Bootstrap::autoload($class); } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier.func.php b/library/HTMLPurifier.func.php index b2e9f8055..56a55b2fe 100644 --- a/library/HTMLPurifier.func.php +++ b/library/HTMLPurifier.func.php @@ -20,3 +20,4 @@ function HTMLPurifier($html, $config = null) { return $purifier->purify($html, $config); } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier.includes.php b/library/HTMLPurifier.includes.php index 56e5effa3..d0b0a7411 100644 --- a/library/HTMLPurifier.includes.php +++ b/library/HTMLPurifier.includes.php @@ -204,3 +204,5 @@ require 'HTMLPurifier/URIScheme/nntp.php'; require 'HTMLPurifier/VarParser/Flexible.php'; require 'HTMLPurifier/VarParser/Native.php'; + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier.kses.php b/library/HTMLPurifier.kses.php index 28314c4d5..24bef74a5 100644 --- a/library/HTMLPurifier.kses.php +++ b/library/HTMLPurifier.kses.php @@ -26,3 +26,5 @@ function kses($string, $allowed_html, $allowed_protocols = null) { $purifier = new HTMLPurifier($config); return $purifier->purify($string); } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier.path.php b/library/HTMLPurifier.path.php index 0368f1ae6..39b1b6531 100644 --- a/library/HTMLPurifier.path.php +++ b/library/HTMLPurifier.path.php @@ -7,3 +7,5 @@ */ set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path() ); + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier.php b/library/HTMLPurifier.php index a94bf5ba1..325bde591 100644 --- a/library/HTMLPurifier.php +++ b/library/HTMLPurifier.php @@ -232,3 +232,5 @@ public static function getInstance($prototype = null) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier.safe-includes.php b/library/HTMLPurifier.safe-includes.php index 7d393036a..2fca3468e 100644 --- a/library/HTMLPurifier.safe-includes.php +++ b/library/HTMLPurifier.safe-includes.php @@ -198,3 +198,5 @@ require_once $__dir . '/HTMLPurifier/URIScheme/nntp.php'; require_once $__dir . '/HTMLPurifier/VarParser/Flexible.php'; require_once $__dir . '/HTMLPurifier/VarParser/Native.php'; + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrCollections.php b/library/HTMLPurifier/AttrCollections.php index cb65aa8b6..555b86d04 100644 --- a/library/HTMLPurifier/AttrCollections.php +++ b/library/HTMLPurifier/AttrCollections.php @@ -125,3 +125,4 @@ public function expandIdentifiers(&$attr, $attr_types) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef.php b/library/HTMLPurifier/AttrDef.php index e2815063e..d32fa62d6 100644 --- a/library/HTMLPurifier/AttrDef.php +++ b/library/HTMLPurifier/AttrDef.php @@ -84,3 +84,4 @@ protected function mungeRgb($string) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS.php b/library/HTMLPurifier/AttrDef/CSS.php index b6a4c3abe..953e70675 100644 --- a/library/HTMLPurifier/AttrDef/CSS.php +++ b/library/HTMLPurifier/AttrDef/CSS.php @@ -84,3 +84,4 @@ public function validate($css, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php b/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php index 9eb3eee82..292c040d4 100644 --- a/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php +++ b/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php @@ -17,3 +17,5 @@ public function validate($number, $config, $context) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Background.php b/library/HTMLPurifier/AttrDef/CSS/Background.php index c698741e5..3a3d20cd6 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Background.php +++ b/library/HTMLPurifier/AttrDef/CSS/Background.php @@ -84,3 +84,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php b/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php index 1dddfcd1f..35df3985e 100644 --- a/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php +++ b/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php @@ -123,3 +123,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Border.php b/library/HTMLPurifier/AttrDef/CSS/Border.php index b3afdb72b..42a1d1b4a 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Border.php +++ b/library/HTMLPurifier/AttrDef/CSS/Border.php @@ -40,3 +40,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Color.php b/library/HTMLPurifier/AttrDef/CSS/Color.php index efaafb350..14c6594b6 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Color.php +++ b/library/HTMLPurifier/AttrDef/CSS/Color.php @@ -75,3 +75,4 @@ public function validate($color, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Composite.php b/library/HTMLPurifier/AttrDef/CSS/Composite.php index 66d670a07..de1289cba 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Composite.php +++ b/library/HTMLPurifier/AttrDef/CSS/Composite.php @@ -35,3 +35,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php b/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php index bbf3f9529..a00586b9b 100644 --- a/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php +++ b/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php @@ -24,3 +24,5 @@ public function validate($string, $config, $context) { return $this->def->validate($string, $config, $context); } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Filter.php b/library/HTMLPurifier/AttrDef/CSS/Filter.php index 1bc6ceb5a..147894b86 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Filter.php +++ b/library/HTMLPurifier/AttrDef/CSS/Filter.php @@ -50,3 +50,5 @@ public function validate($value, $config, $context) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Font.php b/library/HTMLPurifier/AttrDef/CSS/Font.php index 9a621ad41..699ee0b70 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Font.php +++ b/library/HTMLPurifier/AttrDef/CSS/Font.php @@ -146,3 +146,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/FontFamily.php b/library/HTMLPurifier/AttrDef/CSS/FontFamily.php index 494cff739..705ac893d 100644 --- a/library/HTMLPurifier/AttrDef/CSS/FontFamily.php +++ b/library/HTMLPurifier/AttrDef/CSS/FontFamily.php @@ -87,3 +87,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php b/library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php index 84dc795ef..2990cff76 100644 --- a/library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php +++ b/library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php @@ -36,3 +36,5 @@ public function validate($string, $config, $context) { return $string; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Length.php b/library/HTMLPurifier/AttrDef/CSS/Length.php index 5a13a81bc..a07ec5813 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Length.php +++ b/library/HTMLPurifier/AttrDef/CSS/Length.php @@ -44,3 +44,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/ListStyle.php b/library/HTMLPurifier/AttrDef/CSS/ListStyle.php index 8614e6c96..4406868c0 100644 --- a/library/HTMLPurifier/AttrDef/CSS/ListStyle.php +++ b/library/HTMLPurifier/AttrDef/CSS/ListStyle.php @@ -75,3 +75,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Multiple.php b/library/HTMLPurifier/AttrDef/CSS/Multiple.php index d72829a68..4d62a40d7 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Multiple.php +++ b/library/HTMLPurifier/AttrDef/CSS/Multiple.php @@ -55,3 +55,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Number.php b/library/HTMLPurifier/AttrDef/CSS/Number.php index a00aad124..3f99e12ec 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Number.php +++ b/library/HTMLPurifier/AttrDef/CSS/Number.php @@ -66,3 +66,4 @@ public function validate($number, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Percentage.php b/library/HTMLPurifier/AttrDef/CSS/Percentage.php index 025bf0f85..c34b8fc3c 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Percentage.php +++ b/library/HTMLPurifier/AttrDef/CSS/Percentage.php @@ -37,3 +37,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php b/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php index 7cd31f5e5..772c922d8 100644 --- a/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php +++ b/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php @@ -35,3 +35,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/URI.php b/library/HTMLPurifier/AttrDef/CSS/URI.php index edf5e6fb4..435d7930b 100644 --- a/library/HTMLPurifier/AttrDef/CSS/URI.php +++ b/library/HTMLPurifier/AttrDef/CSS/URI.php @@ -53,3 +53,4 @@ public function validate($uri_string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/Enum.php b/library/HTMLPurifier/AttrDef/Enum.php index ae7745418..5d603ebcc 100644 --- a/library/HTMLPurifier/AttrDef/Enum.php +++ b/library/HTMLPurifier/AttrDef/Enum.php @@ -62,3 +62,4 @@ public function make($string) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/Bool.php b/library/HTMLPurifier/AttrDef/HTML/Bool.php index c54d21b8c..e06987eb8 100644 --- a/library/HTMLPurifier/AttrDef/HTML/Bool.php +++ b/library/HTMLPurifier/AttrDef/HTML/Bool.php @@ -25,3 +25,4 @@ public function make($string) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/Color.php b/library/HTMLPurifier/AttrDef/HTML/Color.php index a5138fe81..5311a3c61 100644 --- a/library/HTMLPurifier/AttrDef/HTML/Color.php +++ b/library/HTMLPurifier/AttrDef/HTML/Color.php @@ -29,3 +29,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php b/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php index ae64206a0..bd281a89f 100644 --- a/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php +++ b/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php @@ -18,3 +18,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/ID.php b/library/HTMLPurifier/AttrDef/HTML/ID.php index 2a9dd118f..7c5c169c2 100644 --- a/library/HTMLPurifier/AttrDef/HTML/ID.php +++ b/library/HTMLPurifier/AttrDef/HTML/ID.php @@ -67,3 +67,4 @@ public function validate($id, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/Length.php b/library/HTMLPurifier/AttrDef/HTML/Length.php index 27fb4e793..a242f9c23 100644 --- a/library/HTMLPurifier/AttrDef/HTML/Length.php +++ b/library/HTMLPurifier/AttrDef/HTML/Length.php @@ -38,3 +38,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/LinkTypes.php b/library/HTMLPurifier/AttrDef/HTML/LinkTypes.php index 968bf83ef..8a0da0c89 100644 --- a/library/HTMLPurifier/AttrDef/HTML/LinkTypes.php +++ b/library/HTMLPurifier/AttrDef/HTML/LinkTypes.php @@ -50,3 +50,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/MultiLength.php b/library/HTMLPurifier/AttrDef/HTML/MultiLength.php index dbd818ce8..c72fc76e4 100644 --- a/library/HTMLPurifier/AttrDef/HTML/MultiLength.php +++ b/library/HTMLPurifier/AttrDef/HTML/MultiLength.php @@ -38,3 +38,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php b/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php index 53789d533..55035c4d0 100644 --- a/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php +++ b/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php @@ -45,3 +45,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/Pixels.php b/library/HTMLPurifier/AttrDef/HTML/Pixels.php index 2890ffb56..4cb2c1b85 100644 --- a/library/HTMLPurifier/AttrDef/HTML/Pixels.php +++ b/library/HTMLPurifier/AttrDef/HTML/Pixels.php @@ -45,3 +45,4 @@ public function make($string) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/Integer.php b/library/HTMLPurifier/AttrDef/Integer.php index 3ccce1b5a..d59738d2a 100644 --- a/library/HTMLPurifier/AttrDef/Integer.php +++ b/library/HTMLPurifier/AttrDef/Integer.php @@ -70,3 +70,4 @@ public function validate($integer, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/Lang.php b/library/HTMLPurifier/AttrDef/Lang.php index 73cab4ff5..10e6da56d 100644 --- a/library/HTMLPurifier/AttrDef/Lang.php +++ b/library/HTMLPurifier/AttrDef/Lang.php @@ -70,3 +70,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/Switch.php b/library/HTMLPurifier/AttrDef/Switch.php index 99f5f172b..c9e3ed193 100644 --- a/library/HTMLPurifier/AttrDef/Switch.php +++ b/library/HTMLPurifier/AttrDef/Switch.php @@ -30,3 +30,5 @@ public function validate($string, $config, $context) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/Text.php b/library/HTMLPurifier/AttrDef/Text.php index a3c310163..c6216cc53 100644 --- a/library/HTMLPurifier/AttrDef/Text.php +++ b/library/HTMLPurifier/AttrDef/Text.php @@ -12,3 +12,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/URI.php b/library/HTMLPurifier/AttrDef/URI.php index 63758cf25..93d2f0bbf 100644 --- a/library/HTMLPurifier/AttrDef/URI.php +++ b/library/HTMLPurifier/AttrDef/URI.php @@ -74,4 +74,4 @@ public function validate($uri, $config, $context) { } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/URI/Email.php b/library/HTMLPurifier/AttrDef/URI/Email.php index 9c57ad7c0..bfee9d166 100644 --- a/library/HTMLPurifier/AttrDef/URI/Email.php +++ b/library/HTMLPurifier/AttrDef/URI/Email.php @@ -13,3 +13,5 @@ function unpack($string) { } // sub-implementations + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/URI/Email/SimpleCheck.php b/library/HTMLPurifier/AttrDef/URI/Email/SimpleCheck.php index 33e3b98d9..94c715ab4 100644 --- a/library/HTMLPurifier/AttrDef/URI/Email/SimpleCheck.php +++ b/library/HTMLPurifier/AttrDef/URI/Email/SimpleCheck.php @@ -18,3 +18,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/URI/Host.php b/library/HTMLPurifier/AttrDef/URI/Host.php index a754c7040..2156c10c6 100644 --- a/library/HTMLPurifier/AttrDef/URI/Host.php +++ b/library/HTMLPurifier/AttrDef/URI/Host.php @@ -59,3 +59,4 @@ public function validate($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/URI/IPv4.php b/library/HTMLPurifier/AttrDef/URI/IPv4.php index b3037174e..ec4cf591b 100644 --- a/library/HTMLPurifier/AttrDef/URI/IPv4.php +++ b/library/HTMLPurifier/AttrDef/URI/IPv4.php @@ -36,3 +36,4 @@ protected function _loadRegex() { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/URI/IPv6.php b/library/HTMLPurifier/AttrDef/URI/IPv6.php index cf6068d8f..9454e9be5 100644 --- a/library/HTMLPurifier/AttrDef/URI/IPv6.php +++ b/library/HTMLPurifier/AttrDef/URI/IPv6.php @@ -96,3 +96,4 @@ public function validate($aIP, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform.php b/library/HTMLPurifier/AttrTransform.php index 41594dce0..e61d3e01b 100644 --- a/library/HTMLPurifier/AttrTransform.php +++ b/library/HTMLPurifier/AttrTransform.php @@ -53,3 +53,4 @@ public function confiscateAttr(&$attr, $key) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Background.php b/library/HTMLPurifier/AttrTransform/Background.php index 6dc301f98..0e1ff24a3 100644 --- a/library/HTMLPurifier/AttrTransform/Background.php +++ b/library/HTMLPurifier/AttrTransform/Background.php @@ -20,3 +20,4 @@ public function transform($attr, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/BdoDir.php b/library/HTMLPurifier/AttrTransform/BdoDir.php index 289daaaf2..40310b914 100644 --- a/library/HTMLPurifier/AttrTransform/BdoDir.php +++ b/library/HTMLPurifier/AttrTransform/BdoDir.php @@ -16,3 +16,4 @@ public function transform($attr, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/BgColor.php b/library/HTMLPurifier/AttrTransform/BgColor.php index e3d8d1dfb..ad3916bb9 100644 --- a/library/HTMLPurifier/AttrTransform/BgColor.php +++ b/library/HTMLPurifier/AttrTransform/BgColor.php @@ -20,3 +20,4 @@ public function transform($attr, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/BoolToCSS.php b/library/HTMLPurifier/AttrTransform/BoolToCSS.php index a5efa5b4a..51159b671 100644 --- a/library/HTMLPurifier/AttrTransform/BoolToCSS.php +++ b/library/HTMLPurifier/AttrTransform/BoolToCSS.php @@ -33,3 +33,4 @@ public function transform($attr, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Border.php b/library/HTMLPurifier/AttrTransform/Border.php index a651c4d29..476b0b079 100644 --- a/library/HTMLPurifier/AttrTransform/Border.php +++ b/library/HTMLPurifier/AttrTransform/Border.php @@ -15,3 +15,4 @@ public function transform($attr, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/EnumToCSS.php b/library/HTMLPurifier/AttrTransform/EnumToCSS.php index 0b38a8c64..2a5b4514a 100644 --- a/library/HTMLPurifier/AttrTransform/EnumToCSS.php +++ b/library/HTMLPurifier/AttrTransform/EnumToCSS.php @@ -55,3 +55,4 @@ public function transform($attr, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/ImgRequired.php b/library/HTMLPurifier/AttrTransform/ImgRequired.php index ef89ca97b..25c9403c2 100644 --- a/library/HTMLPurifier/AttrTransform/ImgRequired.php +++ b/library/HTMLPurifier/AttrTransform/ImgRequired.php @@ -39,3 +39,4 @@ public function transform($attr, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/ImgSpace.php b/library/HTMLPurifier/AttrTransform/ImgSpace.php index b22a2687c..fd84c10c3 100644 --- a/library/HTMLPurifier/AttrTransform/ImgSpace.php +++ b/library/HTMLPurifier/AttrTransform/ImgSpace.php @@ -41,3 +41,4 @@ public function transform($attr, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Input.php b/library/HTMLPurifier/AttrTransform/Input.php index c71171a01..16829552d 100644 --- a/library/HTMLPurifier/AttrTransform/Input.php +++ b/library/HTMLPurifier/AttrTransform/Input.php @@ -37,3 +37,4 @@ public function transform($attr, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Lang.php b/library/HTMLPurifier/AttrTransform/Lang.php index 5acc2414f..5869e7f82 100644 --- a/library/HTMLPurifier/AttrTransform/Lang.php +++ b/library/HTMLPurifier/AttrTransform/Lang.php @@ -25,3 +25,4 @@ public function transform($attr, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Length.php b/library/HTMLPurifier/AttrTransform/Length.php index bb5d914eb..ea2f30473 100644 --- a/library/HTMLPurifier/AttrTransform/Length.php +++ b/library/HTMLPurifier/AttrTransform/Length.php @@ -24,3 +24,4 @@ public function transform($attr, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Name.php b/library/HTMLPurifier/AttrTransform/Name.php index aa9f96b88..e6f93aee3 100644 --- a/library/HTMLPurifier/AttrTransform/Name.php +++ b/library/HTMLPurifier/AttrTransform/Name.php @@ -16,3 +16,4 @@ public function transform($attr, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/SafeEmbed.php b/library/HTMLPurifier/AttrTransform/SafeEmbed.php index f2e433df4..4da449981 100644 --- a/library/HTMLPurifier/AttrTransform/SafeEmbed.php +++ b/library/HTMLPurifier/AttrTransform/SafeEmbed.php @@ -11,3 +11,5 @@ public function transform($attr, $config, $context) { return $attr; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/SafeObject.php b/library/HTMLPurifier/AttrTransform/SafeObject.php index 28d1ad687..1ed74898b 100644 --- a/library/HTMLPurifier/AttrTransform/SafeObject.php +++ b/library/HTMLPurifier/AttrTransform/SafeObject.php @@ -12,3 +12,5 @@ function transform($attr, $config, $context) { return $attr; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/SafeParam.php b/library/HTMLPurifier/AttrTransform/SafeParam.php index 626243e79..94e8052a9 100644 --- a/library/HTMLPurifier/AttrTransform/SafeParam.php +++ b/library/HTMLPurifier/AttrTransform/SafeParam.php @@ -46,3 +46,5 @@ public function transform($attr, $config, $context) { return $attr; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/ScriptRequired.php b/library/HTMLPurifier/AttrTransform/ScriptRequired.php index cc18b7e9e..4499050a2 100644 --- a/library/HTMLPurifier/AttrTransform/ScriptRequired.php +++ b/library/HTMLPurifier/AttrTransform/ScriptRequired.php @@ -12,3 +12,5 @@ public function transform($attr, $config, $context) { return $attr; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Textarea.php b/library/HTMLPurifier/AttrTransform/Textarea.php index 624d2ee8d..81ac3488b 100644 --- a/library/HTMLPurifier/AttrTransform/Textarea.php +++ b/library/HTMLPurifier/AttrTransform/Textarea.php @@ -13,4 +13,6 @@ public function transform($attr, $config, $context) { return $attr; } -} \ No newline at end of file +} + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTypes.php b/library/HTMLPurifier/AttrTypes.php index 74bf062d4..6c624bb0b 100644 --- a/library/HTMLPurifier/AttrTypes.php +++ b/library/HTMLPurifier/AttrTypes.php @@ -71,4 +71,4 @@ public function set($type, $impl) { } } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrValidator.php b/library/HTMLPurifier/AttrValidator.php index df21c3ac0..829a0f8f2 100644 --- a/library/HTMLPurifier/AttrValidator.php +++ b/library/HTMLPurifier/AttrValidator.php @@ -159,3 +159,4 @@ public function validateToken(&$token, &$config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Bootstrap.php b/library/HTMLPurifier/Bootstrap.php index eb266231f..559f61a23 100644 --- a/library/HTMLPurifier/Bootstrap.php +++ b/library/HTMLPurifier/Bootstrap.php @@ -94,3 +94,5 @@ public static function registerAutoload() { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/CSSDefinition.php b/library/HTMLPurifier/CSSDefinition.php index 2433cab51..1a1805733 100644 --- a/library/HTMLPurifier/CSSDefinition.php +++ b/library/HTMLPurifier/CSSDefinition.php @@ -289,3 +289,4 @@ protected function setupConfigStuff($config) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef.php b/library/HTMLPurifier/ChildDef.php index 3f5e6652b..ccb6a21df 100644 --- a/library/HTMLPurifier/ChildDef.php +++ b/library/HTMLPurifier/ChildDef.php @@ -45,4 +45,4 @@ public function getNonAutoCloseElements($config) { abstract public function validateChildren($tokens_of_children, $config, $context); } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/Chameleon.php b/library/HTMLPurifier/ChildDef/Chameleon.php index 042c9bb77..15c364ee3 100644 --- a/library/HTMLPurifier/ChildDef/Chameleon.php +++ b/library/HTMLPurifier/ChildDef/Chameleon.php @@ -45,3 +45,4 @@ public function validateChildren($tokens_of_children, $config, $context) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/Custom.php b/library/HTMLPurifier/ChildDef/Custom.php index 444b207c6..b68047b4b 100644 --- a/library/HTMLPurifier/ChildDef/Custom.php +++ b/library/HTMLPurifier/ChildDef/Custom.php @@ -87,3 +87,4 @@ public function validateChildren($tokens_of_children, $config, $context) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/Empty.php b/library/HTMLPurifier/ChildDef/Empty.php index ad4dc0b7c..13171f665 100644 --- a/library/HTMLPurifier/ChildDef/Empty.php +++ b/library/HTMLPurifier/ChildDef/Empty.php @@ -17,3 +17,4 @@ public function validateChildren($tokens_of_children, $config, $context) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/Optional.php b/library/HTMLPurifier/ChildDef/Optional.php index 443c9d06c..32bcb9898 100644 --- a/library/HTMLPurifier/ChildDef/Optional.php +++ b/library/HTMLPurifier/ChildDef/Optional.php @@ -23,3 +23,4 @@ public function validateChildren($tokens_of_children, $config, $context) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/Required.php b/library/HTMLPurifier/ChildDef/Required.php index 0af6d1590..c3e748b26 100644 --- a/library/HTMLPurifier/ChildDef/Required.php +++ b/library/HTMLPurifier/ChildDef/Required.php @@ -114,3 +114,4 @@ public function validateChildren($tokens_of_children, $config, $context) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/StrictBlockquote.php b/library/HTMLPurifier/ChildDef/StrictBlockquote.php index ba2b0d02c..913e32c15 100644 --- a/library/HTMLPurifier/ChildDef/StrictBlockquote.php +++ b/library/HTMLPurifier/ChildDef/StrictBlockquote.php @@ -85,3 +85,4 @@ private function init($config) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/Table.php b/library/HTMLPurifier/ChildDef/Table.php index ced194775..2608497ac 100644 --- a/library/HTMLPurifier/ChildDef/Table.php +++ b/library/HTMLPurifier/ChildDef/Table.php @@ -139,3 +139,4 @@ public function validateChildren($tokens_of_children, $config, $context) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Config.php b/library/HTMLPurifier/Config.php index d2b0d2cda..48848d194 100644 --- a/library/HTMLPurifier/Config.php +++ b/library/HTMLPurifier/Config.php @@ -488,5 +488,4 @@ public function finalize() { } - - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema.php b/library/HTMLPurifier/ConfigSchema.php index 5ce63f432..3e2563c20 100644 --- a/library/HTMLPurifier/ConfigSchema.php +++ b/library/HTMLPurifier/ConfigSchema.php @@ -218,4 +218,4 @@ private static function deprecated($method) { } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php b/library/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php index 164eb3580..987f547bc 100644 --- a/library/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php +++ b/library/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php @@ -48,3 +48,5 @@ public function build($interchange) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Builder/Xml.php b/library/HTMLPurifier/ConfigSchema/Builder/Xml.php index 1e0ed2bb7..51bcab78c 100644 --- a/library/HTMLPurifier/ConfigSchema/Builder/Xml.php +++ b/library/HTMLPurifier/ConfigSchema/Builder/Xml.php @@ -104,3 +104,5 @@ public function buildDirective($directive) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Exception.php b/library/HTMLPurifier/ConfigSchema/Exception.php index a6ec24ae2..2671516c5 100644 --- a/library/HTMLPurifier/ConfigSchema/Exception.php +++ b/library/HTMLPurifier/ConfigSchema/Exception.php @@ -7,3 +7,5 @@ class HTMLPurifier_ConfigSchema_Exception extends HTMLPurifier_Exception { } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Interchange.php b/library/HTMLPurifier/ConfigSchema/Interchange.php index aa7cc9f0a..365c66357 100644 --- a/library/HTMLPurifier/ConfigSchema/Interchange.php +++ b/library/HTMLPurifier/ConfigSchema/Interchange.php @@ -53,3 +53,5 @@ public function validate() { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Interchange/Directive.php b/library/HTMLPurifier/ConfigSchema/Interchange/Directive.php index 24daed674..ac8be0d97 100644 --- a/library/HTMLPurifier/ConfigSchema/Interchange/Directive.php +++ b/library/HTMLPurifier/ConfigSchema/Interchange/Directive.php @@ -73,3 +73,5 @@ class HTMLPurifier_ConfigSchema_Interchange_Directive public $external = array(); } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Interchange/Id.php b/library/HTMLPurifier/ConfigSchema/Interchange/Id.php index 4d5b4cb39..ec01589b6 100644 --- a/library/HTMLPurifier/ConfigSchema/Interchange/Id.php +++ b/library/HTMLPurifier/ConfigSchema/Interchange/Id.php @@ -27,3 +27,5 @@ public static function make($id) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Interchange/Namespace.php b/library/HTMLPurifier/ConfigSchema/Interchange/Namespace.php index 3eed008ef..3ffac0a0f 100644 --- a/library/HTMLPurifier/ConfigSchema/Interchange/Namespace.php +++ b/library/HTMLPurifier/ConfigSchema/Interchange/Namespace.php @@ -17,3 +17,5 @@ class HTMLPurifier_ConfigSchema_Interchange_Namespace public $description; } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/InterchangeBuilder.php b/library/HTMLPurifier/ConfigSchema/InterchangeBuilder.php index 5f781fbcd..a1a24eacb 100644 --- a/library/HTMLPurifier/ConfigSchema/InterchangeBuilder.php +++ b/library/HTMLPurifier/ConfigSchema/InterchangeBuilder.php @@ -173,3 +173,4 @@ protected function _findUnused($hash) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Validator.php b/library/HTMLPurifier/ConfigSchema/Validator.php index 1bd959e8a..2dfd37bae 100644 --- a/library/HTMLPurifier/ConfigSchema/Validator.php +++ b/library/HTMLPurifier/ConfigSchema/Validator.php @@ -221,3 +221,5 @@ protected function getFormattedContext() { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/ValidatorAtom.php b/library/HTMLPurifier/ConfigSchema/ValidatorAtom.php index 80cd11474..b95aea18c 100644 --- a/library/HTMLPurifier/ConfigSchema/ValidatorAtom.php +++ b/library/HTMLPurifier/ConfigSchema/ValidatorAtom.php @@ -63,4 +63,4 @@ protected function error($msg) { } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedFrameTargets.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedFrameTargets.txt index e1d82cf90..249edd647 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedFrameTargets.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedFrameTargets.txt @@ -9,3 +9,4 @@ W3C's recommendation. XHTML 1.0 Strict does not permit the target attribute so this directive will have no effect in that doctype. XHTML 1.1 does not enable the Target module by default, you will have to manually enable it (see the module documentation for more details.) +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRel.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRel.txt index c5cda0f2a..9a8fa6a2e 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRel.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRel.txt @@ -6,3 +6,4 @@ DEFAULT: array() List of allowed forward document relationships in the rel attribute. Common values may be nofollow or print. By default, this is empty, meaning that no document relationships are allowed. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRev.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRev.txt index 89212c856..b01788348 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRev.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRev.txt @@ -6,3 +6,4 @@ DEFAULT: array() List of allowed reverse document relationships in the rev attribute. This attribute is a bit of an edge-case; if you don't know what it is for, stay away. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultImageAlt.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultImageAlt.txt index 4795f6708..533165e17 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultImageAlt.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultImageAlt.txt @@ -8,3 +8,4 @@ previously specified an alt attribute. This applies to all images without a valid alt attribute, as opposed to %Attr.DefaultInvalidImageAlt, which only applies to invalid images, and overrides in the case of an invalid image. Default behavior with null is to use the basename of the src tag for the alt. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImage.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImage.txt index ebd15275e..9eb7e3846 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImage.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImage.txt @@ -6,3 +6,4 @@ This is the default image an img tag will be pointed to if it does not have a valid src attribute. In future versions, we may allow the image tag to be removed completely, but due to design issues, this is not possible right now. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImageAlt.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImageAlt.txt index 883e12e41..2f17bf477 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImageAlt.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImageAlt.txt @@ -5,3 +5,4 @@ DEFAULT: 'Invalid image' This is the content of the alt tag of an invalid image if the user had not previously specified an alt attribute. It has no effect when the image is valid but there was no alt attribute present. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultTextDir.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultTextDir.txt index f138c991b..52654b53a 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultTextDir.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultTextDir.txt @@ -7,3 +7,4 @@ parsed. This generally is the same as the value of the dir attribute in HTML, or ltr if that is not specified. --ALLOWED-- 'ltr', 'rtl' +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.EnableID.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.EnableID.txt index 8803e01f9..6440d2103 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.EnableID.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.EnableID.txt @@ -13,3 +13,4 @@ you use (%Attr.IDBlacklist) or prefixing all user supplied IDs pre-1.2.0 versions. --ALIASES-- HTML.EnableAttrID +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklist.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklist.txt index 7ab584440..5f2b5e3d2 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklist.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklist.txt @@ -2,3 +2,4 @@ Attr.IDBlacklist TYPE: list DEFAULT: array() DESCRIPTION: Array of IDs not allowed in the document. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklistRegexp.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklistRegexp.txt index 2da2e7ab5..6f5824586 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklistRegexp.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklistRegexp.txt @@ -6,3 +6,4 @@ DEFAULT: NULL PCRE regular expression to be matched against all IDs. If the expression is matches, the ID is rejected. Use this with care: may cause significant degradation. ID matching is done after all other validation. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefix.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefix.txt index e5736f686..cc49d43fd 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefix.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefix.txt @@ -9,3 +9,4 @@ that they are still usable, but will not conflict with core page IDs. Example: setting the directive to 'user_' will result in a user submitted 'foo' to become 'user_foo' Be sure to set %HTML.EnableAttrID to true before using this. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt index 4a8b68723..2c5924a7a 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt @@ -11,3 +11,4 @@ clobber each other. Ideal values are unique identifiers for the content it represents (i.e. the id of the row in the database). Be sure to add a seperator (like an underscore) at the end. Warning: this directive will not work unless %Attr.IDPrefix is set to a non-empty value! +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Attr.txt b/library/HTMLPurifier/ConfigSchema/schema/Attr.txt index de0591d37..2d72049d6 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Attr.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Attr.txt @@ -1,2 +1,3 @@ Attr DESCRIPTION: Features regarding attribute validation. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.AutoParagraph.txt b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.AutoParagraph.txt index 1548c1f22..d5caa1bb9 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.AutoParagraph.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.AutoParagraph.txt @@ -28,3 +28,4 @@ DEFAULT: false in div tags (the behavior is slightly different outside of the root node.)

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Custom.txt b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Custom.txt index 90fc5ad7b..2a476481a 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Custom.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Custom.txt @@ -9,4 +9,4 @@ DEFAULT: array() Specify an array of injector names (class name minus the prefix) or concrete implementations. Injector class must exist.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt index 28a157ed4..663064a34 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt @@ -8,3 +8,4 @@ DEFAULT: false those links. For example, example becomes example (http://example.com).

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt index c377e9170..3a48ba960 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt @@ -9,4 +9,4 @@ DEFAULT: false https URLs. a tags with the href attribute must be allowed.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt index cd7f0b8eb..7996488be 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt @@ -9,4 +9,4 @@ DEFAULT: false syntax %Namespace.Directive to links. a tags with the href attribute must be allowed.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt index 9edf0d625..aaede47d6 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt @@ -42,3 +42,4 @@ DEFAULT: false if a tag looked empty on the way end, it will get removed; if HTML Purifier made it empty, it will stay.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.txt b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.txt index c63fb6998..161a52ef4 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.txt @@ -1,2 +1,3 @@ AutoFormat DESCRIPTION: Configuration for activating auto-formatting functionality (also known as Injectors) +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/AutoFormatParam.PurifierLinkifyDocURL.txt b/library/HTMLPurifier/ConfigSchema/schema/AutoFormatParam.PurifierLinkifyDocURL.txt index b7ff83f86..3e8309e39 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/AutoFormatParam.PurifierLinkifyDocURL.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/AutoFormatParam.PurifierLinkifyDocURL.txt @@ -9,4 +9,4 @@ DEFAULT: '#%s' into the configuration's namespace and directive names sans the percent sign.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/AutoFormatParam.txt b/library/HTMLPurifier/ConfigSchema/schema/AutoFormatParam.txt index 95bffcd88..6097a557e 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/AutoFormatParam.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/AutoFormatParam.txt @@ -1,2 +1,3 @@ AutoFormatParam DESCRIPTION: Configuration for customizing auto-formatting functionality +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt b/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt index 68fcde1bc..b324608f7 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt @@ -5,3 +5,4 @@ VERSION: 3.1.0 --DESCRIPTION-- This parameter determines whether or not !important cascade modifiers should be allowed in user CSS. If false, !important will stripped. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt b/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt index 1b4f524b1..748be0eec 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt @@ -8,3 +8,4 @@ values. Tricky CSS properties/values can drastically modify page layout or be used for deceptive practices but do not directly constitute a security risk. For example, display:none; is considered a tricky property that will only be allowed if this directive is set to true. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt b/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt index 6960d562e..460112ebe 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt @@ -15,3 +15,4 @@ DEFAULT: NULL Warning: If another directive conflicts with the elements here, that directive will win and override.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt b/library/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt index 477791a17..5cb7dda3b 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt @@ -8,4 +8,4 @@ DEFAULT: 1 Revision identifier for your custom definition. See %HTML.DefinitionRev for details.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt b/library/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt index 824111e74..7a3291470 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt @@ -13,3 +13,4 @@ VERSION: 3.1.1 subtle differences in the input format (the CSS max is a number with a unit).

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt b/library/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt index 71b9ea471..148eedb8b 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt @@ -7,4 +7,4 @@ DEFAULT: false

Whether or not to allow safe, proprietary CSS values.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/CSS.txt b/library/HTMLPurifier/ConfigSchema/schema/CSS.txt index 8bafc4b3c..d14b49093 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/CSS.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/CSS.txt @@ -1,2 +1,3 @@ CSS DESCRIPTION: Configuration regarding allowed CSS. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt b/library/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt index 92b3bee66..c486724c8 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt @@ -11,3 +11,4 @@ performance degradation). --ALIASES-- Core.DefinitionCache +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt b/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt index 981882eb9..54036507d 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt @@ -10,4 +10,4 @@ DEFAULT: NULL HTML Purifier library inside DefinitionCache/Serializer. This path must be writable by the webserver.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Cache.txt b/library/HTMLPurifier/ConfigSchema/schema/Cache.txt index 6edaae0c4..57f30239a 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Cache.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Cache.txt @@ -1,2 +1,3 @@ Cache DESCRIPTION: Configuration for DefinitionCache and related subclasses. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt index 7fdca4924..568cbf3b3 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt @@ -14,4 +14,5 @@ DEFAULT: true

Notice: This directive's default turned from false to true in HTML Purifier 3.2.0. -

\ No newline at end of file +

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt index 5ab4168a6..d7317911f 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt @@ -9,3 +9,4 @@ is a useful way to give feedback to your users. Warning: Currently this feature is very patchy and experimental, with lots of possible error messages not yet implemented. It will not cause any problems, but it may not help your users either. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt index 6ec36dbbc..08b381d34 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt @@ -25,5 +25,4 @@ array ( Lookup array of color names to six digit hexadecimal number corresponding to color, with preceding hash mark. Used when parsing colors. - - +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt index 3f832c104..64b114fce 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt @@ -11,3 +11,4 @@ processing is not necessary. --ALIASES-- Core.AcceptFullDocuments +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt index 56c213ab0..36f16e07e 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt @@ -14,4 +14,4 @@ DEFAULT: 0 This has no effect when %Core.MaintainLineNumbers is disabled or DirectLex is not being used.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt index ab75dbd99..8bfb47c3a 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt @@ -12,3 +12,4 @@ entities), making it pretty useless for anything except the most I18N-blind applications, although %Core.EscapeNonASCIICharacters offers fixes this trouble with another tradeoff. This directive only accepts ISO-8859-1 if iconv is not enabled. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt index 554d6a249..4d5b5055c 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt @@ -7,3 +7,4 @@ parent element will be transformed into text as if it were ASCII. When false, that element and all internal tags will be dropped, though text will be preserved. There is no option for dropping the element but preserving child nodes. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt index 779a573ec..a7a5b249b 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt @@ -4,3 +4,4 @@ DEFAULT: false --DESCRIPTION-- When true, invalid tags will be written back to the document as plain text. Otherwise, they are silently dropped. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt index 8540c202e..abb499948 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt @@ -10,3 +10,4 @@ can be expressed in the non-UTF-8 encoding will be entity-ized, which can be a real downer for encodings like Big5. It also assumes that the ASCII repetoire is available, although this is the case for almost all encodings. Anyway, use UTF-8! +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt index 51ad8afc6..915391edb 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt @@ -16,4 +16,4 @@ array ( tag, which defines some presentational changes but does not hide its contents.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.Language.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.Language.txt index 38d7e661d..233fca14f 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.Language.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.Language.txt @@ -7,5 +7,4 @@ DEFAULT: 'en' ISO 639 language code for localizable things in HTML Purifier to use, which is mainly error reporting. There is currently only an English (en) translation, so this directive is currently useless. - - +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt index c32a6f651..8983e2cca 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt @@ -31,3 +31,4 @@ implementation) to use it. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt index 85307d35b..eb841a759 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt @@ -13,4 +13,4 @@ DEFAULT: NULL If the value is null, an appropriate value will be selected based on other configuration.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt index c049d4df4..4070c2a0d 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt @@ -9,4 +9,4 @@ VERSION: 1.3.0 tags, as the attribute validation strategy is not authorized to remove elements from the document. Revert to pre-1.3.0 behavior by setting to false.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt index 1d0e9779e..a4cd966df 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt @@ -9,3 +9,4 @@ DEPRECATED-USE: Core.HiddenElements This directive enables HTML Purifier to remove not only script tags but all of their contents.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Core.txt b/library/HTMLPurifier/ConfigSchema/schema/Core.txt index 296982a5d..5edfe0786 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Core.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Core.txt @@ -1,2 +1,3 @@ Core DESCRIPTION: Core features that are always available. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt b/library/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt index 83d9ebc21..3db50ef20 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt @@ -8,3 +8,4 @@ DEFAULT: array() equivalent of the now deprecated HTMLPurifier->addFilter() method. Specify an array of concrete implementations.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt b/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt index 494132208..078d08741 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt @@ -71,3 +71,4 @@ EXTERNAL: CSSTidy height (somewhat reasonable). Whether or not these measures should be used is left to the reader.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt b/library/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt index cbdc0068c..7fa6536b2 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt @@ -8,3 +8,4 @@ DEFAULT: false this document on embedding videos for more information on what this filter does.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Filter.txt b/library/HTMLPurifier/ConfigSchema/schema/Filter.txt index cf5f89cdc..f2d25a1b2 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Filter.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Filter.txt @@ -1,2 +1,3 @@ Filter DESCRIPTION: Directives for turning filters on and off, or specifying custom filters. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksEscaping.txt b/library/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksEscaping.txt index 456101028..d436ed015 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksEscaping.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksEscaping.txt @@ -11,4 +11,4 @@ ALIASES: Filter.ExtractStyleBlocksEscaping if the contents of StyleBlocks will be placed in an external stylesheet, where there is no risk of it being interpreted as HTML.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksScope.txt b/library/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksScope.txt index 366df4456..3943529c7 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksScope.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksScope.txt @@ -26,3 +26,4 @@ ALIASES: Filter.ExtractStyleBlocksScope Purifier, and I am working to get it fixed. Until then, HTML Purifier performs a basic check to prevent this.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksTidyImpl.txt b/library/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksTidyImpl.txt index 78e69cbb5..cafccf8b5 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksTidyImpl.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/FilterParam.ExtractStyleBlocksTidyImpl.txt @@ -12,3 +12,4 @@ DEFAULT: NULL disable cleaning. In addition, you can supply your own concrete implementation of Tidy's interface to use, although I don't know why you'd want to do that.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/FilterParam.txt b/library/HTMLPurifier/ConfigSchema/schema/FilterParam.txt index 8e2bbe7c3..dff9784b1 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/FilterParam.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/FilterParam.txt @@ -1,2 +1,3 @@ FilterParam DESCRIPTION: Configuration for filters. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt index 5fcd12441..3e231d2d1 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt @@ -19,4 +19,4 @@ DEFAULT: NULL broken whitelists. If %HTML.AllowedElements or %HTML.AllowedAttributes are set, this directive has no effect.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt index 04d71ae81..fcf093f17 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt @@ -16,4 +16,4 @@ DEFAULT: NULL directive. You must set that directive to true before you can use IDs at all.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt index 336d5e418..888d55819 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt @@ -15,4 +15,4 @@ DEFAULT: NULL Warning: If another directive conflicts with the elements here, that directive will win and override.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt index cdd782704..5a59a55c0 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt @@ -17,4 +17,4 @@ DEFAULT: NULL by this directive. Modules defined in %HTML.CoreModules are not affected by this directive.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt index d4cfe8549..45ae469ec 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt @@ -15,4 +15,4 @@ DEFAULT: 'p' The <p> tags can be replaced with whatever you desire, as long as it is a block level element.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt index 434586281..524618879 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt @@ -20,4 +20,4 @@ array ( are used. You can set this to a blank array to disable core module protection, but this is not recommended.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt index ee410ff07..a64e3d7c3 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt @@ -6,5 +6,4 @@ DEFAULT: NULL A custom doctype for power-users who defined there own document type. This directive only applies when %HTML.Doctype is blank. - - +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt index 36a3e9dab..103db754a 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt @@ -30,4 +30,4 @@ $def->addAttribute('a', 'tabindex', 'Number'); You must specify a value to this directive to use the advanced API features.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt index e241537a5..229ae0267 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt @@ -13,4 +13,4 @@ DEFAULT: 1 up any older revisions of your definition as well as flush the cache.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt index 051cf20a6..9dab497f2 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt @@ -8,3 +8,4 @@ this name for sake of simplicity. When non-blank, this will override any older directives like %HTML.XHTML or %HTML.Strict. --ALLOWED-- 'HTML 4.01 Transitional', 'HTML 4.01 Strict', 'XHTML 1.0 Transitional', 'XHTML 1.0 Strict', 'XHTML 1.1' +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt index 68c49cd61..57358f9ba 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt @@ -18,3 +18,4 @@ DEFAULT: array() out that directive for a discussion of why you should think twice before using this directive.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt index 1a9c90f4a..93a53e14f 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt @@ -17,3 +17,4 @@ DEFAULT: array() a nasty surprise when people start using the background-image CSS property.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt index 15d8dcecc..e424c386e 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt @@ -10,4 +10,5 @@ VERSION: 3.1.1 This directive is similar to %CSS.MaxImgLength, and both should be concurrently edited, although there are subtle differences in the input format (the HTML max is an integer). -

\ No newline at end of file +

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.Parent.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.Parent.txt index 28105d9c9..62e8e160c 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.Parent.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.Parent.txt @@ -9,4 +9,4 @@ DEFAULT: 'div' inserted in. An interesting variation would be using span as the parent element, meaning that only inline tags would be allowed.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt index 9784c1c42..dfb720496 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt @@ -9,3 +9,4 @@ DEFAULT: false Warning: This can cause your documents to stop validating!

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeEmbed.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeEmbed.txt index 98ed8f9f0..f635a6854 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeEmbed.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeEmbed.txt @@ -10,4 +10,5 @@ DEFAULT: false element and will cause your website to stop validating. You probably want to enable this with %HTML.SafeObject. Highly experimental. -

\ No newline at end of file +

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt index 4e9d9d23b..32967b88f 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt @@ -11,3 +11,4 @@ DEFAULT: false although embed tags will cause your website to stop validating. Highly experimental.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt index c9697bde8..a8b1de56b 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt @@ -6,3 +6,4 @@ DEPRECATED-VERSION: 1.7.0 DEPRECATED-USE: HTML.Doctype --DESCRIPTION-- Determines whether or not to use Transitional (loose) or Strict rulesets. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt index fca9c804d..b4c271b7f 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt @@ -5,4 +5,4 @@ DEFAULT: array() --DESCRIPTION-- Fixes to add to the default set of Tidy fixes as per your level. - +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt index 9383bbaae..4186ccd0d 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt @@ -21,3 +21,4 @@ There are four allowed values:

--ALLOWED-- 'none', 'light', 'medium', 'heavy' +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyRemove.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyRemove.txt index 22704c33f..996762bd1 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyRemove.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyRemove.txt @@ -5,4 +5,4 @@ DEFAULT: array() --DESCRIPTION-- Fixes to remove from the default set of Tidy fixes as per your level. - +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.Trusted.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.Trusted.txt index 0bd414aa6..89133b1a3 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.Trusted.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.Trusted.txt @@ -5,3 +5,4 @@ DEFAULT: false --DESCRIPTION-- Indicates whether or not the user input is trusted or not. If the input is trusted, a more expansive set of allowed tags and attributes will be used. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.XHTML.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.XHTML.txt index 8cca4b052..2a47e384f 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.XHTML.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.XHTML.txt @@ -8,3 +8,4 @@ DEPRECATED-USE: HTML.Doctype Determines whether or not output is XHTML 1.0 or HTML 4.01 flavor. --ALIASES-- Core.XHTML +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/HTML.txt b/library/HTMLPurifier/ConfigSchema/schema/HTML.txt index 935000863..f32ceb5b6 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/HTML.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/HTML.txt @@ -1,2 +1,3 @@ HTML DESCRIPTION: Configuration regarding allowed HTML. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Output.CommentScriptContents.txt b/library/HTMLPurifier/ConfigSchema/schema/Output.CommentScriptContents.txt index 90a3e8745..08921fde7 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Output.CommentScriptContents.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Output.CommentScriptContents.txt @@ -7,3 +7,4 @@ Determines whether or not HTML Purifier should attempt to fix up the contents of script tags for legacy browsers with comments. --ALIASES-- Core.CommentScriptContents +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt b/library/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt index 6d4ca3e62..79f8ad82c 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt @@ -10,4 +10,4 @@ DEFAULT: NULL you can manually override it here. Remember, \r\n is Windows, \r is Mac, and \n is Unix.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt b/library/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt index 5392b3bd5..232b02362 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt @@ -11,3 +11,4 @@ DEFAULT: false to text diffs. If you're not seeing this bug, chances are, you don't need this directive.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Output.TidyFormat.txt b/library/HTMLPurifier/ConfigSchema/schema/Output.TidyFormat.txt index 8c005ca9c..06bab00a0 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Output.TidyFormat.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Output.TidyFormat.txt @@ -22,3 +22,4 @@ DEFAULT: false

--ALIASES-- Core.TidyFormat +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Output.txt b/library/HTMLPurifier/ConfigSchema/schema/Output.txt index abd4b1b39..7849d60d2 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Output.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Output.txt @@ -1,2 +1,3 @@ Output DESCRIPTION: Configuration relating to the generation of (X)HTML. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt b/library/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt index 2cd7067dd..071bc0295 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt @@ -4,3 +4,4 @@ DEFAULT: false --DESCRIPTION-- When set to true, HTMLPurifier_Encoder will act as if iconv does not exist and use only pure PHP implementations. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/Test.txt b/library/HTMLPurifier/ConfigSchema/schema/Test.txt index a9928fec2..5025f9d14 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/Test.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/Test.txt @@ -1,2 +1,3 @@ Test DESCRIPTION: Developer testing configuration for our unit tests. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt index cf1271c0e..98fdfe922 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt @@ -12,3 +12,4 @@ array ( --DESCRIPTION-- Whitelist that defines the schemes that a URI is allowed to have. This prevents XSS attacks from using pseudo-schemes like javascript or mocha. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.Base.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.Base.txt index 04187ef79..876f0680c 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.Base.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.Base.txt @@ -14,4 +14,4 @@ DEFAULT: NULL Warning: If set, the scheme on this URI overrides the one specified by %URI.DefaultScheme.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt index 6fb7602fd..728e378cb 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt @@ -7,4 +7,4 @@ DEFAULT: 'http' Defines through what scheme the output will be served, in order to select the proper object validator when no scheme information is present.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt index dd324a592..f05312ba8 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt @@ -8,4 +8,4 @@ DEFAULT: NULL Unique identifier for a custom-built URI definition. If you want to add custom URIFilters, you must specify this value.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt index 1a0bb8ba0..80cfea93f 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt @@ -8,4 +8,4 @@ DEFAULT: 1 Revision identifier for your custom definition. See %HTML.DefinitionRev for details.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt index a7977d3e2..71ce025a2 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt @@ -11,3 +11,4 @@ DEFAULT: false --ALIASES-- Attr.DisableURI +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt index c6635809f..13c122c8c 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt @@ -8,3 +8,4 @@ and anti-pagerank-leech measure, but comes at a hefty price: nolinks or images outside of your domain will be allowed. Non-linkified URIs will still be preserved. If you want to be able to link to subdomains or use absolute URIs, specify %URI.Host for your website. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt index 27180a23b..abcc1efd6 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt @@ -10,3 +10,4 @@ forging, goatse.cx posting, and other nasties, but also results in a loss of end-user functionality (they can't directly post a pic they posted from Flickr anymore). Use it if you don't have a robust user-content moderation team. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt index 8c41134a7..51e6ea91f 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt @@ -9,4 +9,4 @@ DEFAULT: false still link to them though. See %URI.DisableExternalResources for why this might be a good idea.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.Host.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.Host.txt index 408c03cfd..ee83b121d 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.Host.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.Host.txt @@ -16,4 +16,4 @@ DEFAULT: NULL a given page may be on a sub-domain, but you wish HTML Purifier to be more relaxed and allow some of the parent domains too.

- +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt index dbd680f5c..0b6df7625 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt @@ -6,3 +6,4 @@ DEFAULT: array() List of strings that are forbidden in the host of any URI. Use it to kill domain names of spam, etc. Note that it will catch anything in the domain, so moo.com will catch moo.com.example.com. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt index 0832b2cc6..4214900a5 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt @@ -10,3 +10,4 @@ DEFAULT: false viewed in a different context (and setting an alternate base URI is not possible). %URI.Base must be set for this directive to work.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt index c68d689b9..58c81dcc4 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt @@ -80,3 +80,4 @@ DEFAULT: NULL was picked because it came after n (and I couldn't use a), p is for property.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt index 69b1ea830..6fce0fdc3 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt @@ -14,3 +14,4 @@ DEFAULT: false Warning: It is strongly advised you use this in conjunction %URI.MungeSecretKey to mitigate the security risk of an open redirector.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt index a2f5a02cc..0d00f62ea 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt @@ -27,3 +27,4 @@ DEFAULT: NULL

Remember this has no effect if %URI.Munge is not on.

+--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt index e910ee540..23331a4e7 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt @@ -6,3 +6,4 @@ If this is set to true (which it is by default), you can override %URI.AllowedSchemes by simply registering a HTMLPurifier_URIScheme to the registry. If false, you will also have to update that directive in order to add more schemes. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/URI.txt b/library/HTMLPurifier/ConfigSchema/schema/URI.txt index 4bcdb95b1..a13060f36 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/URI.txt +++ b/library/HTMLPurifier/ConfigSchema/schema/URI.txt @@ -1,2 +1,3 @@ URI DESCRIPTION: Features regarding Uniform Resource Identifiers. +--# vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/schema/info.ini b/library/HTMLPurifier/ConfigSchema/schema/info.ini index cd6718923..5de4505e1 100644 --- a/library/HTMLPurifier/ConfigSchema/schema/info.ini +++ b/library/HTMLPurifier/ConfigSchema/schema/info.ini @@ -1 +1,3 @@ name = "HTML Purifier" + +; vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ContentSets.php b/library/HTMLPurifier/ContentSets.php index 1f6659054..3b6e96f5f 100644 --- a/library/HTMLPurifier/ContentSets.php +++ b/library/HTMLPurifier/ContentSets.php @@ -152,3 +152,4 @@ protected function convertToLookup($string) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Context.php b/library/HTMLPurifier/Context.php index 2b9ec2b37..9ddf0c547 100644 --- a/library/HTMLPurifier/Context.php +++ b/library/HTMLPurifier/Context.php @@ -79,3 +79,4 @@ public function loadArray($context_array) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Definition.php b/library/HTMLPurifier/Definition.php index 71068efa6..a7408c974 100644 --- a/library/HTMLPurifier/Definition.php +++ b/library/HTMLPurifier/Definition.php @@ -36,3 +36,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache.php b/library/HTMLPurifier/DefinitionCache.php index f799a7451..fa5a087bb 100644 --- a/library/HTMLPurifier/DefinitionCache.php +++ b/library/HTMLPurifier/DefinitionCache.php @@ -105,3 +105,4 @@ abstract public function cleanup($config); } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache/Decorator.php b/library/HTMLPurifier/DefinitionCache/Decorator.php index 3fdac0a73..b0fb6d0cd 100644 --- a/library/HTMLPurifier/DefinitionCache/Decorator.php +++ b/library/HTMLPurifier/DefinitionCache/Decorator.php @@ -59,3 +59,4 @@ public function cleanup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php b/library/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php index 0652106c2..d4cc35c4b 100644 --- a/library/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php +++ b/library/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php @@ -40,3 +40,4 @@ public function get($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache/Decorator/Memory.php b/library/HTMLPurifier/DefinitionCache/Decorator/Memory.php index c1407c211..18f16d32b 100644 --- a/library/HTMLPurifier/DefinitionCache/Decorator/Memory.php +++ b/library/HTMLPurifier/DefinitionCache/Decorator/Memory.php @@ -43,3 +43,4 @@ public function get($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache/Decorator/Template.php.in b/library/HTMLPurifier/DefinitionCache/Decorator/Template.php.in index ba141434b..21a8fcfda 100644 --- a/library/HTMLPurifier/DefinitionCache/Decorator/Template.php.in +++ b/library/HTMLPurifier/DefinitionCache/Decorator/Template.php.in @@ -44,3 +44,4 @@ class HTMLPurifier_DefinitionCache_Decorator_Template extends } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache/Null.php b/library/HTMLPurifier/DefinitionCache/Null.php index 6a0101cb2..41d97e734 100644 --- a/library/HTMLPurifier/DefinitionCache/Null.php +++ b/library/HTMLPurifier/DefinitionCache/Null.php @@ -36,3 +36,4 @@ public function cleanup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache/Serializer.php b/library/HTMLPurifier/DefinitionCache/Serializer.php index eba9f7d0f..2c59cc804 100644 --- a/library/HTMLPurifier/DefinitionCache/Serializer.php +++ b/library/HTMLPurifier/DefinitionCache/Serializer.php @@ -169,3 +169,4 @@ private function _testPermissions($dir) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache/Serializer/README b/library/HTMLPurifier/DefinitionCache/Serializer/README index 962b80a34..2e35c1c3d 100644 --- a/library/HTMLPurifier/DefinitionCache/Serializer/README +++ b/library/HTMLPurifier/DefinitionCache/Serializer/README @@ -1 +1,3 @@ This is a dummy file to prevent Git from ignoring this empty directory. + + vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCacheFactory.php b/library/HTMLPurifier/DefinitionCacheFactory.php index dae95350f..3adefbb66 100644 --- a/library/HTMLPurifier/DefinitionCacheFactory.php +++ b/library/HTMLPurifier/DefinitionCacheFactory.php @@ -88,3 +88,4 @@ public function addDecorator($decorator) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Doctype.php b/library/HTMLPurifier/Doctype.php index cfc6556ab..1e3c574c0 100644 --- a/library/HTMLPurifier/Doctype.php +++ b/library/HTMLPurifier/Doctype.php @@ -57,3 +57,4 @@ public function __construct($name = null, $xml = true, $modules = array(), } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DoctypeRegistry.php b/library/HTMLPurifier/DoctypeRegistry.php index 54b407014..d6552aa55 100644 --- a/library/HTMLPurifier/DoctypeRegistry.php +++ b/library/HTMLPurifier/DoctypeRegistry.php @@ -100,3 +100,4 @@ public function getDoctypeFromConfig($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ElementDef.php b/library/HTMLPurifier/ElementDef.php index d89c813ea..68b50b953 100644 --- a/library/HTMLPurifier/ElementDef.php +++ b/library/HTMLPurifier/ElementDef.php @@ -158,4 +158,4 @@ private function _mergeAssocArray(&$a1, $a2) { } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Encoder.php b/library/HTMLPurifier/Encoder.php index 6e9c5d48e..79a42d26e 100644 --- a/library/HTMLPurifier/Encoder.php +++ b/library/HTMLPurifier/Encoder.php @@ -423,3 +423,4 @@ public static function testEncodingSupportsASCII($encoding, $bypass = false) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/EntityLookup.php b/library/HTMLPurifier/EntityLookup.php index 0d52e916a..b4dfce94c 100644 --- a/library/HTMLPurifier/EntityLookup.php +++ b/library/HTMLPurifier/EntityLookup.php @@ -41,3 +41,4 @@ public static function instance($prototype = false) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/EntityParser.php b/library/HTMLPurifier/EntityParser.php index 6ca02aa92..8c384472d 100644 --- a/library/HTMLPurifier/EntityParser.php +++ b/library/HTMLPurifier/EntityParser.php @@ -141,3 +141,4 @@ protected function specialEntityCallback($matches) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ErrorCollector.php b/library/HTMLPurifier/ErrorCollector.php index 1a1fa0264..6713eaf77 100644 --- a/library/HTMLPurifier/ErrorCollector.php +++ b/library/HTMLPurifier/ErrorCollector.php @@ -206,3 +206,4 @@ private function _renderStruct(&$ret, $struct, $line = null, $col = null) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ErrorStruct.php b/library/HTMLPurifier/ErrorStruct.php index 9b323293e..9bc8996ec 100644 --- a/library/HTMLPurifier/ErrorStruct.php +++ b/library/HTMLPurifier/ErrorStruct.php @@ -56,3 +56,5 @@ public function addError($severity, $message) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Exception.php b/library/HTMLPurifier/Exception.php index e0417d9f8..be85b4c56 100644 --- a/library/HTMLPurifier/Exception.php +++ b/library/HTMLPurifier/Exception.php @@ -9,3 +9,4 @@ class HTMLPurifier_Exception extends Exception } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Filter.php b/library/HTMLPurifier/Filter.php index 3222eba8b..9a0e7b09f 100644 --- a/library/HTMLPurifier/Filter.php +++ b/library/HTMLPurifier/Filter.php @@ -43,3 +43,4 @@ public function postFilter($html, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Filter/ExtractStyleBlocks.php b/library/HTMLPurifier/Filter/ExtractStyleBlocks.php index 84ce1e5d4..970f9e0c9 100644 --- a/library/HTMLPurifier/Filter/ExtractStyleBlocks.php +++ b/library/HTMLPurifier/Filter/ExtractStyleBlocks.php @@ -132,3 +132,4 @@ public function cleanCSS($css, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Filter/YouTube.php b/library/HTMLPurifier/Filter/YouTube.php index ed6ee8921..df20d09f2 100644 --- a/library/HTMLPurifier/Filter/YouTube.php +++ b/library/HTMLPurifier/Filter/YouTube.php @@ -29,3 +29,4 @@ public function postFilter($html, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Generator.php b/library/HTMLPurifier/Generator.php index ab77dfcf4..a1b96b9e4 100644 --- a/library/HTMLPurifier/Generator.php +++ b/library/HTMLPurifier/Generator.php @@ -180,3 +180,4 @@ public function escape($string, $quote = ENT_COMPAT) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLDefinition.php b/library/HTMLPurifier/HTMLDefinition.php index c5d0826f5..3368821c7 100644 --- a/library/HTMLPurifier/HTMLDefinition.php +++ b/library/HTMLPurifier/HTMLDefinition.php @@ -417,4 +417,4 @@ public function parseTinyMCEAllowedList($list) { } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule.php b/library/HTMLPurifier/HTMLModule.php index 1b550d648..072cf6808 100644 --- a/library/HTMLPurifier/HTMLModule.php +++ b/library/HTMLPurifier/HTMLModule.php @@ -241,3 +241,4 @@ public function setup($config) {} } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Bdo.php b/library/HTMLPurifier/HTMLModule/Bdo.php index 55ff12b1d..3d66f1b4e 100644 --- a/library/HTMLPurifier/HTMLModule/Bdo.php +++ b/library/HTMLPurifier/HTMLModule/Bdo.php @@ -28,3 +28,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/CommonAttributes.php b/library/HTMLPurifier/HTMLModule/CommonAttributes.php index f2dddc6e2..fdf7b3239 100644 --- a/library/HTMLPurifier/HTMLModule/CommonAttributes.php +++ b/library/HTMLPurifier/HTMLModule/CommonAttributes.php @@ -22,3 +22,4 @@ class HTMLPurifier_HTMLModule_CommonAttributes extends HTMLPurifier_HTMLModule ); } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Edit.php b/library/HTMLPurifier/HTMLModule/Edit.php index ab6702a4b..ff9369055 100644 --- a/library/HTMLPurifier/HTMLModule/Edit.php +++ b/library/HTMLPurifier/HTMLModule/Edit.php @@ -35,3 +35,4 @@ public function getChildDef($def) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Forms.php b/library/HTMLPurifier/HTMLModule/Forms.php index b2ebdf128..44c22f6f8 100644 --- a/library/HTMLPurifier/HTMLModule/Forms.php +++ b/library/HTMLPurifier/HTMLModule/Forms.php @@ -115,3 +115,4 @@ public function setup($config) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Hypertext.php b/library/HTMLPurifier/HTMLModule/Hypertext.php index bacc7f7b5..2e1088a19 100644 --- a/library/HTMLPurifier/HTMLModule/Hypertext.php +++ b/library/HTMLPurifier/HTMLModule/Hypertext.php @@ -27,3 +27,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Image.php b/library/HTMLPurifier/HTMLModule/Image.php index 440ca052c..e6ed53aea 100644 --- a/library/HTMLPurifier/HTMLModule/Image.php +++ b/library/HTMLPurifier/HTMLModule/Image.php @@ -37,3 +37,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Legacy.php b/library/HTMLPurifier/HTMLModule/Legacy.php index bc7ac2b52..e888b765e 100644 --- a/library/HTMLPurifier/HTMLModule/Legacy.php +++ b/library/HTMLPurifier/HTMLModule/Legacy.php @@ -134,3 +134,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/List.php b/library/HTMLPurifier/HTMLModule/List.php index ff5be31b0..1d15f2729 100644 --- a/library/HTMLPurifier/HTMLModule/List.php +++ b/library/HTMLPurifier/HTMLModule/List.php @@ -32,3 +32,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Name.php b/library/HTMLPurifier/HTMLModule/Name.php index 5bf51bbc3..d908a0ada 100644 --- a/library/HTMLPurifier/HTMLModule/Name.php +++ b/library/HTMLPurifier/HTMLModule/Name.php @@ -14,3 +14,5 @@ public function setup($config) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/NonXMLCommonAttributes.php b/library/HTMLPurifier/HTMLModule/NonXMLCommonAttributes.php index 3a733c190..5f1b14abb 100644 --- a/library/HTMLPurifier/HTMLModule/NonXMLCommonAttributes.php +++ b/library/HTMLPurifier/HTMLModule/NonXMLCommonAttributes.php @@ -11,3 +11,4 @@ class HTMLPurifier_HTMLModule_NonXMLCommonAttributes extends HTMLPurifier_HTMLMo ); } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Object.php b/library/HTMLPurifier/HTMLModule/Object.php index 97c2e1bce..193c1011f 100644 --- a/library/HTMLPurifier/HTMLModule/Object.php +++ b/library/HTMLPurifier/HTMLModule/Object.php @@ -44,3 +44,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Presentation.php b/library/HTMLPurifier/HTMLModule/Presentation.php index dbe266f83..89b9ad0c6 100644 --- a/library/HTMLPurifier/HTMLModule/Presentation.php +++ b/library/HTMLPurifier/HTMLModule/Presentation.php @@ -28,3 +28,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Proprietary.php b/library/HTMLPurifier/HTMLModule/Proprietary.php index 4d0b164e1..dd36a3de0 100644 --- a/library/HTMLPurifier/HTMLModule/Proprietary.php +++ b/library/HTMLPurifier/HTMLModule/Proprietary.php @@ -30,3 +30,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Ruby.php b/library/HTMLPurifier/HTMLModule/Ruby.php index a7675938c..b26a0a30a 100644 --- a/library/HTMLPurifier/HTMLModule/Ruby.php +++ b/library/HTMLPurifier/HTMLModule/Ruby.php @@ -24,3 +24,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/SafeEmbed.php b/library/HTMLPurifier/HTMLModule/SafeEmbed.php index 5cd0a5b79..635e8f2d2 100644 --- a/library/HTMLPurifier/HTMLModule/SafeEmbed.php +++ b/library/HTMLPurifier/HTMLModule/SafeEmbed.php @@ -29,3 +29,5 @@ public function setup($config) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/SafeObject.php b/library/HTMLPurifier/HTMLModule/SafeObject.php index f43450750..bbda7a214 100644 --- a/library/HTMLPurifier/HTMLModule/SafeObject.php +++ b/library/HTMLPurifier/HTMLModule/SafeObject.php @@ -46,3 +46,5 @@ public function setup($config) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Scripting.php b/library/HTMLPurifier/HTMLModule/Scripting.php index 78c04be66..cecdea6c3 100644 --- a/library/HTMLPurifier/HTMLModule/Scripting.php +++ b/library/HTMLPurifier/HTMLModule/Scripting.php @@ -51,3 +51,4 @@ public function setup($config) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/StyleAttribute.php b/library/HTMLPurifier/HTMLModule/StyleAttribute.php index d09bcb8a5..eb78464cc 100644 --- a/library/HTMLPurifier/HTMLModule/StyleAttribute.php +++ b/library/HTMLPurifier/HTMLModule/StyleAttribute.php @@ -21,3 +21,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tables.php b/library/HTMLPurifier/HTMLModule/Tables.php index ca17c7633..f314ced3f 100644 --- a/library/HTMLPurifier/HTMLModule/Tables.php +++ b/library/HTMLPurifier/HTMLModule/Tables.php @@ -63,3 +63,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Target.php b/library/HTMLPurifier/HTMLModule/Target.php index 81677eebb..2b844ecc4 100644 --- a/library/HTMLPurifier/HTMLModule/Target.php +++ b/library/HTMLPurifier/HTMLModule/Target.php @@ -20,3 +20,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Text.php b/library/HTMLPurifier/HTMLModule/Text.php index 585117b4f..884c9e140 100644 --- a/library/HTMLPurifier/HTMLModule/Text.php +++ b/library/HTMLPurifier/HTMLModule/Text.php @@ -60,3 +60,4 @@ public function setup($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tidy.php b/library/HTMLPurifier/HTMLModule/Tidy.php index 3a0347123..c9d470648 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy.php +++ b/library/HTMLPurifier/HTMLModule/Tidy.php @@ -204,4 +204,4 @@ public function makeFixes() {} } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tidy/Name.php b/library/HTMLPurifier/HTMLModule/Tidy/Name.php index 63a6b41e7..61ff85ce2 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy/Name.php +++ b/library/HTMLPurifier/HTMLModule/Tidy/Name.php @@ -21,3 +21,4 @@ public function makeFixes() { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tidy/Proprietary.php b/library/HTMLPurifier/HTMLModule/Tidy/Proprietary.php index 0e9e24f30..85fa90a94 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy/Proprietary.php +++ b/library/HTMLPurifier/HTMLModule/Tidy/Proprietary.php @@ -20,3 +20,4 @@ public function makeFixes() { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tidy/Strict.php b/library/HTMLPurifier/HTMLModule/Tidy/Strict.php index bcd82889a..c73dc3c4d 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy/Strict.php +++ b/library/HTMLPurifier/HTMLModule/Tidy/Strict.php @@ -17,3 +17,5 @@ public function getChildDef($def) { return new HTMLPurifier_ChildDef_StrictBlockquote($def->content_model); } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tidy/Transitional.php b/library/HTMLPurifier/HTMLModule/Tidy/Transitional.php index 5a0e11700..9960b1dd1 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy/Transitional.php +++ b/library/HTMLPurifier/HTMLModule/Tidy/Transitional.php @@ -6,3 +6,4 @@ class HTMLPurifier_HTMLModule_Tidy_Transitional extends HTMLPurifier_HTMLModule_ public $defaultLevel = 'heavy'; } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tidy/XHTML.php b/library/HTMLPurifier/HTMLModule/Tidy/XHTML.php index 9bda9f908..db5a378e5 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy/XHTML.php +++ b/library/HTMLPurifier/HTMLModule/Tidy/XHTML.php @@ -14,3 +14,4 @@ public function makeFixes() { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php b/library/HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php index c1b89e42f..02e943813 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php +++ b/library/HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php @@ -158,3 +158,4 @@ public function makeFixes() { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/XMLCommonAttributes.php b/library/HTMLPurifier/HTMLModule/XMLCommonAttributes.php index 46e614764..9c0e03198 100644 --- a/library/HTMLPurifier/HTMLModule/XMLCommonAttributes.php +++ b/library/HTMLPurifier/HTMLModule/XMLCommonAttributes.php @@ -11,3 +11,4 @@ class HTMLPurifier_HTMLModule_XMLCommonAttributes extends HTMLPurifier_HTMLModul ); } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModuleManager.php b/library/HTMLPurifier/HTMLModuleManager.php index 5c75301df..78f38781d 100644 --- a/library/HTMLPurifier/HTMLModuleManager.php +++ b/library/HTMLPurifier/HTMLModuleManager.php @@ -400,4 +400,4 @@ public function getElement($name, $trusted = null) { } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/IDAccumulator.php b/library/HTMLPurifier/IDAccumulator.php index 332cd7690..d546cd751 100644 --- a/library/HTMLPurifier/IDAccumulator.php +++ b/library/HTMLPurifier/IDAccumulator.php @@ -50,3 +50,4 @@ public function load($array_of_ids) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector.php b/library/HTMLPurifier/Injector.php index dc13b676c..bc093b805 100644 --- a/library/HTMLPurifier/Injector.php +++ b/library/HTMLPurifier/Injector.php @@ -230,3 +230,4 @@ public function notifyEnd($token) {} } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector/AutoParagraph.php b/library/HTMLPurifier/Injector/AutoParagraph.php index 35a13b179..8cc952549 100644 --- a/library/HTMLPurifier/Injector/AutoParagraph.php +++ b/library/HTMLPurifier/Injector/AutoParagraph.php @@ -337,3 +337,4 @@ private function _checkNeedsP($current) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector/DisplayLinkURI.php b/library/HTMLPurifier/Injector/DisplayLinkURI.php index 92021b6ea..9dce9bd08 100644 --- a/library/HTMLPurifier/Injector/DisplayLinkURI.php +++ b/library/HTMLPurifier/Injector/DisplayLinkURI.php @@ -21,4 +21,6 @@ public function handleEnd(&$token) { // nothing to display } } -} \ No newline at end of file +} + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector/Linkify.php b/library/HTMLPurifier/Injector/Linkify.php index f925ec410..296dac282 100644 --- a/library/HTMLPurifier/Injector/Linkify.php +++ b/library/HTMLPurifier/Injector/Linkify.php @@ -43,3 +43,4 @@ public function handleText(&$token) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector/PurifierLinkify.php b/library/HTMLPurifier/Injector/PurifierLinkify.php index cc6c691e7..3c706a33a 100644 --- a/library/HTMLPurifier/Injector/PurifierLinkify.php +++ b/library/HTMLPurifier/Injector/PurifierLinkify.php @@ -42,3 +42,4 @@ public function handleText(&$token) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector/RemoveEmpty.php b/library/HTMLPurifier/Injector/RemoveEmpty.php index 5e0f5d51d..d85ca97d9 100644 --- a/library/HTMLPurifier/Injector/RemoveEmpty.php +++ b/library/HTMLPurifier/Injector/RemoveEmpty.php @@ -38,3 +38,5 @@ public function handleElement(&$token) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector/SafeObject.php b/library/HTMLPurifier/Injector/SafeObject.php index 35618e8d0..341582868 100644 --- a/library/HTMLPurifier/Injector/SafeObject.php +++ b/library/HTMLPurifier/Injector/SafeObject.php @@ -84,3 +84,4 @@ public function handleEnd(&$token) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Language.php b/library/HTMLPurifier/Language.php index 40d47285b..3e2be03b5 100644 --- a/library/HTMLPurifier/Language.php +++ b/library/HTMLPurifier/Language.php @@ -160,3 +160,4 @@ public function formatMessage($key, $args = array()) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Language/classes/en-x-test.php b/library/HTMLPurifier/Language/classes/en-x-test.php index 238fb3450..d52fcb7ac 100644 --- a/library/HTMLPurifier/Language/classes/en-x-test.php +++ b/library/HTMLPurifier/Language/classes/en-x-test.php @@ -9,3 +9,4 @@ class HTMLPurifier_Language_en_x_test extends HTMLPurifier_Language } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Language/messages/en-x-test.php b/library/HTMLPurifier/Language/messages/en-x-test.php index 3eac9ec65..1c046f379 100644 --- a/library/HTMLPurifier/Language/messages/en-x-test.php +++ b/library/HTMLPurifier/Language/messages/en-x-test.php @@ -8,3 +8,4 @@ 'HTMLPurifier' => 'HTML Purifier X' ); +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Language/messages/en-x-testmini.php b/library/HTMLPurifier/Language/messages/en-x-testmini.php index 4b16cd20a..806c83fbf 100644 --- a/library/HTMLPurifier/Language/messages/en-x-testmini.php +++ b/library/HTMLPurifier/Language/messages/en-x-testmini.php @@ -9,3 +9,4 @@ 'HTMLPurifier' => 'HTML Purifier XNone' ); +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Language/messages/en.php b/library/HTMLPurifier/Language/messages/en.php index 212acd822..04496af99 100644 --- a/library/HTMLPurifier/Language/messages/en.php +++ b/library/HTMLPurifier/Language/messages/en.php @@ -58,3 +58,4 @@ E_NOTICE => 'Notice' ); +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/LanguageFactory.php b/library/HTMLPurifier/LanguageFactory.php index f5047ce12..baa4422eb 100644 --- a/library/HTMLPurifier/LanguageFactory.php +++ b/library/HTMLPurifier/LanguageFactory.php @@ -195,3 +195,4 @@ public function loadLanguage($code) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Length.php b/library/HTMLPurifier/Length.php index cf3a8ab6a..8d2a46b7d 100644 --- a/library/HTMLPurifier/Length.php +++ b/library/HTMLPurifier/Length.php @@ -111,3 +111,5 @@ public function compareTo($l) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Lexer.php b/library/HTMLPurifier/Lexer.php index 81d4723b8..945886998 100644 --- a/library/HTMLPurifier/Lexer.php +++ b/library/HTMLPurifier/Lexer.php @@ -295,3 +295,4 @@ public function extractBody($html) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Lexer/DOMLex.php b/library/HTMLPurifier/Lexer/DOMLex.php index 41ee0cf68..0db3974bf 100644 --- a/library/HTMLPurifier/Lexer/DOMLex.php +++ b/library/HTMLPurifier/Lexer/DOMLex.php @@ -210,3 +210,4 @@ protected function wrapHTML($html, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Lexer/DirectLex.php b/library/HTMLPurifier/Lexer/DirectLex.php index 503bd1584..bfca4533d 100644 --- a/library/HTMLPurifier/Lexer/DirectLex.php +++ b/library/HTMLPurifier/Lexer/DirectLex.php @@ -487,3 +487,4 @@ public function parseAttributeString($string, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Lexer/PEARSax3.php b/library/HTMLPurifier/Lexer/PEARSax3.php index 9d9779b38..57cffa82a 100644 --- a/library/HTMLPurifier/Lexer/PEARSax3.php +++ b/library/HTMLPurifier/Lexer/PEARSax3.php @@ -103,3 +103,4 @@ public function escapeHandler(&$parser, $data) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/PercentEncoder.php b/library/HTMLPurifier/PercentEncoder.php index dfaeb3391..a43c44f4c 100644 --- a/library/HTMLPurifier/PercentEncoder.php +++ b/library/HTMLPurifier/PercentEncoder.php @@ -95,3 +95,4 @@ public function normalize($string) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Printer.php b/library/HTMLPurifier/Printer.php index 989e42343..ee5b33e7c 100644 --- a/library/HTMLPurifier/Printer.php +++ b/library/HTMLPurifier/Printer.php @@ -165,3 +165,4 @@ protected function getClass($obj, $sec_prefix = '') { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Printer/CSSDefinition.php b/library/HTMLPurifier/Printer/CSSDefinition.php index 694bb9033..81f986590 100644 --- a/library/HTMLPurifier/Printer/CSSDefinition.php +++ b/library/HTMLPurifier/Printer/CSSDefinition.php @@ -35,3 +35,4 @@ public function render($config) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Printer/ConfigForm.css b/library/HTMLPurifier/Printer/ConfigForm.css index 0653bbb0c..3ff1a88aa 100644 --- a/library/HTMLPurifier/Printer/ConfigForm.css +++ b/library/HTMLPurifier/Printer/ConfigForm.css @@ -6,3 +6,5 @@ .hp-config .namespace th {text-align:center;} .hp-config .verbose {display:none;} .hp-config .controls {text-align:center;} + +/* vim: et sw=4 sts=4 */ diff --git a/library/HTMLPurifier/Printer/ConfigForm.js b/library/HTMLPurifier/Printer/ConfigForm.js index 119ca4a04..cba00c9b8 100644 --- a/library/HTMLPurifier/Printer/ConfigForm.js +++ b/library/HTMLPurifier/Printer/ConfigForm.js @@ -1,3 +1,5 @@ function toggleWriteability(id_of_patient, checked) { document.getElementById(id_of_patient).disabled = checked; -} \ No newline at end of file +} + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Printer/ConfigForm.php b/library/HTMLPurifier/Printer/ConfigForm.php index df76ed351..744dec659 100644 --- a/library/HTMLPurifier/Printer/ConfigForm.php +++ b/library/HTMLPurifier/Printer/ConfigForm.php @@ -365,3 +365,4 @@ public function render($ns, $directive, $value, $name, $config) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Printer/HTMLDefinition.php b/library/HTMLPurifier/Printer/HTMLDefinition.php index 00c01927e..8a8f126b8 100644 --- a/library/HTMLPurifier/Printer/HTMLDefinition.php +++ b/library/HTMLPurifier/Printer/HTMLDefinition.php @@ -269,3 +269,4 @@ protected function heavyHeader($text, $num = 1) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/PropertyList.php b/library/HTMLPurifier/PropertyList.php index 4faeadfea..247eb3b98 100644 --- a/library/HTMLPurifier/PropertyList.php +++ b/library/HTMLPurifier/PropertyList.php @@ -70,3 +70,5 @@ public function setParent($plist) { $this->parent = $plist; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/PropertyListIterator.php b/library/HTMLPurifier/PropertyListIterator.php index b7e5d99a3..8f250443e 100644 --- a/library/HTMLPurifier/PropertyListIterator.php +++ b/library/HTMLPurifier/PropertyListIterator.php @@ -28,3 +28,5 @@ public function accept() { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy.php b/library/HTMLPurifier/Strategy.php index 844322f23..246286521 100644 --- a/library/HTMLPurifier/Strategy.php +++ b/library/HTMLPurifier/Strategy.php @@ -23,3 +23,4 @@ abstract public function execute($tokens, $config, $context); } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy/Composite.php b/library/HTMLPurifier/Strategy/Composite.php index a58203607..816490b79 100644 --- a/library/HTMLPurifier/Strategy/Composite.php +++ b/library/HTMLPurifier/Strategy/Composite.php @@ -22,3 +22,4 @@ public function execute($tokens, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy/Core.php b/library/HTMLPurifier/Strategy/Core.php index f3ef671dc..d90e15860 100644 --- a/library/HTMLPurifier/Strategy/Core.php +++ b/library/HTMLPurifier/Strategy/Core.php @@ -15,3 +15,4 @@ public function __construct() { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy/FixNesting.php b/library/HTMLPurifier/Strategy/FixNesting.php index 3d8413d9e..f81802391 100644 --- a/library/HTMLPurifier/Strategy/FixNesting.php +++ b/library/HTMLPurifier/Strategy/FixNesting.php @@ -325,4 +325,4 @@ public function execute($tokens, $config, $context) { } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy/MakeWellFormed.php b/library/HTMLPurifier/Strategy/MakeWellFormed.php index 4800c398b..e04b82657 100644 --- a/library/HTMLPurifier/Strategy/MakeWellFormed.php +++ b/library/HTMLPurifier/Strategy/MakeWellFormed.php @@ -429,3 +429,4 @@ private function swap($token) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy/RemoveForeignElements.php b/library/HTMLPurifier/Strategy/RemoveForeignElements.php index 4c4adc2a5..d30e456db 100644 --- a/library/HTMLPurifier/Strategy/RemoveForeignElements.php +++ b/library/HTMLPurifier/Strategy/RemoveForeignElements.php @@ -168,3 +168,4 @@ public function execute($tokens, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy/ValidateAttributes.php b/library/HTMLPurifier/Strategy/ValidateAttributes.php index 23fe5c39f..c3328a9d4 100644 --- a/library/HTMLPurifier/Strategy/ValidateAttributes.php +++ b/library/HTMLPurifier/Strategy/ValidateAttributes.php @@ -36,3 +36,4 @@ public function execute($tokens, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/StringHash.php b/library/HTMLPurifier/StringHash.php index e1aec1f22..62085c5c2 100644 --- a/library/HTMLPurifier/StringHash.php +++ b/library/HTMLPurifier/StringHash.php @@ -35,3 +35,5 @@ public function resetAccessed() { $this->accessed = array(); } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/StringHashParser.php b/library/HTMLPurifier/StringHashParser.php index 6ee2d4eb1..f3e70c712 100644 --- a/library/HTMLPurifier/StringHashParser.php +++ b/library/HTMLPurifier/StringHashParser.php @@ -75,7 +75,10 @@ protected function parseHandle($fh) { $line = rtrim($line, "\n\r"); if (!$state && $line === '') continue; if ($line === '----') break; - if (strncmp('--', $line, 2) === 0) { + if (strncmp('--#', $line, 3) === 0) { + // Comment + continue; + } elseif (strncmp('--', $line, 2) === 0) { // Multiline declaration $state = trim($line, '- '); if (!isset($ret[$state])) $ret[$state] = ''; @@ -103,3 +106,5 @@ protected function parseHandle($fh) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/TagTransform.php b/library/HTMLPurifier/TagTransform.php index 7399b54fe..210a44721 100644 --- a/library/HTMLPurifier/TagTransform.php +++ b/library/HTMLPurifier/TagTransform.php @@ -33,3 +33,4 @@ protected function prependCSS(&$attr, $css) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/TagTransform/Font.php b/library/HTMLPurifier/TagTransform/Font.php index c3bb8b69c..0822a9f56 100644 --- a/library/HTMLPurifier/TagTransform/Font.php +++ b/library/HTMLPurifier/TagTransform/Font.php @@ -90,3 +90,4 @@ public function transform($tag, $config, $context) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/TagTransform/Simple.php b/library/HTMLPurifier/TagTransform/Simple.php index d61d429b3..0e36130f2 100644 --- a/library/HTMLPurifier/TagTransform/Simple.php +++ b/library/HTMLPurifier/TagTransform/Simple.php @@ -32,3 +32,4 @@ public function transform($tag, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Token.php b/library/HTMLPurifier/Token.php index 072b1b33a..a96a1eb1b 100644 --- a/library/HTMLPurifier/Token.php +++ b/library/HTMLPurifier/Token.php @@ -52,3 +52,5 @@ public function rawPosition($l, $c) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Token/Comment.php b/library/HTMLPurifier/Token/Comment.php index d32c91614..963e0a90e 100644 --- a/library/HTMLPurifier/Token/Comment.php +++ b/library/HTMLPurifier/Token/Comment.php @@ -18,3 +18,4 @@ public function __construct($data, $line = null, $col = null) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Token/Empty.php b/library/HTMLPurifier/Token/Empty.php index d4b1ecb55..2a82b47ad 100644 --- a/library/HTMLPurifier/Token/Empty.php +++ b/library/HTMLPurifier/Token/Empty.php @@ -7,3 +7,5 @@ class HTMLPurifier_Token_Empty extends HTMLPurifier_Token_Tag { } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Token/End.php b/library/HTMLPurifier/Token/End.php index 8a705353b..353e79daf 100644 --- a/library/HTMLPurifier/Token/End.php +++ b/library/HTMLPurifier/Token/End.php @@ -15,3 +15,5 @@ class HTMLPurifier_Token_End extends HTMLPurifier_Token_Tag */ public $start; } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Token/Start.php b/library/HTMLPurifier/Token/Start.php index 7d7440e43..e0e14fc62 100644 --- a/library/HTMLPurifier/Token/Start.php +++ b/library/HTMLPurifier/Token/Start.php @@ -7,3 +7,5 @@ class HTMLPurifier_Token_Start extends HTMLPurifier_Token_Tag { } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Token/Tag.php b/library/HTMLPurifier/Token/Tag.php index c20442e21..798be028e 100644 --- a/library/HTMLPurifier/Token/Tag.php +++ b/library/HTMLPurifier/Token/Tag.php @@ -52,3 +52,5 @@ public function __construct($name, $attr = array(), $line = null, $col = null) { $this->col = $col; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Token/Text.php b/library/HTMLPurifier/Token/Text.php index 48e7fe5a7..82efd823d 100644 --- a/library/HTMLPurifier/Token/Text.php +++ b/library/HTMLPurifier/Token/Text.php @@ -29,3 +29,5 @@ public function __construct($data, $line = null, $col = null) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/TokenFactory.php b/library/HTMLPurifier/TokenFactory.php index 89b8bb5dc..7cf48fb41 100644 --- a/library/HTMLPurifier/TokenFactory.php +++ b/library/HTMLPurifier/TokenFactory.php @@ -91,3 +91,4 @@ public function createComment($data) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URI.php b/library/HTMLPurifier/URI.php index 16310bc26..8b50d0d18 100644 --- a/library/HTMLPurifier/URI.php +++ b/library/HTMLPurifier/URI.php @@ -170,3 +170,4 @@ public function toString() { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIDefinition.php b/library/HTMLPurifier/URIDefinition.php index 9a62fca10..183fcfc7e 100644 --- a/library/HTMLPurifier/URIDefinition.php +++ b/library/HTMLPurifier/URIDefinition.php @@ -89,3 +89,5 @@ public function postFilter(&$uri, $config, $context) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIFilter.php b/library/HTMLPurifier/URIFilter.php index 706d2c41f..c116f93df 100644 --- a/library/HTMLPurifier/URIFilter.php +++ b/library/HTMLPurifier/URIFilter.php @@ -41,3 +41,5 @@ public function prepare($config) {return true;} abstract public function filter(&$uri, $config, $context); } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIFilter/DisableExternal.php b/library/HTMLPurifier/URIFilter/DisableExternal.php index 960e2b9b5..d8a39a501 100644 --- a/library/HTMLPurifier/URIFilter/DisableExternal.php +++ b/library/HTMLPurifier/URIFilter/DisableExternal.php @@ -20,3 +20,4 @@ public function filter(&$uri, $config, $context) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIFilter/DisableExternalResources.php b/library/HTMLPurifier/URIFilter/DisableExternalResources.php index 9e4e7bdd2..881abc43c 100644 --- a/library/HTMLPurifier/URIFilter/DisableExternalResources.php +++ b/library/HTMLPurifier/URIFilter/DisableExternalResources.php @@ -9,3 +9,4 @@ public function filter(&$uri, $config, $context) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIFilter/HostBlacklist.php b/library/HTMLPurifier/URIFilter/HostBlacklist.php index 013204796..bac56e8b8 100644 --- a/library/HTMLPurifier/URIFilter/HostBlacklist.php +++ b/library/HTMLPurifier/URIFilter/HostBlacklist.php @@ -17,3 +17,5 @@ public function filter(&$uri, $config, $context) { return true; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIFilter/MakeAbsolute.php b/library/HTMLPurifier/URIFilter/MakeAbsolute.php index 070740ba3..f46ab2630 100644 --- a/library/HTMLPurifier/URIFilter/MakeAbsolute.php +++ b/library/HTMLPurifier/URIFilter/MakeAbsolute.php @@ -111,3 +111,4 @@ private function _collapseStack($stack) { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIFilter/Munge.php b/library/HTMLPurifier/URIFilter/Munge.php index 853d6363d..29ed0ed1f 100644 --- a/library/HTMLPurifier/URIFilter/Munge.php +++ b/library/HTMLPurifier/URIFilter/Munge.php @@ -50,3 +50,5 @@ protected function makeReplace($uri, $config, $context) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIParser.php b/library/HTMLPurifier/URIParser.php index 851f12849..7179e4ab8 100644 --- a/library/HTMLPurifier/URIParser.php +++ b/library/HTMLPurifier/URIParser.php @@ -67,3 +67,4 @@ public function parse($uri) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme.php b/library/HTMLPurifier/URIScheme.php index 6b5184b22..039710fd1 100644 --- a/library/HTMLPurifier/URIScheme.php +++ b/library/HTMLPurifier/URIScheme.php @@ -39,3 +39,4 @@ public function validate(&$uri, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme/ftp.php b/library/HTMLPurifier/URIScheme/ftp.php index 71ec6522d..5849bf7ff 100644 --- a/library/HTMLPurifier/URIScheme/ftp.php +++ b/library/HTMLPurifier/URIScheme/ftp.php @@ -40,3 +40,4 @@ public function validate(&$uri, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme/http.php b/library/HTMLPurifier/URIScheme/http.php index a7cef062b..b097a31d6 100644 --- a/library/HTMLPurifier/URIScheme/http.php +++ b/library/HTMLPurifier/URIScheme/http.php @@ -17,3 +17,4 @@ public function validate(&$uri, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme/https.php b/library/HTMLPurifier/URIScheme/https.php index 0f1a8a973..29e380919 100644 --- a/library/HTMLPurifier/URIScheme/https.php +++ b/library/HTMLPurifier/URIScheme/https.php @@ -9,3 +9,4 @@ class HTMLPurifier_URIScheme_https extends HTMLPurifier_URIScheme_http { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme/mailto.php b/library/HTMLPurifier/URIScheme/mailto.php index da1ce4d16..c1e2cd5aa 100644 --- a/library/HTMLPurifier/URIScheme/mailto.php +++ b/library/HTMLPurifier/URIScheme/mailto.php @@ -24,3 +24,4 @@ public function validate(&$uri, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme/news.php b/library/HTMLPurifier/URIScheme/news.php index a225bf23e..f5f54f4f5 100644 --- a/library/HTMLPurifier/URIScheme/news.php +++ b/library/HTMLPurifier/URIScheme/news.php @@ -19,3 +19,4 @@ public function validate(&$uri, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme/nntp.php b/library/HTMLPurifier/URIScheme/nntp.php index e37641b99..5bf93ea78 100644 --- a/library/HTMLPurifier/URIScheme/nntp.php +++ b/library/HTMLPurifier/URIScheme/nntp.php @@ -17,3 +17,4 @@ public function validate(&$uri, $config, $context) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URISchemeRegistry.php b/library/HTMLPurifier/URISchemeRegistry.php index 177bd3150..d24732c18 100644 --- a/library/HTMLPurifier/URISchemeRegistry.php +++ b/library/HTMLPurifier/URISchemeRegistry.php @@ -66,4 +66,4 @@ public function register($scheme, $scheme_obj) { } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/UnitConverter.php b/library/HTMLPurifier/UnitConverter.php index 89beb05c5..545d42622 100644 --- a/library/HTMLPurifier/UnitConverter.php +++ b/library/HTMLPurifier/UnitConverter.php @@ -250,3 +250,5 @@ private function scale($r, $scale) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/VarParser.php b/library/HTMLPurifier/VarParser.php index 4e4cad14e..68e72ae86 100644 --- a/library/HTMLPurifier/VarParser.php +++ b/library/HTMLPurifier/VarParser.php @@ -150,3 +150,5 @@ static public function getTypeName($type) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/VarParser/Flexible.php b/library/HTMLPurifier/VarParser/Flexible.php index 754dd9175..c954250e9 100644 --- a/library/HTMLPurifier/VarParser/Flexible.php +++ b/library/HTMLPurifier/VarParser/Flexible.php @@ -92,3 +92,5 @@ protected function parseImplementation($var, $type, $allow_null) { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/VarParser/Native.php b/library/HTMLPurifier/VarParser/Native.php index 553845f47..b02a6de54 100644 --- a/library/HTMLPurifier/VarParser/Native.php +++ b/library/HTMLPurifier/VarParser/Native.php @@ -23,3 +23,4 @@ protected function evalExpression($expr) { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/VarParserException.php b/library/HTMLPurifier/VarParserException.php index 1a9e973c7..5df341495 100644 --- a/library/HTMLPurifier/VarParserException.php +++ b/library/HTMLPurifier/VarParserException.php @@ -7,3 +7,5 @@ class HTMLPurifier_VarParserException extends HTMLPurifier_Exception { } + +// vim: et sw=4 sts=4 diff --git a/maintenance/add-vimline.php b/maintenance/add-vimline.php new file mode 100644 index 000000000..8ea116ecf --- /dev/null +++ b/maintenance/add-vimline.php @@ -0,0 +1,126 @@ +#!/usr/bin/php +globr('.', '*'); +foreach ($files as $file) { + if ( + !is_file($file) || + prefix_is('./docs/doxygen', $file) || + prefix_is('./library/standalone', $file) || + postfix_is('.ser', $file) || + postfix_is('.tgz', $file) || + postfix_is('.patch', $file) || + postfix_is('.dtd', $file) || + postfix_is('.ent', $file) || + postfix_is('.png', $file) || + postfix_is('.ico', $file) || + // wontfix + postfix_is('.vtest', $file) || + postfix_is('.svg', $file) || + postfix_is('.phpt', $file) || + postfix_is('VERSION', $file) || + postfix_is('WHATSNEW', $file) || + postfix_is('FOCUS', $file) || + // phpt files + postfix_is('.diff', $file) || + postfix_is('.exp', $file) || + postfix_is('.log', $file) || + postfix_is('.out', $file) || + + $file == './library/HTMLPurifier/Lexer/PH5P.php' || + $file == './maintenance/PH5P.php' + ) continue; + $ext = strrchr($file, '.'); + if ( + postfix_is('README', $file) || + postfix_is('LICENSE', $file) || + postfix_is('CREDITS', $file) || + postfix_is('INSTALL', $file) || + postfix_is('NEWS', $file) || + postfix_is('TODO', $file) || + postfix_is('WYSIWYG', $file) || + postfix_is('Changelog', $file) + ) $ext = '.txt'; + if (postfix_is('Doxyfile', $file)) $ext = 'Doxyfile'; + if (postfix_is('.php.in', $file)) $ext = '.php'; + $no_nl = false; + switch ($ext) { + case '.php': + case '.inc': + case '.js': + $line = '// %s'; + break; + case '.html': + case '.xsl': + case '.xml': + case '.htc': + $line = ''; + break; + case '.htmlt': + $no_nl = true; + $line = '--# %s'; + break; + case '.ini': + $line = '; %s'; + break; + case '.css': + $line = '/* %s */'; + break; + case '.bat': + $line = 'rem %s'; + break; + case '.txt': + case '.utf8': + if ( + prefix_is('./library/HTMLPurifier/ConfigSchema', $file) || + prefix_is('./smoketests/test-schema', $file) || + prefix_is('./tests/HTMLPurifier/StringHashParser', $file) + ) { + $no_nl = true; + $line = '--# %s'; + } else { + $line = ' %s'; + } + break; + case 'Doxyfile': + $line = '# %s'; + break; + default: + throw new Exception('Unknown file: ' . $file); + } + + echo "$file\n"; + $contents = file_get_contents($file); + + $regex = '~' . str_replace('%s', 'vim: .+', preg_quote($line, '~')) . '~m'; + $contents = preg_replace($regex, '', $contents); + + $contents = rtrim($contents); + + if (strpos($contents, "\r\n") !== false) $nl = "\r\n"; + elseif (strpos($contents, "\n") !== false) $nl = "\n"; + elseif (strpos($contents, "\r") !== false) $nl = "\r"; + else $nl = PHP_EOL; + + if (!$no_nl) $contents .= $nl; + $contents .= $nl . str_replace('%s', $vimline, $line) . $nl; + + file_put_contents($file, $contents); + +} + +// vim: et sw=4 sts=4 diff --git a/maintenance/common.php b/maintenance/common.php index eb57300e2..82d3d00f5 100644 --- a/maintenance/common.php +++ b/maintenance/common.php @@ -8,5 +8,15 @@ function assertCli() { } } +function prefix_is($comp, $subject) { + return strncmp($comp, $subject, strlen($comp)) === 0; +} + +function postfix_is($comp, $subject) { + return strlen($subject) < $comp ? false : substr($subject, -strlen($comp)) === $comp; +} + // Load useful stuff like FSTools require_once '../extras/HTMLPurifierExtras.auto.php'; + +// vim: et sw=4 sts=4 diff --git a/maintenance/config-scanner.php b/maintenance/config-scanner.php index c926faa31..db91d7bd6 100644 --- a/maintenance/config-scanner.php +++ b/maintenance/config-scanner.php @@ -157,3 +157,5 @@ function testToken($token, $value_or_token, $value = null) { $xw->flush(); echo "done!\n"; + +// vim: et sw=4 sts=4 diff --git a/maintenance/flush-definition-cache.php b/maintenance/flush-definition-cache.php index 571bc053a..138badb65 100755 --- a/maintenance/flush-definition-cache.php +++ b/maintenance/flush-definition-cache.php @@ -39,3 +39,4 @@ echo "Cache flushed successfully.\n"; +// vim: et sw=4 sts=4 diff --git a/maintenance/flush.php b/maintenance/flush.php index 93f0e766e..38ce57850 100644 --- a/maintenance/flush.php +++ b/maintenance/flush.php @@ -26,3 +26,5 @@ function e($cmd) { e($php . ' flush-definition-cache.php'); e($php . ' generate-standalone.php'); e($php . ' config-scanner.php'); + +// vim: et sw=4 sts=4 diff --git a/maintenance/generate-entity-file.php b/maintenance/generate-entity-file.php index 81872887f..66ff0af4d 100755 --- a/maintenance/generate-entity-file.php +++ b/maintenance/generate-entity-file.php @@ -71,3 +71,4 @@ function unichr($dec) { echo "Completed successfully."; +// vim: et sw=4 sts=4 diff --git a/maintenance/generate-includes.php b/maintenance/generate-includes.php index 64331dae2..8a30c4adf 100644 --- a/maintenance/generate-includes.php +++ b/maintenance/generate-includes.php @@ -185,3 +185,5 @@ function dep_sort($files) { echo "Writing HTMLPurifier.safe-includes.php... "; file_put_contents('HTMLPurifier.safe-includes.php', $php); echo "done!\n"; + +// vim: et sw=4 sts=4 diff --git a/maintenance/generate-ph5p-patch.php b/maintenance/generate-ph5p-patch.php index f30ac3ad3..c92a7d211 100644 --- a/maintenance/generate-ph5p-patch.php +++ b/maintenance/generate-ph5p-patch.php @@ -18,3 +18,5 @@ file_put_contents($newt, $new_src); shell_exec("diff -u \"$orig\" \"$newt\" > PH5P.patch"); unlink($newt); + +// vim: et sw=4 sts=4 diff --git a/maintenance/generate-schema-cache.php b/maintenance/generate-schema-cache.php index d7a3d5730..e7a59c418 100644 --- a/maintenance/generate-schema-cache.php +++ b/maintenance/generate-schema-cache.php @@ -27,3 +27,5 @@ echo "Saving schema... "; file_put_contents($target, serialize($schema)); echo "done!\n"; + +// vim: et sw=4 sts=4 diff --git a/maintenance/generate-standalone.php b/maintenance/generate-standalone.php index d5a631a01..9fe5354a2 100755 --- a/maintenance/generate-standalone.php +++ b/maintenance/generate-standalone.php @@ -43,6 +43,7 @@ function copy($source, $dest) { * @param string $text PHP source code to replace includes from */ function replace_includes($text) { + // also remove vim modelines return preg_replace_callback( "/require(?:_once)? ['\"]([^'\"]+)['\"];/", 'replace_includes_callback', @@ -52,11 +53,12 @@ function replace_includes($text) { /** * Removes leading PHP tags from included files. Assumes that there is - * no trailing tag. + * no trailing tag. Also removes vim modelines. * @note This is safe for files that have internal get($ns, $dir)); } } + +// vim: et sw=4 sts=4 diff --git a/maintenance/old-remove-require-once.php b/maintenance/old-remove-require-once.php index bf9f9d848..f47c7d0f1 100644 --- a/maintenance/old-remove-require-once.php +++ b/maintenance/old-remove-require-once.php @@ -28,3 +28,5 @@ file_put_contents($file, $new_code); } } + +// vim: et sw=4 sts=4 diff --git a/maintenance/old-remove-schema-def.php b/maintenance/old-remove-schema-def.php index fc77a9318..5ae031973 100644 --- a/maintenance/old-remove-schema-def.php +++ b/maintenance/old-remove-schema-def.php @@ -28,3 +28,5 @@ echo "Indented ConfigSchema call in $file\n"; } } + +// vim: et sw=4 sts=4 diff --git a/maintenance/remove-trailing-whitespace.php b/maintenance/remove-trailing-whitespace.php index 194beb6e8..857870546 100644 --- a/maintenance/remove-trailing-whitespace.php +++ b/maintenance/remove-trailing-whitespace.php @@ -13,14 +13,6 @@ chdir(dirname(__FILE__) . '/..'); $FS = new FSTools(); -function prefix_is($comp, $subject) { - return strncmp($comp, $subject, strlen($comp)) === 0; -} - -function postfix_is($comp, $subject) { - return strlen($subject) < $comp ? false : substr($subject, -strlen($comp)) === $comp; -} - $files = $FS->globr('.', '{,.}*', GLOB_BRACE); foreach ($files as $file) { if ( @@ -41,3 +33,5 @@ function postfix_is($comp, $subject) { echo "$file\n"; file_put_contents($file, $result); } + +// vim: et sw=4 sts=4 diff --git a/maintenance/update-freshmeat.php b/maintenance/update-freshmeat.php index 07363c4fb..5295c0430 100644 --- a/maintenance/update-freshmeat.php +++ b/maintenance/update-freshmeat.php @@ -152,3 +152,5 @@ public function __destruct() { 'url_zip', "http://htmlpurifier.org/releases/htmlpurifier-$version.zip", 'url_changelog', "http://htmlpurifier.org/svnroot/htmlpurifier/tags/$version/NEWS" ); + +// vim: et sw=4 sts=4 diff --git a/package.php b/package.php index 371e3b467..0b9efaa8c 100644 --- a/package.php +++ b/package.php @@ -57,3 +57,4 @@ $compat->writePackageFile(); $pkg->writePackageFile(); +// vim: et sw=4 sts=4 diff --git a/phpdoc.ini b/phpdoc.ini index bf4eb2a30..c4c372353 100644 --- a/phpdoc.ini +++ b/phpdoc.ini @@ -97,4 +97,6 @@ output=HTML:frames:default ;; turn this option on if you want highlighted source code for every file ;; legal values: on/off -sourcecode = on \ No newline at end of file +sourcecode = on + +; vim: et sw=4 sts=4 diff --git a/plugins/modx.txt b/plugins/modx.txt index 409ad00b5..0763821b5 100644 --- a/plugins/modx.txt +++ b/plugins/modx.txt @@ -108,3 +108,5 @@ X. Changelog 2008-06-16 - Updated code to work with 3.1.0 and later - Add Known Bugs and See Also section + + vim: et sw=4 sts=4 diff --git a/plugins/phorum/Changelog b/plugins/phorum/Changelog index 998b967b0..139653fc4 100644 --- a/plugins/phorum/Changelog +++ b/plugins/phorum/Changelog @@ -22,3 +22,5 @@ Version 3.0.0 for Phorum 5.2, released January 12, 2008 compatible with Phorum 5.1. - Buggy WYSIWYG mode refined . AutoFormatParam added to list of default configuration namespaces + + vim: et sw=4 sts=4 diff --git a/plugins/phorum/INSTALL b/plugins/phorum/INSTALL index f251423c9..f73d2f219 100644 --- a/plugins/phorum/INSTALL +++ b/plugins/phorum/INSTALL @@ -76,4 +76,4 @@ ONLY DO THIS ONCE! BE SURE TO BACK UP YOUR DATABASE! ------------ Configure using Edit settings. See that page for more information. - + vim: et sw=4 sts=4 diff --git a/plugins/phorum/README b/plugins/phorum/README index ac5515f02..0524ed39d 100644 --- a/plugins/phorum/README +++ b/plugins/phorum/README @@ -41,3 +41,5 @@ WYSIWYG editor (you can do this through a common hook or the web configuration form). Visit HTML Purifier at . + + vim: et sw=4 sts=4 diff --git a/plugins/phorum/config.default.php b/plugins/phorum/config.default.php index 2f9031ccd..1b9e93818 100644 --- a/plugins/phorum/config.default.php +++ b/plugins/phorum/config.default.php @@ -54,3 +54,4 @@ $config->set('Core', 'EscapeNonASCIICharacters', true); } +// vim: et sw=4 sts=4 diff --git a/plugins/phorum/htmlpurifier.php b/plugins/phorum/htmlpurifier.php index cf999eeb7..8ccc4fc4b 100644 --- a/plugins/phorum/htmlpurifier.php +++ b/plugins/phorum/htmlpurifier.php @@ -306,3 +306,4 @@ function phorum_htmlpurifier_editor_after_subject() { '; phorum_htmlpurifier_show_form(); +// vim: et sw=4 sts=4 diff --git a/plugins/phorum/settings/form.php b/plugins/phorum/settings/form.php index 7e7de00ce..a47a5fae7 100644 --- a/plugins/phorum/settings/form.php +++ b/plugins/phorum/settings/form.php @@ -90,3 +90,4 @@ function phorum_htmlpurifier_show_config_info() { } +// vim: et sw=4 sts=4 diff --git a/plugins/phorum/settings/migrate-sigs-form.php b/plugins/phorum/settings/migrate-sigs-form.php index 2800b7c36..2d63ebe48 100644 --- a/plugins/phorum/settings/migrate-sigs-form.php +++ b/plugins/phorum/settings/migrate-sigs-form.php @@ -19,3 +19,4 @@ function phorum_htmlpurifier_show_migrate_sigs_form() { $frm->show(); } +// vim: et sw=4 sts=4 diff --git a/plugins/phorum/settings/migrate-sigs.php b/plugins/phorum/settings/migrate-sigs.php index b337fc2b8..81c1f0ba9 100644 --- a/plugins/phorum/settings/migrate-sigs.php +++ b/plugins/phorum/settings/migrate-sigs.php @@ -73,3 +73,5 @@ function phorum_htmlpurifier_migrate_sigs($offset) { exit; } + +// vim: et sw=4 sts=4 diff --git a/plugins/phorum/settings/save.php b/plugins/phorum/settings/save.php index 1d3fc3aa2..740096a7c 100644 --- a/plugins/phorum/settings/save.php +++ b/plugins/phorum/settings/save.php @@ -23,3 +23,5 @@ function phorum_htmlpurifier_commit_settings() { global $PHORUM; return phorum_db_update_settings(array("mod_htmlpurifier"=>$PHORUM["mod_htmlpurifier"])); } + +// vim: et sw=4 sts=4 diff --git a/release1-update.php b/release1-update.php index 30448e705..834d38567 100644 --- a/release1-update.php +++ b/release1-update.php @@ -106,3 +106,5 @@ if ($is_dev) echo "Review changes, write something in WHATSNEW and FOCUS, and then commit with log 'Release $version.'" . PHP_EOL; else echo "Numbers updated to dev, no other modifications necessary!"; + +// vim: et sw=4 sts=4 diff --git a/release2-tag.php b/release2-tag.php index b2e718f35..25e5300d8 100644 --- a/release2-tag.php +++ b/release2-tag.php @@ -19,3 +19,4 @@ echo "Tagging trunk to tags/$version..."; passthru("svn copy --message \"Tag $version release.\" $trunk_url $trunk_tag_url"); +// vim: et sw=4 sts=4 diff --git a/smoketests/all.php b/smoketests/all.php index af6417498..507034b93 100644 --- a/smoketests/all.php +++ b/smoketests/all.php @@ -39,3 +39,6 @@ + + --> + + diff --git a/smoketests/basic.php b/smoketests/basic.php index bff85f3e9..81efc409d 100644 --- a/smoketests/basic.php +++ b/smoketests/basic.php @@ -68,3 +68,6 @@ ?> + * {background:#F00; color:#FFF; font-weight:bold; padding:0.2em; margin:0. {background:#008000; margin:0; padding:0.2em;} #module-text span, #module-text div {padding:0; margin:0.1em;} #module-list li, #module-list dd, #module-list dt {border:1px solid #FFF;} + +/* vim: et sw=4 sts=4 */ diff --git a/smoketests/basic/allElements.html b/smoketests/basic/allElements.html index 1748f1b8b..d00a83a1e 100644 --- a/smoketests/basic/allElements.html +++ b/smoketests/basic/allElements.html @@ -77,3 +77,5 @@

List module

+ + diff --git a/smoketests/basic/legacy.css b/smoketests/basic/legacy.css index d6d673ac0..fb600e400 100644 --- a/smoketests/basic/legacy.css +++ b/smoketests/basic/legacy.css @@ -69,3 +69,5 @@ hr {height:1em;} hr[size='50'] {height:50px;} img[border='3'] {border: 3px solid #000;} li[type='a'], li[value='5'] {color:#DDD;} + +/* vim: et sw=4 sts=4 */ diff --git a/smoketests/basic/legacy.html b/smoketests/basic/legacy.html index 43f1337ad..c4d59fe02 100644 --- a/smoketests/basic/legacy.html +++ b/smoketests/basic/legacy.html @@ -122,3 +122,5 @@
h6
+ + diff --git a/smoketests/common.php b/smoketests/common.php index 904251ea2..c4e5eb388 100644 --- a/smoketests/common.php +++ b/smoketests/common.php @@ -33,3 +33,5 @@ function fix_magic_quotes(&$array) { fix_magic_quotes($_ENV); fix_magic_quotes($_SERVER); } + +// vim: et sw=4 sts=4 diff --git a/smoketests/configForm.php b/smoketests/configForm.php index d012fdd26..90e80ac56 100644 --- a/smoketests/configForm.php +++ b/smoketests/configForm.php @@ -72,3 +72,6 @@ + - \ No newline at end of file + + +render($config) ?> + 'val1', 'key2' => 'val2') DESCRIPTION: The hash type is an associative array of string keys and string values. +--# vim: et sw=4 sts=4 diff --git a/smoketests/test-schema/Type.int.txt b/smoketests/test-schema/Type.int.txt index 5a2b1d8a4..157df3f3e 100644 --- a/smoketests/test-schema/Type.int.txt +++ b/smoketests/test-schema/Type.int.txt @@ -2,3 +2,4 @@ Type.int TYPE: int DEFAULT: 23 DESCRIPTION: The int type is an signed integer. +--# vim: et sw=4 sts=4 diff --git a/smoketests/test-schema/Type.istring.txt b/smoketests/test-schema/Type.istring.txt index c953f7c88..dfd43aa48 100644 --- a/smoketests/test-schema/Type.istring.txt +++ b/smoketests/test-schema/Type.istring.txt @@ -2,3 +2,4 @@ Type.istring TYPE: istring DEFAULT: 'case insensitive' DESCRIPTION: The istring type is short (no newlines), must be ASCII and is case-insensitive. +--# vim: et sw=4 sts=4 diff --git a/smoketests/test-schema/Type.itext.txt b/smoketests/test-schema/Type.itext.txt index 20fe91830..97140dea8 100644 --- a/smoketests/test-schema/Type.itext.txt +++ b/smoketests/test-schema/Type.itext.txt @@ -2,3 +2,4 @@ Type.itext TYPE: itext DEFAULT: "case\ninsensitive\nand\npossibly\nquite\nlong" DESCRIPTION: The text type has newlines, must be ASCII and is case-insensitive. +--# vim: et sw=4 sts=4 diff --git a/smoketests/test-schema/Type.list.txt b/smoketests/test-schema/Type.list.txt index 336cd2283..55497fcdf 100644 --- a/smoketests/test-schema/Type.list.txt +++ b/smoketests/test-schema/Type.list.txt @@ -2,3 +2,4 @@ Type.list TYPE: list DEFAULT: array('item1', 'item2') DESCRIPTION: The list type is a numerically indexed array of strings. +--# vim: et sw=4 sts=4 diff --git a/smoketests/test-schema/Type.lookup.txt b/smoketests/test-schema/Type.lookup.txt index 6cb458a84..b2479912f 100644 --- a/smoketests/test-schema/Type.lookup.txt +++ b/smoketests/test-schema/Type.lookup.txt @@ -2,3 +2,4 @@ Type.lookup TYPE: lookup DEFAULT: array('key1' => true, 'key2' => true) DESCRIPTION: The lookup type acts just like list, except its elements are unique and are checked with isset($var[$key]). +--# vim: et sw=4 sts=4 diff --git a/smoketests/test-schema/Type.mixed.txt b/smoketests/test-schema/Type.mixed.txt index a0dfefd68..8bc14bbe6 100644 --- a/smoketests/test-schema/Type.mixed.txt +++ b/smoketests/test-schema/Type.mixed.txt @@ -2,3 +2,4 @@ Type.mixed TYPE: mixed DEFAULT: new stdclass() DESCRIPTION: The mixed type allows any type, and is not form-editable. +--# vim: et sw=4 sts=4 diff --git a/smoketests/test-schema/Type.nullbool.txt b/smoketests/test-schema/Type.nullbool.txt index 71d946152..d3d756fc6 100644 --- a/smoketests/test-schema/Type.nullbool.txt +++ b/smoketests/test-schema/Type.nullbool.txt @@ -4,3 +4,4 @@ DEFAULT: null --DESCRIPTION-- Null booleans need to be treated a little specially. See %Type.nullstring for information on what the null flag does. +--# vim: et sw=4 sts=4 diff --git a/smoketests/test-schema/Type.nullstring.txt b/smoketests/test-schema/Type.nullstring.txt index 8dc4fce11..4db33235d 100644 --- a/smoketests/test-schema/Type.nullstring.txt +++ b/smoketests/test-schema/Type.nullstring.txt @@ -6,3 +6,4 @@ The null type is not a type, but a flag that can be added to any type making null a valid value for that entry. It's useful for saying, "Let the software pick the value for me," or "Don't use this element" when false has a special meaning. +--# vim: et sw=4 sts=4 diff --git a/smoketests/test-schema/Type.string.txt b/smoketests/test-schema/Type.string.txt index d48191399..4cde40907 100644 --- a/smoketests/test-schema/Type.string.txt +++ b/smoketests/test-schema/Type.string.txt @@ -2,3 +2,4 @@ Type.string TYPE: string DEFAULT: 'Case sensitive' DESCRIPTION: The string type is short (no newlines) and case-sensitive. +--# vim: et sw=4 sts=4 diff --git a/smoketests/test-schema/Type.text.txt b/smoketests/test-schema/Type.text.txt index 71c38bb3a..5fca4d567 100644 --- a/smoketests/test-schema/Type.text.txt +++ b/smoketests/test-schema/Type.text.txt @@ -2,3 +2,4 @@ Type.text TYPE: text DEFAULT: "Case sensitive\nand\npossibly\nquite long..." DESCRIPTION: The text type has newlines and is case-sensitive. +--# vim: et sw=4 sts=4 diff --git a/smoketests/test-schema/Type.txt b/smoketests/test-schema/Type.txt index 156664d02..b4761220c 100644 --- a/smoketests/test-schema/Type.txt +++ b/smoketests/test-schema/Type.txt @@ -1,2 +1,3 @@ Type DESCRIPTION: Directives demonstration the variable types ConfigSchema supports. +--# vim: et sw=4 sts=4 diff --git a/smoketests/test-schema/info.ini b/smoketests/test-schema/info.ini index 87af96c6f..438e8acce 100644 --- a/smoketests/test-schema/info.ini +++ b/smoketests/test-schema/info.ini @@ -1 +1,3 @@ name = "Test Schema" + +; vim: et sw=4 sts=4 diff --git a/smoketests/variableWidthAttack.php b/smoketests/variableWidthAttack.php index 87f88bba7..f3b6e8214 100644 --- a/smoketests/variableWidthAttack.php +++ b/smoketests/variableWidthAttack.php @@ -52,3 +52,6 @@ + + + + diff --git a/test-settings.sample.php b/test-settings.sample.php index 27ac62d68..158302486 100644 --- a/test-settings.sample.php +++ b/test-settings.sample.php @@ -68,3 +68,4 @@ // to true (or, if it's not in the include path, to its install directory). $GLOBALS['HTMLPurifierTest']['PEAR'] = false; +// vim: et sw=4 sts=4 diff --git a/tests/CliTestCase.php b/tests/CliTestCase.php index b5de8ce11..1f096c34c 100644 --- a/tests/CliTestCase.php +++ b/tests/CliTestCase.php @@ -78,3 +78,4 @@ public function _errorHandler($a, $b, $c, $d) { } } +// vim: et sw=4 sts=4 diff --git a/tests/Debugger.php b/tests/Debugger.php index 5470fbae4..45e107f44 100644 --- a/tests/Debugger.php +++ b/tests/Debugger.php @@ -144,3 +144,4 @@ public function isInScopes($scopes = array()) { } +// vim: et sw=4 sts=4 diff --git a/tests/FSTools/FileSystemHarness.php b/tests/FSTools/FileSystemHarness.php index 33ab387e4..710196e4f 100644 --- a/tests/FSTools/FileSystemHarness.php +++ b/tests/FSTools/FileSystemHarness.php @@ -32,3 +32,5 @@ function tearDown() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/FSTools/FileTest.php b/tests/FSTools/FileTest.php index 547b91138..e9b703a2d 100644 --- a/tests/FSTools/FileTest.php +++ b/tests/FSTools/FileTest.php @@ -43,3 +43,4 @@ function testHandle() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrCollectionsTest.php b/tests/HTMLPurifier/AttrCollectionsTest.php index 86f48b79f..227bc9535 100644 --- a/tests/HTMLPurifier/AttrCollectionsTest.php +++ b/tests/HTMLPurifier/AttrCollectionsTest.php @@ -131,3 +131,4 @@ function test_expandIdentifiers() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/AlphaValueTest.php b/tests/HTMLPurifier/AttrDef/CSS/AlphaValueTest.php index a236832bf..56efa306f 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/AlphaValueTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/AlphaValueTest.php @@ -25,3 +25,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/BackgroundPositionTest.php b/tests/HTMLPurifier/AttrDef/CSS/BackgroundPositionTest.php index c79909956..f5302c37f 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/BackgroundPositionTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/BackgroundPositionTest.php @@ -65,3 +65,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/BackgroundTest.php b/tests/HTMLPurifier/AttrDef/CSS/BackgroundTest.php index d6218cf38..bf2f24e0c 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/BackgroundTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/BackgroundTest.php @@ -20,3 +20,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/BorderTest.php b/tests/HTMLPurifier/AttrDef/CSS/BorderTest.php index 362b90d86..6cd77fd7a 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/BorderTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/BorderTest.php @@ -18,3 +18,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/ColorTest.php b/tests/HTMLPurifier/AttrDef/CSS/ColorTest.php index d46feebab..f3a74e897 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/ColorTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/ColorTest.php @@ -38,3 +38,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php b/tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php index 00dc9c779..44bef5551 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php @@ -78,3 +78,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/FilterTest.php b/tests/HTMLPurifier/AttrDef/CSS/FilterTest.php index 2791e1860..7795643f1 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/FilterTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/FilterTest.php @@ -26,3 +26,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/FontFamilyTest.php b/tests/HTMLPurifier/AttrDef/CSS/FontFamilyTest.php index ef6e4bb9f..4d8f647a6 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/FontFamilyTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/FontFamilyTest.php @@ -36,3 +36,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/FontTest.php b/tests/HTMLPurifier/AttrDef/CSS/FontTest.php index ebc1a9053..1e42ee240 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/FontTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/FontTest.php @@ -31,3 +31,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/ImportantDecoratorTest.php b/tests/HTMLPurifier/AttrDef/CSS/ImportantDecoratorTest.php index cb7647543..c7fa8a0fa 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/ImportantDecoratorTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/ImportantDecoratorTest.php @@ -46,3 +46,4 @@ function testStrip() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/LengthTest.php b/tests/HTMLPurifier/AttrDef/CSS/LengthTest.php index 5d7dde42c..9d9fc41f2 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/LengthTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/LengthTest.php @@ -45,3 +45,4 @@ function testBounding() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/ListStyleTest.php b/tests/HTMLPurifier/AttrDef/CSS/ListStyleTest.php index 8f54521e7..fa04fb60d 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/ListStyleTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/ListStyleTest.php @@ -32,3 +32,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/MultipleTest.php b/tests/HTMLPurifier/AttrDef/CSS/MultipleTest.php index ada3f54da..4461cb508 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/MultipleTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/MultipleTest.php @@ -25,3 +25,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/NumberTest.php b/tests/HTMLPurifier/AttrDef/CSS/NumberTest.php index 5b1090ba8..94e6ea8cf 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/NumberTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/NumberTest.php @@ -48,3 +48,4 @@ function testNonNegative() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/PercentageTest.php b/tests/HTMLPurifier/AttrDef/CSS/PercentageTest.php index 910b2ef7e..f712af1d2 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/PercentageTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/PercentageTest.php @@ -21,3 +21,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/TextDecorationTest.php b/tests/HTMLPurifier/AttrDef/CSS/TextDecorationTest.php index 838b1d0e9..dd714d206 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/TextDecorationTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/TextDecorationTest.php @@ -24,3 +24,4 @@ function testCaseInsensitive() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/URITest.php b/tests/HTMLPurifier/AttrDef/CSS/URITest.php index 00356ba4f..099b16394 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/URITest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/URITest.php @@ -30,3 +30,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSSTest.php b/tests/HTMLPurifier/AttrDef/CSSTest.php index ff4a3fe9d..70155acfa 100644 --- a/tests/HTMLPurifier/AttrDef/CSSTest.php +++ b/tests/HTMLPurifier/AttrDef/CSSTest.php @@ -146,3 +146,4 @@ function testTricky() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/EnumTest.php b/tests/HTMLPurifier/AttrDef/EnumTest.php index 5bf0284cd..7722c1bc2 100644 --- a/tests/HTMLPurifier/AttrDef/EnumTest.php +++ b/tests/HTMLPurifier/AttrDef/EnumTest.php @@ -34,3 +34,4 @@ function test_make() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/BoolTest.php b/tests/HTMLPurifier/AttrDef/HTML/BoolTest.php index aae8269e8..060d0fc8f 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/BoolTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/BoolTest.php @@ -19,3 +19,4 @@ function test_make() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/ColorTest.php b/tests/HTMLPurifier/AttrDef/HTML/ColorTest.php index d526fc91e..8b4a46347 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/ColorTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/ColorTest.php @@ -17,3 +17,4 @@ function test() { } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/FrameTargetTest.php b/tests/HTMLPurifier/AttrDef/HTML/FrameTargetTest.php index 1fa89a4a4..1b994f9ed 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/FrameTargetTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/FrameTargetTest.php @@ -25,3 +25,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/IDTest.php b/tests/HTMLPurifier/AttrDef/HTML/IDTest.php index 1578d3a7e..c5b3e3c9f 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/IDTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/IDTest.php @@ -105,3 +105,4 @@ function testRegexp() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/LengthTest.php b/tests/HTMLPurifier/AttrDef/HTML/LengthTest.php index 276a9267a..d165e30b5 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/LengthTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/LengthTest.php @@ -29,3 +29,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/LinkTypesTest.php b/tests/HTMLPurifier/AttrDef/HTML/LinkTypesTest.php index 2b32521b3..eb225f6a7 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/LinkTypesTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/LinkTypesTest.php @@ -18,3 +18,4 @@ function testNull() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/MultiLengthTest.php b/tests/HTMLPurifier/AttrDef/HTML/MultiLengthTest.php index 56ea79bdd..eb6f34011 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/MultiLengthTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/MultiLengthTest.php @@ -25,3 +25,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/NmtokensTest.php b/tests/HTMLPurifier/AttrDef/HTML/NmtokensTest.php index 851728e17..4af98ee04 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/NmtokensTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/NmtokensTest.php @@ -29,3 +29,4 @@ function testDefault() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/PixelsTest.php b/tests/HTMLPurifier/AttrDef/HTML/PixelsTest.php index e00feca39..08f25be64 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/PixelsTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/PixelsTest.php @@ -42,3 +42,4 @@ function test_make() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/IntegerTest.php b/tests/HTMLPurifier/AttrDef/IntegerTest.php index 68b8afd7e..a941e31ab 100644 --- a/tests/HTMLPurifier/AttrDef/IntegerTest.php +++ b/tests/HTMLPurifier/AttrDef/IntegerTest.php @@ -58,3 +58,4 @@ function testRange() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/LangTest.php b/tests/HTMLPurifier/AttrDef/LangTest.php index 6c1e4f55b..c59175556 100644 --- a/tests/HTMLPurifier/AttrDef/LangTest.php +++ b/tests/HTMLPurifier/AttrDef/LangTest.php @@ -82,3 +82,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/SwitchTest.php b/tests/HTMLPurifier/AttrDef/SwitchTest.php index c20587559..21bafe697 100644 --- a/tests/HTMLPurifier/AttrDef/SwitchTest.php +++ b/tests/HTMLPurifier/AttrDef/SwitchTest.php @@ -30,3 +30,5 @@ function testWithout() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/TextTest.php b/tests/HTMLPurifier/AttrDef/TextTest.php index fdac38719..458008aa8 100644 --- a/tests/HTMLPurifier/AttrDef/TextTest.php +++ b/tests/HTMLPurifier/AttrDef/TextTest.php @@ -14,3 +14,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/URI/Email/SimpleCheckTest.php b/tests/HTMLPurifier/AttrDef/URI/Email/SimpleCheckTest.php index c4e7222f3..c310347e9 100644 --- a/tests/HTMLPurifier/AttrDef/URI/Email/SimpleCheckTest.php +++ b/tests/HTMLPurifier/AttrDef/URI/Email/SimpleCheckTest.php @@ -10,3 +10,4 @@ function setUp() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/URI/EmailHarness.php b/tests/HTMLPurifier/AttrDef/URI/EmailHarness.php index 10bb9e3c8..594e2ce29 100644 --- a/tests/HTMLPurifier/AttrDef/URI/EmailHarness.php +++ b/tests/HTMLPurifier/AttrDef/URI/EmailHarness.php @@ -28,3 +28,4 @@ function testCore() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/URI/HostTest.php b/tests/HTMLPurifier/AttrDef/URI/HostTest.php index 557d1a6e6..cf7beacc1 100644 --- a/tests/HTMLPurifier/AttrDef/URI/HostTest.php +++ b/tests/HTMLPurifier/AttrDef/URI/HostTest.php @@ -39,3 +39,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/URI/IPv4Test.php b/tests/HTMLPurifier/AttrDef/URI/IPv4Test.php index a93f8d12e..0a4eb17ba 100644 --- a/tests/HTMLPurifier/AttrDef/URI/IPv4Test.php +++ b/tests/HTMLPurifier/AttrDef/URI/IPv4Test.php @@ -20,4 +20,6 @@ function test() { $this->assertDef('', false); // nothing } -} \ No newline at end of file +} + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/URI/IPv6Test.php b/tests/HTMLPurifier/AttrDef/URI/IPv6Test.php index 28f8a196d..083e818aa 100644 --- a/tests/HTMLPurifier/AttrDef/URI/IPv6Test.php +++ b/tests/HTMLPurifier/AttrDef/URI/IPv6Test.php @@ -40,3 +40,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/URITest.php b/tests/HTMLPurifier/AttrDef/URITest.php index 417b92fd2..ee7ff29c5 100644 --- a/tests/HTMLPurifier/AttrDef/URITest.php +++ b/tests/HTMLPurifier/AttrDef/URITest.php @@ -134,4 +134,4 @@ function test_validate_configWhitelist() { } - +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDefHarness.php b/tests/HTMLPurifier/AttrDefHarness.php index f73966203..b45b0ca53 100644 --- a/tests/HTMLPurifier/AttrDefHarness.php +++ b/tests/HTMLPurifier/AttrDefHarness.php @@ -24,3 +24,4 @@ function assertDef($string, $expect = true) { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDefTest.php b/tests/HTMLPurifier/AttrDefTest.php index 852587e20..d7466e37d 100644 --- a/tests/HTMLPurifier/AttrDefTest.php +++ b/tests/HTMLPurifier/AttrDefTest.php @@ -29,3 +29,4 @@ function test_make() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/BackgroundTest.php b/tests/HTMLPurifier/AttrTransform/BackgroundTest.php index 4629679ff..0730ab4bc 100644 --- a/tests/HTMLPurifier/AttrTransform/BackgroundTest.php +++ b/tests/HTMLPurifier/AttrTransform/BackgroundTest.php @@ -37,3 +37,4 @@ function testLenientTreatmentOfInvalidInput() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/BdoDirTest.php b/tests/HTMLPurifier/AttrTransform/BdoDirTest.php index 741d4a9d0..c8237898e 100644 --- a/tests/HTMLPurifier/AttrTransform/BdoDirTest.php +++ b/tests/HTMLPurifier/AttrTransform/BdoDirTest.php @@ -27,3 +27,4 @@ function testAlternateDefault() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/BgColorTest.php b/tests/HTMLPurifier/AttrTransform/BgColorTest.php index ebc1506ec..13567b74e 100644 --- a/tests/HTMLPurifier/AttrTransform/BgColorTest.php +++ b/tests/HTMLPurifier/AttrTransform/BgColorTest.php @@ -41,3 +41,4 @@ function testLenientTreatmentOfInvalidInput() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/BoolToCSSTest.php b/tests/HTMLPurifier/AttrTransform/BoolToCSSTest.php index 66c36bd3e..73f9d6b86 100644 --- a/tests/HTMLPurifier/AttrTransform/BoolToCSSTest.php +++ b/tests/HTMLPurifier/AttrTransform/BoolToCSSTest.php @@ -35,3 +35,4 @@ function testPrependCSS() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/BorderTest.php b/tests/HTMLPurifier/AttrTransform/BorderTest.php index c17dc8dd1..d10aa28e6 100644 --- a/tests/HTMLPurifier/AttrTransform/BorderTest.php +++ b/tests/HTMLPurifier/AttrTransform/BorderTest.php @@ -35,3 +35,4 @@ function testPrependNewCSS() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/EnumToCSSTest.php b/tests/HTMLPurifier/AttrTransform/EnumToCSSTest.php index 0fa42cb2c..f0381fe88 100644 --- a/tests/HTMLPurifier/AttrTransform/EnumToCSSTest.php +++ b/tests/HTMLPurifier/AttrTransform/EnumToCSSTest.php @@ -70,3 +70,4 @@ function testCaseSensitive() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/ImgRequiredTest.php b/tests/HTMLPurifier/AttrTransform/ImgRequiredTest.php index d33e6f630..d22a2763c 100644 --- a/tests/HTMLPurifier/AttrTransform/ImgRequiredTest.php +++ b/tests/HTMLPurifier/AttrTransform/ImgRequiredTest.php @@ -52,3 +52,4 @@ function testAddDefaultAlt() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/ImgSpaceTest.php b/tests/HTMLPurifier/AttrTransform/ImgSpaceTest.php index d621d2ec4..42e8738e4 100644 --- a/tests/HTMLPurifier/AttrTransform/ImgSpaceTest.php +++ b/tests/HTMLPurifier/AttrTransform/ImgSpaceTest.php @@ -52,3 +52,4 @@ function testInvalidConstructionParameter() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/InputTest.php b/tests/HTMLPurifier/AttrTransform/InputTest.php index ccd9b52b4..2603ff1be 100644 --- a/tests/HTMLPurifier/AttrTransform/InputTest.php +++ b/tests/HTMLPurifier/AttrTransform/InputTest.php @@ -91,3 +91,4 @@ function testMissingValue() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/LangTest.php b/tests/HTMLPurifier/AttrTransform/LangTest.php index cd6eb6dc9..960ad20a0 100644 --- a/tests/HTMLPurifier/AttrTransform/LangTest.php +++ b/tests/HTMLPurifier/AttrTransform/LangTest.php @@ -43,3 +43,4 @@ function testXMLLangOverridesLang() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/LengthTest.php b/tests/HTMLPurifier/AttrTransform/LengthTest.php index faee72b1e..3fbaa0ccf 100644 --- a/tests/HTMLPurifier/AttrTransform/LengthTest.php +++ b/tests/HTMLPurifier/AttrTransform/LengthTest.php @@ -42,3 +42,4 @@ function testLenientTreatmentOfInvalidInput() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/NameTest.php b/tests/HTMLPurifier/AttrTransform/NameTest.php index 5a015378f..10e121238 100644 --- a/tests/HTMLPurifier/AttrTransform/NameTest.php +++ b/tests/HTMLPurifier/AttrTransform/NameTest.php @@ -28,3 +28,4 @@ function testExistingIDOverridesName() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransformHarness.php b/tests/HTMLPurifier/AttrTransformHarness.php index 28873c6f8..d43c0108f 100644 --- a/tests/HTMLPurifier/AttrTransformHarness.php +++ b/tests/HTMLPurifier/AttrTransformHarness.php @@ -10,3 +10,4 @@ public function setUp() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransformTest.php b/tests/HTMLPurifier/AttrTransformTest.php index c7a5da35c..71a788580 100644 --- a/tests/HTMLPurifier/AttrTransformTest.php +++ b/tests/HTMLPurifier/AttrTransformTest.php @@ -42,3 +42,4 @@ function test_confiscateAttr() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTypesTest.php b/tests/HTMLPurifier/AttrTypesTest.php index 8fa355a44..d1ae43709 100644 --- a/tests/HTMLPurifier/AttrTypesTest.php +++ b/tests/HTMLPurifier/AttrTypesTest.php @@ -23,3 +23,4 @@ function test_get() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrValidator_ErrorsTest.php b/tests/HTMLPurifier/AttrValidator_ErrorsTest.php index 7a073f95d..cdc274144 100644 --- a/tests/HTMLPurifier/AttrValidator_ErrorsTest.php +++ b/tests/HTMLPurifier/AttrValidator_ErrorsTest.php @@ -65,3 +65,4 @@ function testAttributeRemoved() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDef/ChameleonTest.php b/tests/HTMLPurifier/ChildDef/ChameleonTest.php index 15e7f23f4..82493f40e 100644 --- a/tests/HTMLPurifier/ChildDef/ChameleonTest.php +++ b/tests/HTMLPurifier/ChildDef/ChameleonTest.php @@ -37,3 +37,4 @@ function testBlockAllowedInNonInline() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDef/CustomTest.php b/tests/HTMLPurifier/ChildDef/CustomTest.php index b8d9e56f7..5b138a3c1 100644 --- a/tests/HTMLPurifier/ChildDef/CustomTest.php +++ b/tests/HTMLPurifier/ChildDef/CustomTest.php @@ -86,3 +86,4 @@ function testWhitespace() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDef/OptionalTest.php b/tests/HTMLPurifier/ChildDef/OptionalTest.php index 746ad9814..a5f34f7b1 100644 --- a/tests/HTMLPurifier/ChildDef/OptionalTest.php +++ b/tests/HTMLPurifier/ChildDef/OptionalTest.php @@ -29,3 +29,5 @@ function testMultipleWhitespace() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDef/RequiredTest.php b/tests/HTMLPurifier/ChildDef/RequiredTest.php index ed09c32a1..f8d230759 100644 --- a/tests/HTMLPurifier/ChildDef/RequiredTest.php +++ b/tests/HTMLPurifier/ChildDef/RequiredTest.php @@ -70,3 +70,4 @@ function testPCDATAAllowedWithEscaping() { } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDef/StrictBlockquoteTest.php b/tests/HTMLPurifier/ChildDef/StrictBlockquoteTest.php index 3646ff6bf..61fe1a2a2 100644 --- a/tests/HTMLPurifier/ChildDef/StrictBlockquoteTest.php +++ b/tests/HTMLPurifier/ChildDef/StrictBlockquoteTest.php @@ -80,3 +80,4 @@ function testError() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDef/TableTest.php b/tests/HTMLPurifier/ChildDef/TableTest.php index 3b807485d..95408671c 100644 --- a/tests/HTMLPurifier/ChildDef/TableTest.php +++ b/tests/HTMLPurifier/ChildDef/TableTest.php @@ -58,3 +58,4 @@ function testStickyWhitespaceOnTSection() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDefHarness.php b/tests/HTMLPurifier/ChildDefHarness.php index a489537c7..4b4d2f5b6 100644 --- a/tests/HTMLPurifier/ChildDefHarness.php +++ b/tests/HTMLPurifier/ChildDefHarness.php @@ -13,4 +13,4 @@ public function setUp() { } - +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ComplexHarness.php b/tests/HTMLPurifier/ComplexHarness.php index cacb7138f..76d04152f 100644 --- a/tests/HTMLPurifier/ComplexHarness.php +++ b/tests/HTMLPurifier/ComplexHarness.php @@ -103,4 +103,4 @@ protected function generate($tokens) { } - +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigSchema/InterchangeTest.php b/tests/HTMLPurifier/ConfigSchema/InterchangeTest.php index 48244621e..611bf48fc 100644 --- a/tests/HTMLPurifier/ConfigSchema/InterchangeTest.php +++ b/tests/HTMLPurifier/ConfigSchema/InterchangeTest.php @@ -24,3 +24,5 @@ function testAddDirective() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigSchema/ValidatorAtomTest.php b/tests/HTMLPurifier/ConfigSchema/ValidatorAtomTest.php index 836c2e803..38625136e 100644 --- a/tests/HTMLPurifier/ConfigSchema/ValidatorAtomTest.php +++ b/tests/HTMLPurifier/ConfigSchema/ValidatorAtomTest.php @@ -88,3 +88,5 @@ function testAssertIsLookupFailIsArray() { $this->makeAtom('asdf')->assertIsLookup(); } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigSchema/ValidatorTest.php b/tests/HTMLPurifier/ConfigSchema/ValidatorTest.php index d5bff88c4..a36089fad 100644 --- a/tests/HTMLPurifier/ConfigSchema/ValidatorTest.php +++ b/tests/HTMLPurifier/ConfigSchema/ValidatorTest.php @@ -130,3 +130,5 @@ protected function expectValidationException($msg) { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigSchema/ValidatorTestCase.php b/tests/HTMLPurifier/ConfigSchema/ValidatorTestCase.php index 96f8772ca..87fa14d0d 100644 --- a/tests/HTMLPurifier/ConfigSchema/ValidatorTestCase.php +++ b/tests/HTMLPurifier/ConfigSchema/ValidatorTestCase.php @@ -40,3 +40,5 @@ function testValidator() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigSchemaTest.php b/tests/HTMLPurifier/ConfigSchemaTest.php index e9c31cdf6..5521ac118 100644 --- a/tests/HTMLPurifier/ConfigSchemaTest.php +++ b/tests/HTMLPurifier/ConfigSchemaTest.php @@ -108,3 +108,4 @@ function testAlias() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigTest-create.ini b/tests/HTMLPurifier/ConfigTest-create.ini index 5b41f3a8a..31412f99a 100644 --- a/tests/HTMLPurifier/ConfigTest-create.ini +++ b/tests/HTMLPurifier/ConfigTest-create.ini @@ -1,2 +1,4 @@ [Cake] Sprinkles = 42 + +; vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigTest-finalize.ini b/tests/HTMLPurifier/ConfigTest-finalize.ini index 8f1fd7e0e..3ab185fad 100644 --- a/tests/HTMLPurifier/ConfigTest-finalize.ini +++ b/tests/HTMLPurifier/ConfigTest-finalize.ini @@ -1,2 +1,4 @@ [Poem] Meter = alexandrine + +; vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigTest-loadIni.ini b/tests/HTMLPurifier/ConfigTest-loadIni.ini index 082bb11ee..cfa5a907f 100644 --- a/tests/HTMLPurifier/ConfigTest-loadIni.ini +++ b/tests/HTMLPurifier/ConfigTest-loadIni.ini @@ -2,3 +2,5 @@ Copy = q Cut = t Paste = p + +; vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigTest.php b/tests/HTMLPurifier/ConfigTest.php index cbba4b828..959f6aeab 100644 --- a/tests/HTMLPurifier/ConfigTest.php +++ b/tests/HTMLPurifier/ConfigTest.php @@ -442,3 +442,4 @@ function test_getAllowedDirectivesForForm() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ContextTest.php b/tests/HTMLPurifier/ContextTest.php index e3294ee77..c5cef1651 100644 --- a/tests/HTMLPurifier/ContextTest.php +++ b/tests/HTMLPurifier/ContextTest.php @@ -81,3 +81,4 @@ function test_loadArray() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCache/Decorator/CleanupTest.php b/tests/HTMLPurifier/DefinitionCache/Decorator/CleanupTest.php index a09456d7d..afcb0e39f 100644 --- a/tests/HTMLPurifier/DefinitionCache/Decorator/CleanupTest.php +++ b/tests/HTMLPurifier/DefinitionCache/Decorator/CleanupTest.php @@ -53,3 +53,4 @@ function test_add() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCache/Decorator/MemoryTest.php b/tests/HTMLPurifier/DefinitionCache/Decorator/MemoryTest.php index 347b1b703..55f2f249c 100644 --- a/tests/HTMLPurifier/DefinitionCache/Decorator/MemoryTest.php +++ b/tests/HTMLPurifier/DefinitionCache/Decorator/MemoryTest.php @@ -67,3 +67,4 @@ function test_add_failure() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCache/DecoratorHarness.php b/tests/HTMLPurifier/DefinitionCache/DecoratorHarness.php index ccdc5847c..64951a3ed 100644 --- a/tests/HTMLPurifier/DefinitionCache/DecoratorHarness.php +++ b/tests/HTMLPurifier/DefinitionCache/DecoratorHarness.php @@ -20,3 +20,4 @@ function teardown() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCache/DecoratorTest.php b/tests/HTMLPurifier/DefinitionCache/DecoratorTest.php index 9c5adf4ff..f64967970 100644 --- a/tests/HTMLPurifier/DefinitionCache/DecoratorTest.php +++ b/tests/HTMLPurifier/DefinitionCache/DecoratorTest.php @@ -39,3 +39,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCache/SerializerTest.php b/tests/HTMLPurifier/DefinitionCache/SerializerTest.php index 280fe9281..5791bbdf8 100644 --- a/tests/HTMLPurifier/DefinitionCache/SerializerTest.php +++ b/tests/HTMLPurifier/DefinitionCache/SerializerTest.php @@ -195,3 +195,4 @@ function testAlternatePath() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCache/SerializerTest/README b/tests/HTMLPurifier/DefinitionCache/SerializerTest/README index 962b80a34..2e35c1c3d 100644 --- a/tests/HTMLPurifier/DefinitionCache/SerializerTest/README +++ b/tests/HTMLPurifier/DefinitionCache/SerializerTest/README @@ -1 +1,3 @@ This is a dummy file to prevent Git from ignoring this empty directory. + + vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCacheFactoryTest.php b/tests/HTMLPurifier/DefinitionCacheFactoryTest.php index 320cef308..8ad7ec6f7 100644 --- a/tests/HTMLPurifier/DefinitionCacheFactoryTest.php +++ b/tests/HTMLPurifier/DefinitionCacheFactoryTest.php @@ -67,3 +67,4 @@ function test_register() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCacheHarness.php b/tests/HTMLPurifier/DefinitionCacheHarness.php index 86858d4dd..ab3cef451 100644 --- a/tests/HTMLPurifier/DefinitionCacheHarness.php +++ b/tests/HTMLPurifier/DefinitionCacheHarness.php @@ -31,3 +31,4 @@ protected function generateDefinition($member_vars = array()) { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCacheTest.php b/tests/HTMLPurifier/DefinitionCacheTest.php index 6e6026309..247d13494 100644 --- a/tests/HTMLPurifier/DefinitionCacheTest.php +++ b/tests/HTMLPurifier/DefinitionCacheTest.php @@ -29,3 +29,4 @@ function test_isOld() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionTest.php b/tests/HTMLPurifier/DefinitionTest.php index d1ca62da1..38676ad7a 100644 --- a/tests/HTMLPurifier/DefinitionTest.php +++ b/tests/HTMLPurifier/DefinitionTest.php @@ -17,3 +17,4 @@ function test_setup_redundant() { } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionTestable.php b/tests/HTMLPurifier/DefinitionTestable.php index 7a33d96b9..312c57bb4 100644 --- a/tests/HTMLPurifier/DefinitionTestable.php +++ b/tests/HTMLPurifier/DefinitionTestable.php @@ -5,3 +5,4 @@ 'HTMLPurifier_DefinitionTestable', array('doSetup')); +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DoctypeRegistryTest.php b/tests/HTMLPurifier/DoctypeRegistryTest.php index e731a6d4d..189003ace 100644 --- a/tests/HTMLPurifier/DoctypeRegistryTest.php +++ b/tests/HTMLPurifier/DoctypeRegistryTest.php @@ -74,3 +74,4 @@ function testAliases() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ElementDefTest.php b/tests/HTMLPurifier/ElementDefTest.php index 1afb9cdbb..60fb486e0 100644 --- a/tests/HTMLPurifier/ElementDefTest.php +++ b/tests/HTMLPurifier/ElementDefTest.php @@ -88,3 +88,4 @@ function test_mergeIn() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/EncoderTest.php b/tests/HTMLPurifier/EncoderTest.php index 51adbfd66..8aba3bda8 100644 --- a/tests/HTMLPurifier/EncoderTest.php +++ b/tests/HTMLPurifier/EncoderTest.php @@ -183,3 +183,4 @@ function testShiftJIS() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/EntityLookupTest.php b/tests/HTMLPurifier/EntityLookupTest.php index 99c55bb3e..e715f64a2 100644 --- a/tests/HTMLPurifier/EntityLookupTest.php +++ b/tests/HTMLPurifier/EntityLookupTest.php @@ -24,3 +24,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/EntityParserTest.php b/tests/HTMLPurifier/EntityParserTest.php index ec5eac86c..17ef62a18 100644 --- a/tests/HTMLPurifier/EntityParserTest.php +++ b/tests/HTMLPurifier/EntityParserTest.php @@ -82,3 +82,4 @@ function test_substituteSpecialEntities() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ErrorCollectorEMock.php b/tests/HTMLPurifier/ErrorCollectorEMock.php index 5a817aa98..bbd096569 100644 --- a/tests/HTMLPurifier/ErrorCollectorEMock.php +++ b/tests/HTMLPurifier/ErrorCollectorEMock.php @@ -45,3 +45,4 @@ public function send($v1, $v2) { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ErrorCollectorTest.php b/tests/HTMLPurifier/ErrorCollectorTest.php index e5bd84ac4..09becba53 100644 --- a/tests/HTMLPurifier/ErrorCollectorTest.php +++ b/tests/HTMLPurifier/ErrorCollectorTest.php @@ -154,3 +154,4 @@ function testNestedErrors() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ErrorsHarness.php b/tests/HTMLPurifier/ErrorsHarness.php index b2fce482f..f7c673ca5 100644 --- a/tests/HTMLPurifier/ErrorsHarness.php +++ b/tests/HTMLPurifier/ErrorsHarness.php @@ -35,3 +35,4 @@ protected function expectContext($key, $value) { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Filter/ExtractStyleBlocksTest.php b/tests/HTMLPurifier/Filter/ExtractStyleBlocksTest.php index 38e51ee4d..48672b47c 100644 --- a/tests/HTMLPurifier/Filter/ExtractStyleBlocksTest.php +++ b/tests/HTMLPurifier/Filter/ExtractStyleBlocksTest.php @@ -186,4 +186,6 @@ function test_removeComments() { ); } -} \ No newline at end of file +} + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/GeneratorTest.php b/tests/HTMLPurifier/GeneratorTest.php index 873bf4567..a9379324d 100644 --- a/tests/HTMLPurifier/GeneratorTest.php +++ b/tests/HTMLPurifier/GeneratorTest.php @@ -263,3 +263,4 @@ function test_generateFromTokens_sortAttr() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLDefinitionTest.php b/tests/HTMLPurifier/HTMLDefinitionTest.php index f994e5bb4..389a4b941 100644 --- a/tests/HTMLPurifier/HTMLDefinitionTest.php +++ b/tests/HTMLPurifier/HTMLDefinitionTest.php @@ -349,3 +349,4 @@ function test_injectorIntegrationFail() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/FormsTest.php b/tests/HTMLPurifier/HTMLModule/FormsTest.php index 8323582af..f5ad4c637 100644 --- a/tests/HTMLPurifier/HTMLModule/FormsTest.php +++ b/tests/HTMLPurifier/HTMLModule/FormsTest.php @@ -135,3 +135,4 @@ function testTextInFieldset() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/ImageTest.php b/tests/HTMLPurifier/HTMLModule/ImageTest.php index b4981f7ca..6e74a3df8 100644 --- a/tests/HTMLPurifier/HTMLModule/ImageTest.php +++ b/tests/HTMLPurifier/HTMLModule/ImageTest.php @@ -52,3 +52,4 @@ function testLengthTrusted() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/ObjectTest.php b/tests/HTMLPurifier/HTMLModule/ObjectTest.php index 796af433d..dfc67c1ce 100644 --- a/tests/HTMLPurifier/HTMLModule/ObjectTest.php +++ b/tests/HTMLPurifier/HTMLModule/ObjectTest.php @@ -35,3 +35,4 @@ function testStandardUseCase() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/ProprietaryTest.php b/tests/HTMLPurifier/HTMLModule/ProprietaryTest.php index 78701ab56..daf239f4a 100644 --- a/tests/HTMLPurifier/HTMLModule/ProprietaryTest.php +++ b/tests/HTMLPurifier/HTMLModule/ProprietaryTest.php @@ -27,3 +27,4 @@ function testMarquee() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/RubyTest.php b/tests/HTMLPurifier/HTMLModule/RubyTest.php index 2091df9ec..e3f38ccf8 100644 --- a/tests/HTMLPurifier/HTMLModule/RubyTest.php +++ b/tests/HTMLPurifier/HTMLModule/RubyTest.php @@ -52,3 +52,4 @@ function testBackwardsCompat() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/SafeEmbedTest.php b/tests/HTMLPurifier/HTMLModule/SafeEmbedTest.php index 13c25081f..ec9454b43 100644 --- a/tests/HTMLPurifier/HTMLModule/SafeEmbedTest.php +++ b/tests/HTMLPurifier/HTMLModule/SafeEmbedTest.php @@ -39,3 +39,4 @@ function testFull() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/SafeObjectTest.php b/tests/HTMLPurifier/HTMLModule/SafeObjectTest.php index 48443b03e..b587705c7 100644 --- a/tests/HTMLPurifier/HTMLModule/SafeObjectTest.php +++ b/tests/HTMLPurifier/HTMLModule/SafeObjectTest.php @@ -40,3 +40,4 @@ function testFull() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/ScriptingTest.php b/tests/HTMLPurifier/HTMLModule/ScriptingTest.php index 92a39f1f2..a004c2ed0 100644 --- a/tests/HTMLPurifier/HTMLModule/ScriptingTest.php +++ b/tests/HTMLPurifier/HTMLModule/ScriptingTest.php @@ -52,3 +52,4 @@ function testUnsupportedAttributes() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/TidyTest.php b/tests/HTMLPurifier/HTMLModule/TidyTest.php index e4f5ad833..e80aeb16d 100644 --- a/tests/HTMLPurifier/HTMLModule/TidyTest.php +++ b/tests/HTMLPurifier/HTMLModule/TidyTest.php @@ -221,3 +221,4 @@ function test_populate() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModuleHarness.php b/tests/HTMLPurifier/HTMLModuleHarness.php index f90529656..7aadf468a 100644 --- a/tests/HTMLPurifier/HTMLModuleHarness.php +++ b/tests/HTMLPurifier/HTMLModuleHarness.php @@ -8,3 +8,4 @@ function setup() { } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModuleManagerTest.php b/tests/HTMLPurifier/HTMLModuleManagerTest.php index b357419e0..32ddab5e1 100644 --- a/tests/HTMLPurifier/HTMLModuleManagerTest.php +++ b/tests/HTMLPurifier/HTMLModuleManagerTest.php @@ -117,3 +117,4 @@ function testAllowedModules() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModuleTest.php b/tests/HTMLPurifier/HTMLModuleTest.php index 92f7dcbac..65220f08b 100644 --- a/tests/HTMLPurifier/HTMLModuleTest.php +++ b/tests/HTMLPurifier/HTMLModuleTest.php @@ -143,3 +143,4 @@ function test_makeLookup() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT.php b/tests/HTMLPurifier/HTMLT.php index 75c7eae27..b32a072e9 100644 --- a/tests/HTMLPurifier/HTMLT.php +++ b/tests/HTMLPurifier/HTMLT.php @@ -29,3 +29,5 @@ public function testHtmlt() { if (isset($hash['INI'])) unlink($ini_file); } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/allowed-preserve.htmlt b/tests/HTMLPurifier/HTMLT/allowed-preserve.htmlt index 8d658c6c2..650f00b6b 100644 --- a/tests/HTMLPurifier/HTMLT/allowed-preserve.htmlt +++ b/tests/HTMLPurifier/HTMLT/allowed-preserve.htmlt @@ -5,3 +5,4 @@ HTML.AllowedAttributes = a.href,*.id

Par.

Paragraph

TextBold +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/allowed-remove.htmlt b/tests/HTMLPurifier/HTMLT/allowed-remove.htmlt index 6588a80e0..2b6b8eea6 100644 --- a/tests/HTMLPurifier/HTMLT/allowed-remove.htmlt +++ b/tests/HTMLPurifier/HTMLT/allowed-remove.htmlt @@ -5,3 +5,4 @@ HTML.AllowedAttributes = a.href,*.id Not allowedRemove id too! --EXPECT-- Not allowedRemove id too! +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/basic.htmlt b/tests/HTMLPurifier/HTMLT/basic.htmlt index 2471dfd6e..4c1f42778 100644 --- a/tests/HTMLPurifier/HTMLT/basic.htmlt +++ b/tests/HTMLPurifier/HTMLT/basic.htmlt @@ -2,3 +2,4 @@ basic --EXPECT-- basic +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/blacklist-preserve.htmlt b/tests/HTMLPurifier/HTMLT/blacklist-preserve.htmlt index 89b6ca4cc..d8882fe22 100644 --- a/tests/HTMLPurifier/HTMLT/blacklist-preserve.htmlt +++ b/tests/HTMLPurifier/HTMLT/blacklist-preserve.htmlt @@ -3,3 +3,4 @@ HTML.ForbiddenElements = b HTML.ForbiddenAttributes = a@href --HTML--

foo

+--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/blacklist-remove.htmlt b/tests/HTMLPurifier/HTMLT/blacklist-remove.htmlt index fcc815cf8..1b5985873 100644 --- a/tests/HTMLPurifier/HTMLT/blacklist-remove.htmlt +++ b/tests/HTMLPurifier/HTMLT/blacklist-remove.htmlt @@ -5,3 +5,4 @@ HTML.ForbiddenAttributes = a@href Foobar --EXPECT-- Foobar +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/css-allowed-preserve.htmlt b/tests/HTMLPurifier/HTMLT/css-allowed-preserve.htmlt index d74b7d386..a5fe3f849 100644 --- a/tests/HTMLPurifier/HTMLT/css-allowed-preserve.htmlt +++ b/tests/HTMLPurifier/HTMLT/css-allowed-preserve.htmlt @@ -2,3 +2,4 @@ CSS.AllowedProperties = color,background-color --HTML--
red
+--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/css-allowed-remove.htmlt b/tests/HTMLPurifier/HTMLT/css-allowed-remove.htmlt index dfacc0076..644b7001a 100644 --- a/tests/HTMLPurifier/HTMLT/css-allowed-remove.htmlt +++ b/tests/HTMLPurifier/HTMLT/css-allowed-remove.htmlt @@ -4,3 +4,4 @@ CSS.AllowedProperties = color,background-color
red
--EXPECT--
red
+--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/disable-uri.htmlt b/tests/HTMLPurifier/HTMLT/disable-uri.htmlt index 054b0ef5b..fa692e444 100644 --- a/tests/HTMLPurifier/HTMLT/disable-uri.htmlt +++ b/tests/HTMLPurifier/HTMLT/disable-uri.htmlt @@ -3,3 +3,4 @@ URI.Disable = true --HTML-- --EXPECT-- +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/empty.htmlt b/tests/HTMLPurifier/HTMLT/empty.htmlt index dee931f0e..9094c47b0 100644 --- a/tests/HTMLPurifier/HTMLT/empty.htmlt +++ b/tests/HTMLPurifier/HTMLT/empty.htmlt @@ -3,4 +3,4 @@ --HTML-- --EXPECT-- - +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/id-default.htmlt b/tests/HTMLPurifier/HTMLT/id-default.htmlt index 26c78fc78..1c1460f2c 100644 --- a/tests/HTMLPurifier/HTMLT/id-default.htmlt +++ b/tests/HTMLPurifier/HTMLT/id-default.htmlt @@ -2,3 +2,4 @@ foobar --EXPECT-- foobar +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/id-enabled.htmlt b/tests/HTMLPurifier/HTMLT/id-enabled.htmlt index 0b43afae3..70ddcf99f 100644 --- a/tests/HTMLPurifier/HTMLT/id-enabled.htmlt +++ b/tests/HTMLPurifier/HTMLT/id-enabled.htmlt @@ -3,3 +3,4 @@ Attr.EnableID = true --HTML-- foobar Omigosh! +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/munge-extra.htmlt b/tests/HTMLPurifier/HTMLT/munge-extra.htmlt index ba4e23737..a469cdd4a 100644 --- a/tests/HTMLPurifier/HTMLT/munge-extra.htmlt +++ b/tests/HTMLPurifier/HTMLT/munge-extra.htmlt @@ -8,3 +8,4 @@ URI.MungeResources = true --EXPECT-- Link example.com +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/name.htmlt b/tests/HTMLPurifier/HTMLT/name.htmlt index d853e81a4..1713ed417 100644 --- a/tests/HTMLPurifier/HTMLT/name.htmlt +++ b/tests/HTMLPurifier/HTMLT/name.htmlt @@ -3,3 +3,4 @@ Attr.EnableID = true HTML.Doctype = "XHTML 1.0 Strict" --HTML-- +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/safe-object-embed-munge.htmlt b/tests/HTMLPurifier/HTMLT/safe-object-embed-munge.htmlt index 16bbf3226..77b32d3a1 100644 --- a/tests/HTMLPurifier/HTMLT/safe-object-embed-munge.htmlt +++ b/tests/HTMLPurifier/HTMLT/safe-object-embed-munge.htmlt @@ -7,3 +7,4 @@ URI.MungeSecretKey = "foo" --EXPECT-- +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/safe-object-embed.htmlt b/tests/HTMLPurifier/HTMLT/safe-object-embed.htmlt index 99c759033..f4bb0ff09 100644 --- a/tests/HTMLPurifier/HTMLT/safe-object-embed.htmlt +++ b/tests/HTMLPurifier/HTMLT/safe-object-embed.htmlt @@ -5,3 +5,4 @@ HTML.SafeEmbed = true --EXPECT-- +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/script-bare.htmlt b/tests/HTMLPurifier/HTMLT/script-bare.htmlt index 37a6042f2..f85c2fb5e 100644 --- a/tests/HTMLPurifier/HTMLT/script-bare.htmlt +++ b/tests/HTMLPurifier/HTMLT/script-bare.htmlt @@ -6,3 +6,4 @@ HTML.Trusted = true +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/script-cdata.htmlt b/tests/HTMLPurifier/HTMLT/script-cdata.htmlt index 01e21700b..e7d6d7f5b 100644 --- a/tests/HTMLPurifier/HTMLT/script-cdata.htmlt +++ b/tests/HTMLPurifier/HTMLT/script-cdata.htmlt @@ -8,3 +8,4 @@ alert(""); +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/script-comment.htmlt b/tests/HTMLPurifier/HTMLT/script-comment.htmlt index fc8773864..006901919 100644 --- a/tests/HTMLPurifier/HTMLT/script-comment.htmlt +++ b/tests/HTMLPurifier/HTMLT/script-comment.htmlt @@ -8,3 +8,4 @@ alert(""); +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/script-dbl-comment.htmlt b/tests/HTMLPurifier/HTMLT/script-dbl-comment.htmlt index c538c89e1..ef899b597 100644 --- a/tests/HTMLPurifier/HTMLT/script-dbl-comment.htmlt +++ b/tests/HTMLPurifier/HTMLT/script-dbl-comment.htmlt @@ -8,3 +8,4 @@ alert(""); +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/script-ideal.htmlt b/tests/HTMLPurifier/HTMLT/script-ideal.htmlt index 15560d046..70510687c 100644 --- a/tests/HTMLPurifier/HTMLT/script-ideal.htmlt +++ b/tests/HTMLPurifier/HTMLT/script-ideal.htmlt @@ -8,3 +8,4 @@ alert(""); +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/secure-munge.htmlt b/tests/HTMLPurifier/HTMLT/secure-munge.htmlt index 9fda1df4b..114cb0000 100644 --- a/tests/HTMLPurifier/HTMLT/secure-munge.htmlt +++ b/tests/HTMLPurifier/HTMLT/secure-munge.htmlt @@ -7,3 +7,4 @@ URI.MungeSecretKey = "foo" --EXPECT-- foo local +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/shift-jis-preserve-yen.htmlt b/tests/HTMLPurifier/HTMLT/shift-jis-preserve-yen.htmlt index a7abb7858..f22417c01 100644 --- a/tests/HTMLPurifier/HTMLT/shift-jis-preserve-yen.htmlt +++ b/tests/HTMLPurifier/HTMLT/shift-jis-preserve-yen.htmlt @@ -5,3 +5,4 @@ Core.Encoding = "Shift_JIS" Core.EscapeNonASCIICharacters = true --HTML-- 111 +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/shift-jis-remove-yen.htmlt b/tests/HTMLPurifier/HTMLT/shift-jis-remove-yen.htmlt index 2013554d9..6c2d3bc4c 100644 --- a/tests/HTMLPurifier/HTMLT/shift-jis-remove-yen.htmlt +++ b/tests/HTMLPurifier/HTMLT/shift-jis-remove-yen.htmlt @@ -6,3 +6,4 @@ Core.Encoding = Shift_JIS 111 --EXPECT-- 111 +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/strict-blockquote-with-inline.htmlt b/tests/HTMLPurifier/HTMLT/strict-blockquote-with-inline.htmlt index d1825b950..a6eb0ec66 100644 --- a/tests/HTMLPurifier/HTMLT/strict-blockquote-with-inline.htmlt +++ b/tests/HTMLPurifier/HTMLT/strict-blockquote-with-inline.htmlt @@ -4,3 +4,4 @@ HTML.Doctype = "XHTML 1.0 Strict"
Illegal contents
--EXPECT--

Illegal contents

+--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/strict-blockquote.htmlt b/tests/HTMLPurifier/HTMLT/strict-blockquote.htmlt index 333b6f92a..b61e8dc07 100644 --- a/tests/HTMLPurifier/HTMLT/strict-blockquote.htmlt +++ b/tests/HTMLPurifier/HTMLT/strict-blockquote.htmlt @@ -4,3 +4,4 @@ HTML.Strict = true
Illegal contents
--EXPECT--

Illegal contents

+--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/strict-underline.htmlt b/tests/HTMLPurifier/HTMLT/strict-underline.htmlt index 9c37b5304..a2e18b1c9 100644 --- a/tests/HTMLPurifier/HTMLT/strict-underline.htmlt +++ b/tests/HTMLPurifier/HTMLT/strict-underline.htmlt @@ -4,3 +4,4 @@ HTML.Strict = true Illegal underline --EXPECT-- Illegal underline +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/tidy-background.htmlt b/tests/HTMLPurifier/HTMLT/tidy-background.htmlt index 26dc21a9b..9b1127085 100644 --- a/tests/HTMLPurifier/HTMLT/tidy-background.htmlt +++ b/tests/HTMLPurifier/HTMLT/tidy-background.htmlt @@ -2,3 +2,4 @@
asdf
--EXPECT--
asdf
+--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT/whitespace-preserve.htmlt b/tests/HTMLPurifier/HTMLT/whitespace-preserve.htmlt index 0e43f5869..861bddaf4 100644 --- a/tests/HTMLPurifier/HTMLT/whitespace-preserve.htmlt +++ b/tests/HTMLPurifier/HTMLT/whitespace-preserve.htmlt @@ -1,3 +1,3 @@ --HTML-- Foo bar - +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Harness.php b/tests/HTMLPurifier/Harness.php index 100c440a1..56088c150 100644 --- a/tests/HTMLPurifier/Harness.php +++ b/tests/HTMLPurifier/Harness.php @@ -87,3 +87,4 @@ public function getTests() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/IDAccumulatorTest.php b/tests/HTMLPurifier/IDAccumulatorTest.php index 142aebf51..c748845fc 100644 --- a/tests/HTMLPurifier/IDAccumulatorTest.php +++ b/tests/HTMLPurifier/IDAccumulatorTest.php @@ -36,3 +36,4 @@ function testBuild() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Injector/AutoParagraphTest.php b/tests/HTMLPurifier/Injector/AutoParagraphTest.php index 477f8891c..b5fc03250 100644 --- a/tests/HTMLPurifier/Injector/AutoParagraphTest.php +++ b/tests/HTMLPurifier/Injector/AutoParagraphTest.php @@ -505,3 +505,4 @@ function testErrorNeeded() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Injector/DisplayLinkURITest.php b/tests/HTMLPurifier/Injector/DisplayLinkURITest.php index 4099d0b1a..3e8fbfbef 100644 --- a/tests/HTMLPurifier/Injector/DisplayLinkURITest.php +++ b/tests/HTMLPurifier/Injector/DisplayLinkURITest.php @@ -29,4 +29,5 @@ function testEmptyText() { } } -?> \ No newline at end of file + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Injector/LinkifyTest.php b/tests/HTMLPurifier/Injector/LinkifyTest.php index 1e44a75ab..707f09b59 100644 --- a/tests/HTMLPurifier/Injector/LinkifyTest.php +++ b/tests/HTMLPurifier/Injector/LinkifyTest.php @@ -43,3 +43,4 @@ function testNeeded() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Injector/PurifierLinkifyTest.php b/tests/HTMLPurifier/Injector/PurifierLinkifyTest.php index 6f54bde87..f3ae67ad1 100644 --- a/tests/HTMLPurifier/Injector/PurifierLinkifyTest.php +++ b/tests/HTMLPurifier/Injector/PurifierLinkifyTest.php @@ -56,3 +56,4 @@ function testNeeded() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Injector/RemoveEmptyTest.php b/tests/HTMLPurifier/Injector/RemoveEmptyTest.php index 01ccae990..37c1cbe43 100644 --- a/tests/HTMLPurifier/Injector/RemoveEmptyTest.php +++ b/tests/HTMLPurifier/Injector/RemoveEmptyTest.php @@ -56,3 +56,4 @@ function testRemoveNested3() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Injector/SafeObjectTest.php b/tests/HTMLPurifier/Injector/SafeObjectTest.php index 8e12d8e36..1a0eab521 100644 --- a/tests/HTMLPurifier/Injector/SafeObjectTest.php +++ b/tests/HTMLPurifier/Injector/SafeObjectTest.php @@ -85,3 +85,4 @@ function testNotActuallyNested() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/InjectorHarness.php b/tests/HTMLPurifier/InjectorHarness.php index 763d0bf66..e3815175a 100644 --- a/tests/HTMLPurifier/InjectorHarness.php +++ b/tests/HTMLPurifier/InjectorHarness.php @@ -10,3 +10,4 @@ function setUp() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/LanguageFactoryTest.php b/tests/HTMLPurifier/LanguageFactoryTest.php index 3ad3f3ac5..89751a1f0 100644 --- a/tests/HTMLPurifier/LanguageFactoryTest.php +++ b/tests/HTMLPurifier/LanguageFactoryTest.php @@ -67,3 +67,4 @@ function testNoSuchLanguage() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/LanguageTest.php b/tests/HTMLPurifier/LanguageTest.php index 06eed1af0..033b6aa71 100644 --- a/tests/HTMLPurifier/LanguageTest.php +++ b/tests/HTMLPurifier/LanguageTest.php @@ -76,3 +76,4 @@ function test_formatMessage_arrayParameter() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/LengthTest.php b/tests/HTMLPurifier/LengthTest.php index 3868823df..2968b6d33 100644 --- a/tests/HTMLPurifier/LengthTest.php +++ b/tests/HTMLPurifier/LengthTest.php @@ -69,3 +69,5 @@ function testCompareTo() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Lexer/DirectLexTest.php b/tests/HTMLPurifier/Lexer/DirectLexTest.php index 745cd51f5..095b5c952 100644 --- a/tests/HTMLPurifier/Lexer/DirectLexTest.php +++ b/tests/HTMLPurifier/Lexer/DirectLexTest.php @@ -127,3 +127,4 @@ function testLineNumbers() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Lexer/DirectLex_ErrorsTest.php b/tests/HTMLPurifier/Lexer/DirectLex_ErrorsTest.php index c7a8f8a2d..b6ea70938 100644 --- a/tests/HTMLPurifier/Lexer/DirectLex_ErrorsTest.php +++ b/tests/HTMLPurifier/Lexer/DirectLex_ErrorsTest.php @@ -50,3 +50,4 @@ function testMissingEndQuote() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/LexerTest.php b/tests/HTMLPurifier/LexerTest.php index c49375f6c..3d9c03090 100644 --- a/tests/HTMLPurifier/LexerTest.php +++ b/tests/HTMLPurifier/LexerTest.php @@ -687,3 +687,4 @@ function test_tokenizeHTML_() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/PHPT/domxml.phpt b/tests/HTMLPurifier/PHPT/domxml.phpt index 2cdd41b75..406ac400b 100644 --- a/tests/HTMLPurifier/PHPT/domxml.phpt +++ b/tests/HTMLPurifier/PHPT/domxml.phpt @@ -12,4 +12,4 @@ if (!extension_loaded('dom')) { require '../library/HTMLPurifier.auto.php'; echo get_class(HTMLPurifier_Lexer::create(HTMLPurifier_Config::createDefault())); --EXPECT-- -HTMLPurifier_Lexer_DirectLex +HTMLPurifier_Lexer_DirectLex \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/func.phpt b/tests/HTMLPurifier/PHPT/func.phpt index abbf8bb4a..d194d68d3 100644 --- a/tests/HTMLPurifier/PHPT/func.phpt +++ b/tests/HTMLPurifier/PHPT/func.phpt @@ -6,4 +6,4 @@ require '../library/HTMLPurifier.auto.php'; require 'HTMLPurifier.func.php'; echo HTMLPurifier('Salsa!'); --EXPECT-- -Salsa! +Salsa! \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/kses/basic.phpt b/tests/HTMLPurifier/PHPT/kses/basic.phpt index da2c05a80..8a9cd0162 100644 --- a/tests/HTMLPurifier/PHPT/kses/basic.phpt +++ b/tests/HTMLPurifier/PHPT/kses/basic.phpt @@ -12,4 +12,4 @@ echo kses( ); --EXPECT-- -FooBar +FooBar \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/_autoload.inc b/tests/HTMLPurifier/PHPT/loading/_autoload.inc index 45023695c..42e3500e4 100644 --- a/tests/HTMLPurifier/PHPT/loading/_autoload.inc +++ b/tests/HTMLPurifier/PHPT/loading/_autoload.inc @@ -8,3 +8,5 @@ assert("!in_array(realpath('../library/HTMLPurifier/Filter/YouTube.php'), get_included_files())"); new HTMLPurifier_Filter_YouTube(); assert(" in_array(realpath('../library/HTMLPurifier.autoload.php'), get_included_files())"); + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/PHPT/loading/_no-autoload.inc b/tests/HTMLPurifier/PHPT/loading/_no-autoload.inc index 24bce6f55..fc109e727 100644 --- a/tests/HTMLPurifier/PHPT/loading/_no-autoload.inc +++ b/tests/HTMLPurifier/PHPT/loading/_no-autoload.inc @@ -13,3 +13,5 @@ if (function_exists('spl_autoload_register')) { assert('$__r->getFileName() != realpath("../library/HTMLPurifier.autoload.php")'); } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/PHPT/loading/auto-includes.phpt b/tests/HTMLPurifier/PHPT/loading/auto-includes.phpt index 2768cd04c..6a8f909b8 100644 --- a/tests/HTMLPurifier/PHPT/loading/auto-includes.phpt +++ b/tests/HTMLPurifier/PHPT/loading/auto-includes.phpt @@ -9,4 +9,4 @@ $config = HTMLPurifier_Config::createDefault(); $purifier = new HTMLPurifier($config); echo $purifier->purify('Salsa!'); --EXPECT-- -Salsa! +Salsa! \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/auto-with-autoload.phpt b/tests/HTMLPurifier/PHPT/loading/auto-with-autoload.phpt index 9fcf606eb..aad437202 100644 --- a/tests/HTMLPurifier/PHPT/loading/auto-with-autoload.phpt +++ b/tests/HTMLPurifier/PHPT/loading/auto-with-autoload.phpt @@ -25,4 +25,4 @@ $bar = new Bar(); --EXPECT-- Salsa! -Autoloading Bar... +Autoloading Bar... \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/auto-with-spl-autoload.phpt b/tests/HTMLPurifier/PHPT/loading/auto-with-spl-autoload.phpt index 97c4e033f..1697bb13f 100644 --- a/tests/HTMLPurifier/PHPT/loading/auto-with-spl-autoload.phpt +++ b/tests/HTMLPurifier/PHPT/loading/auto-with-spl-autoload.phpt @@ -40,4 +40,4 @@ $bar = new Bar(); --EXPECT-- Salsa! Special autoloading Foo... -Autoloading Bar... +Autoloading Bar... \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/auto-without-spl-autoload.phpt b/tests/HTMLPurifier/PHPT/loading/auto-without-spl-autoload.phpt index e15d25f84..aeee9dcee 100644 --- a/tests/HTMLPurifier/PHPT/loading/auto-without-spl-autoload.phpt +++ b/tests/HTMLPurifier/PHPT/loading/auto-without-spl-autoload.phpt @@ -16,5 +16,4 @@ echo $purifier->purify('Salsa!') . " "; --EXPECT-- -Salsa! - +Salsa! \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/auto-without-spl-with-autoload.phpt b/tests/HTMLPurifier/PHPT/loading/auto-without-spl-with-autoload.phpt index 8ac186305..2b6f49d8c 100644 --- a/tests/HTMLPurifier/PHPT/loading/auto-without-spl-with-autoload.phpt +++ b/tests/HTMLPurifier/PHPT/loading/auto-without-spl-with-autoload.phpt @@ -18,4 +18,4 @@ require 'HTMLPurifier/PHPT/loading/_no-autoload.inc'; $purifier = new HTMLPurifier(); --EXPECT-- -Autoloading HTMLPurifier... +Autoloading HTMLPurifier... \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/auto.phpt b/tests/HTMLPurifier/PHPT/loading/auto.phpt index bd78f3d91..a4ea716f9 100644 --- a/tests/HTMLPurifier/PHPT/loading/auto.phpt +++ b/tests/HTMLPurifier/PHPT/loading/auto.phpt @@ -8,4 +8,4 @@ $config = HTMLPurifier_Config::createDefault(); $purifier = new HTMLPurifier($config); echo $purifier->purify('Salsa!'); --EXPECT-- -Salsa! +Salsa! \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/error-auto-with-spl-nonstatic-autoload.phpt b/tests/HTMLPurifier/PHPT/loading/error-auto-with-spl-nonstatic-autoload.phpt index 40a3258fc..6dfd50624 100644 --- a/tests/HTMLPurifier/PHPT/loading/error-auto-with-spl-nonstatic-autoload.phpt +++ b/tests/HTMLPurifier/PHPT/loading/error-auto-with-spl-nonstatic-autoload.phpt @@ -26,4 +26,4 @@ try { } --EXPECT-- -Caught error gracefully +Caught error gracefully \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/path-includes-autoload.phpt b/tests/HTMLPurifier/PHPT/loading/path-includes-autoload.phpt index a6cb59e38..6120956c6 100644 --- a/tests/HTMLPurifier/PHPT/loading/path-includes-autoload.phpt +++ b/tests/HTMLPurifier/PHPT/loading/path-includes-autoload.phpt @@ -11,4 +11,4 @@ $purifier = new HTMLPurifier($config); echo $purifier->purify('Salsa!'); --EXPECT-- -Salsa! +Salsa! \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/path-includes.phpt b/tests/HTMLPurifier/PHPT/loading/path-includes.phpt index 2c703ca30..681d51a96 100644 --- a/tests/HTMLPurifier/PHPT/loading/path-includes.phpt +++ b/tests/HTMLPurifier/PHPT/loading/path-includes.phpt @@ -9,4 +9,4 @@ $config = HTMLPurifier_Config::createDefault(); $purifier = new HTMLPurifier($config); echo $purifier->purify('Salsa!'); --EXPECT-- -Salsa! +Salsa! \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/safe-includes.phpt b/tests/HTMLPurifier/PHPT/loading/safe-includes.phpt index 28b17e6ee..cb6f95d53 100644 --- a/tests/HTMLPurifier/PHPT/loading/safe-includes.phpt +++ b/tests/HTMLPurifier/PHPT/loading/safe-includes.phpt @@ -9,4 +9,4 @@ $config = HTMLPurifier_Config::createDefault(); $purifier = new HTMLPurifier($config); echo $purifier->purify('Salsa!'); --EXPECT-- -Salsa! +Salsa! \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/standalone-autoload.phpt b/tests/HTMLPurifier/PHPT/loading/standalone-autoload.phpt index bad3647b2..36bb2efd7 100644 --- a/tests/HTMLPurifier/PHPT/loading/standalone-autoload.phpt +++ b/tests/HTMLPurifier/PHPT/loading/standalone-autoload.phpt @@ -9,4 +9,4 @@ $config = HTMLPurifier_Config::createDefault(); $purifier = new HTMLPurifier($config); echo $purifier->purify('Salsa!'); --EXPECT-- -Salsa! +Salsa! \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/standalone-with-prefix.phpt b/tests/HTMLPurifier/PHPT/loading/standalone-with-prefix.phpt index d1ee2bdb8..721dd7d17 100644 --- a/tests/HTMLPurifier/PHPT/loading/standalone-with-prefix.phpt +++ b/tests/HTMLPurifier/PHPT/loading/standalone-with-prefix.phpt @@ -12,4 +12,4 @@ $purifier = new HTMLPurifier($config); echo $purifier->purify('Salsa!'); assert('in_array(realpath("../library/HTMLPurifier/Filter/YouTube.php"), get_included_files())'); --EXPECT-- -Salsa! +Salsa! \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/loading/standalone.phpt b/tests/HTMLPurifier/PHPT/loading/standalone.phpt index 7fb0a3bca..a4fe4f77d 100644 --- a/tests/HTMLPurifier/PHPT/loading/standalone.phpt +++ b/tests/HTMLPurifier/PHPT/loading/standalone.phpt @@ -10,4 +10,4 @@ $purifier = new HTMLPurifier($config); echo $purifier->purify('Salsa!'); assert('in_array(realpath("../library/standalone/HTMLPurifier/Filter/YouTube.php"), get_included_files())'); --EXPECT-- -Salsa! +Salsa! \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/stub.phpt b/tests/HTMLPurifier/PHPT/stub.phpt index fa8199cf3..e919c5763 100644 --- a/tests/HTMLPurifier/PHPT/stub.phpt +++ b/tests/HTMLPurifier/PHPT/stub.phpt @@ -3,4 +3,4 @@ PHPT testing framework smoketest --FILE-- Foobar --EXPECT-- -Foobar +Foobar \ No newline at end of file diff --git a/tests/HTMLPurifier/PHPT/utf8.phpt b/tests/HTMLPurifier/PHPT/utf8.phpt index 941416d4e..87c20ef66 100644 --- a/tests/HTMLPurifier/PHPT/utf8.phpt +++ b/tests/HTMLPurifier/PHPT/utf8.phpt @@ -6,4 +6,4 @@ require '../library/HTMLPurifier.auto.php'; $purifier = new HTMLPurifier(); echo $purifier->purify('太極拳, ЊЎЖ, لمنس'); --EXPECT-- -太極拳, ЊЎЖ, لمنس +太極拳, ЊЎЖ, لمنس \ No newline at end of file diff --git a/tests/HTMLPurifier/PercentEncoderTest.php b/tests/HTMLPurifier/PercentEncoderTest.php index 4c0f2637a..fa969de13 100644 --- a/tests/HTMLPurifier/PercentEncoderTest.php +++ b/tests/HTMLPurifier/PercentEncoderTest.php @@ -60,3 +60,4 @@ function test_encode_low() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/PropertyListTest.php b/tests/HTMLPurifier/PropertyListTest.php index 998626987..964a7313b 100644 --- a/tests/HTMLPurifier/PropertyListTest.php +++ b/tests/HTMLPurifier/PropertyListTest.php @@ -83,3 +83,5 @@ function testIterator() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/SimpleTest/Reporter.php b/tests/HTMLPurifier/SimpleTest/Reporter.php index 10e52bc1f..f1783d79c 100644 --- a/tests/HTMLPurifier/SimpleTest/Reporter.php +++ b/tests/HTMLPurifier/SimpleTest/Reporter.php @@ -47,3 +47,4 @@ protected function getCss() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/SimpleTest/TextReporter.php b/tests/HTMLPurifier/SimpleTest/TextReporter.php index 77b9f3882..f9f407f17 100644 --- a/tests/HTMLPurifier/SimpleTest/TextReporter.php +++ b/tests/HTMLPurifier/SimpleTest/TextReporter.php @@ -16,3 +16,5 @@ function paintPass($message) { } } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/CompositeTest.php b/tests/HTMLPurifier/Strategy/CompositeTest.php index 591f9271c..8be422cc9 100644 --- a/tests/HTMLPurifier/Strategy/CompositeTest.php +++ b/tests/HTMLPurifier/Strategy/CompositeTest.php @@ -63,3 +63,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/CoreTest.php b/tests/HTMLPurifier/Strategy/CoreTest.php index 932f38ec3..96b699306 100644 --- a/tests/HTMLPurifier/Strategy/CoreTest.php +++ b/tests/HTMLPurifier/Strategy/CoreTest.php @@ -42,3 +42,4 @@ function testFirstThree() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/ErrorsHarness.php b/tests/HTMLPurifier/Strategy/ErrorsHarness.php index 2d51f7e28..0e1bca681 100644 --- a/tests/HTMLPurifier/Strategy/ErrorsHarness.php +++ b/tests/HTMLPurifier/Strategy/ErrorsHarness.php @@ -15,3 +15,4 @@ protected function invoke($input) { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/FixNestingTest.php b/tests/HTMLPurifier/Strategy/FixNestingTest.php index 20febddbf..93299a793 100644 --- a/tests/HTMLPurifier/Strategy/FixNestingTest.php +++ b/tests/HTMLPurifier/Strategy/FixNestingTest.php @@ -134,3 +134,4 @@ function testStrictBlockquoteInHTML401() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/FixNesting_ErrorsTest.php b/tests/HTMLPurifier/Strategy/FixNesting_ErrorsTest.php index 517349b5d..468480774 100644 --- a/tests/HTMLPurifier/Strategy/FixNesting_ErrorsTest.php +++ b/tests/HTMLPurifier/Strategy/FixNesting_ErrorsTest.php @@ -38,3 +38,4 @@ function testNodeContentsRemoved() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjector.php b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjector.php index 0673aee92..d1724bcb3 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjector.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjector.php @@ -14,3 +14,5 @@ public function handleEnd(&$token) { ); } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjectorTest.php b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjectorTest.php index ea0025a25..7e62b7215 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjectorTest.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjectorTest.php @@ -35,3 +35,4 @@ function testLessButStillSpuriousEndTag() { } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjector.php b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjector.php index 9352c1e43..21c491436 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjector.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjector.php @@ -25,3 +25,5 @@ public function handleEnd(&$token) { } } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjectorTest.php b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjectorTest.php index ef906e847..e5e46ef69 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjectorTest.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjectorTest.php @@ -30,3 +30,4 @@ function testDoubled() { } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjector.php b/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjector.php index 9ee8e8269..258346b8d 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjector.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjector.php @@ -8,3 +8,5 @@ public function handleElement(&$token) { $token = array(clone $token, clone $token); } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjectorTest.php b/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjectorTest.php index 2ed0d85d5..e63ca6b3b 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjectorTest.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjectorTest.php @@ -24,3 +24,4 @@ function testMultiplyMultiply() { } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormedTest.php b/tests/HTMLPurifier/Strategy/MakeWellFormedTest.php index 2d28509ae..3d6892d2c 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormedTest.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormedTest.php @@ -104,3 +104,4 @@ function testBlockquoteWithInline() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed_ErrorsTest.php b/tests/HTMLPurifier/Strategy/MakeWellFormed_ErrorsTest.php index 25cd4bae9..5a63e3ea0 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed_ErrorsTest.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed_ErrorsTest.php @@ -52,3 +52,4 @@ function testTagClosedByDocumentEnd() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed_InjectorTest.php b/tests/HTMLPurifier/Strategy/MakeWellFormed_InjectorTest.php index dbdb4c5b2..05d01bfcc 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed_InjectorTest.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed_InjectorTest.php @@ -147,3 +147,5 @@ function testRewindAndParagraph() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/RemoveForeignElementsTest.php b/tests/HTMLPurifier/Strategy/RemoveForeignElementsTest.php index 2ac3daa47..125fc81b1 100644 --- a/tests/HTMLPurifier/Strategy/RemoveForeignElementsTest.php +++ b/tests/HTMLPurifier/Strategy/RemoveForeignElementsTest.php @@ -105,3 +105,4 @@ function testCollapseDoubleHyphensInComment() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/RemoveForeignElements_ErrorsTest.php b/tests/HTMLPurifier/Strategy/RemoveForeignElements_ErrorsTest.php index 7c91e5b70..b733af223 100644 --- a/tests/HTMLPurifier/Strategy/RemoveForeignElements_ErrorsTest.php +++ b/tests/HTMLPurifier/Strategy/RemoveForeignElements_ErrorsTest.php @@ -68,3 +68,4 @@ function testForeignMetaElementRemoved() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/RemoveForeignElements_TidyTest.php b/tests/HTMLPurifier/Strategy/RemoveForeignElements_TidyTest.php index 5fb2362af..4131979c2 100644 --- a/tests/HTMLPurifier/Strategy/RemoveForeignElements_TidyTest.php +++ b/tests/HTMLPurifier/Strategy/RemoveForeignElements_TidyTest.php @@ -41,3 +41,5 @@ function testMenuTransform() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/ValidateAttributesTest.php b/tests/HTMLPurifier/Strategy/ValidateAttributesTest.php index 56eff2534..ec5049c35 100644 --- a/tests/HTMLPurifier/Strategy/ValidateAttributesTest.php +++ b/tests/HTMLPurifier/Strategy/ValidateAttributesTest.php @@ -228,4 +228,4 @@ function testRemovePercentCSSWidthAndHeightOnImg() { } - +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/ValidateAttributes_IDTest.php b/tests/HTMLPurifier/Strategy/ValidateAttributes_IDTest.php index e8b60f86c..a1ce4ca6b 100644 --- a/tests/HTMLPurifier/Strategy/ValidateAttributes_IDTest.php +++ b/tests/HTMLPurifier/Strategy/ValidateAttributes_IDTest.php @@ -60,3 +60,4 @@ function testNameConvertedToID() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php b/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php index ab369f7fa..a873f7fa5 100644 --- a/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php +++ b/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php @@ -348,3 +348,4 @@ function testLiConvertTypeCaseSensitive() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/StrategyHarness.php b/tests/HTMLPurifier/StrategyHarness.php index 792376666..15f22f6bd 100644 --- a/tests/HTMLPurifier/StrategyHarness.php +++ b/tests/HTMLPurifier/StrategyHarness.php @@ -12,3 +12,4 @@ function setUp() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/StringHashParser/AppendMultiline.txt b/tests/HTMLPurifier/StringHashParser/AppendMultiline.txt index a22ccddc0..dfc12da3b 100644 --- a/tests/HTMLPurifier/StringHashParser/AppendMultiline.txt +++ b/tests/HTMLPurifier/StringHashParser/AppendMultiline.txt @@ -2,3 +2,4 @@ Line1 --KEY-- Line2 +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/StringHashParser/Default.txt b/tests/HTMLPurifier/StringHashParser/Default.txt index 844acee91..9d2aea80d 100644 --- a/tests/HTMLPurifier/StringHashParser/Default.txt +++ b/tests/HTMLPurifier/StringHashParser/Default.txt @@ -1 +1,2 @@ DefaultValue +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/StringHashParser/Multi.txt b/tests/HTMLPurifier/StringHashParser/Multi.txt index e5c2f4b11..caea55b1e 100644 --- a/tests/HTMLPurifier/StringHashParser/Multi.txt +++ b/tests/HTMLPurifier/StringHashParser/Multi.txt @@ -16,3 +16,4 @@ M stuff --FOR-WHO-- Single multiline2 +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/StringHashParser/OverrideSingle.txt b/tests/HTMLPurifier/StringHashParser/OverrideSingle.txt index 88db3b46f..1d27c7148 100644 --- a/tests/HTMLPurifier/StringHashParser/OverrideSingle.txt +++ b/tests/HTMLPurifier/StringHashParser/OverrideSingle.txt @@ -1,2 +1,3 @@ KEY: Original -KEY: New \ No newline at end of file +KEY: New +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/StringHashParser/Simple.txt b/tests/HTMLPurifier/StringHashParser/Simple.txt index 939cb6d05..e8042d9ed 100644 --- a/tests/HTMLPurifier/StringHashParser/Simple.txt +++ b/tests/HTMLPurifier/StringHashParser/Simple.txt @@ -7,3 +7,4 @@ stuff --EMPTY-- --FOR-WHO-- Single multiline +--# vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/StringHashParserTest.php b/tests/HTMLPurifier/StringHashParserTest.php index 1a8b88458..6d357f86c 100644 --- a/tests/HTMLPurifier/StringHashParserTest.php +++ b/tests/HTMLPurifier/StringHashParserTest.php @@ -85,3 +85,5 @@ function testParseMultiple() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/StringHashTest.php b/tests/HTMLPurifier/StringHashTest.php index 01b1c1d34..653e5bf70 100644 --- a/tests/HTMLPurifier/StringHashTest.php +++ b/tests/HTMLPurifier/StringHashTest.php @@ -16,3 +16,5 @@ function testUsed() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/TagTransformTest.php b/tests/HTMLPurifier/TagTransformTest.php index a828af060..2e351016c 100644 --- a/tests/HTMLPurifier/TagTransformTest.php +++ b/tests/HTMLPurifier/TagTransformTest.php @@ -172,3 +172,4 @@ function testFont() { } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/TokenFactoryTest.php b/tests/HTMLPurifier/TokenFactoryTest.php index fba843304..3eb731f83 100644 --- a/tests/HTMLPurifier/TokenFactoryTest.php +++ b/tests/HTMLPurifier/TokenFactoryTest.php @@ -14,3 +14,4 @@ public function test() { } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/TokenTest.php b/tests/HTMLPurifier/TokenTest.php index baa93804d..099b98603 100644 --- a/tests/HTMLPurifier/TokenTest.php +++ b/tests/HTMLPurifier/TokenTest.php @@ -31,3 +31,4 @@ function testConstruct() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIDefinitionTest.php b/tests/HTMLPurifier/URIDefinitionTest.php index 6f5b5bc0e..aefd0ed71 100644 --- a/tests/HTMLPurifier/URIDefinitionTest.php +++ b/tests/HTMLPurifier/URIDefinitionTest.php @@ -58,3 +58,5 @@ function test_setupMemberVariables_onlyBase() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIFilter/DisableExternalResourcesTest.php b/tests/HTMLPurifier/URIFilter/DisableExternalResourcesTest.php index b5488500e..21c70c145 100644 --- a/tests/HTMLPurifier/URIFilter/DisableExternalResourcesTest.php +++ b/tests/HTMLPurifier/URIFilter/DisableExternalResourcesTest.php @@ -19,3 +19,5 @@ function testPreserveWhenNotEmbedded() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIFilter/DisableExternalTest.php b/tests/HTMLPurifier/URIFilter/DisableExternalTest.php index 72069a3ea..bb1e8bfc1 100644 --- a/tests/HTMLPurifier/URIFilter/DisableExternalTest.php +++ b/tests/HTMLPurifier/URIFilter/DisableExternalTest.php @@ -49,3 +49,5 @@ function testBaseAsHost() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIFilter/HostBlacklistTest.php b/tests/HTMLPurifier/URIFilter/HostBlacklistTest.php index 64061c953..26c0efcf2 100644 --- a/tests/HTMLPurifier/URIFilter/HostBlacklistTest.php +++ b/tests/HTMLPurifier/URIFilter/HostBlacklistTest.php @@ -25,3 +25,5 @@ function testPreserveNonBlacklistedHost() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIFilter/MakeAbsoluteTest.php b/tests/HTMLPurifier/URIFilter/MakeAbsoluteTest.php index 6a163e4a3..ff9f0aca9 100644 --- a/tests/HTMLPurifier/URIFilter/MakeAbsoluteTest.php +++ b/tests/HTMLPurifier/URIFilter/MakeAbsoluteTest.php @@ -142,3 +142,5 @@ function testErrorNoBase() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIFilter/MungeTest.php b/tests/HTMLPurifier/URIFilter/MungeTest.php index fdd94ea53..a1d4da041 100644 --- a/tests/HTMLPurifier/URIFilter/MungeTest.php +++ b/tests/HTMLPurifier/URIFilter/MungeTest.php @@ -118,3 +118,5 @@ function testMungeIgnoreSameDomain() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIFilterHarness.php b/tests/HTMLPurifier/URIFilterHarness.php index 39bf057ba..165ae6788 100644 --- a/tests/HTMLPurifier/URIFilterHarness.php +++ b/tests/HTMLPurifier/URIFilterHarness.php @@ -11,3 +11,5 @@ protected function assertFiltering($uri, $expect_uri = true) { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIHarness.php b/tests/HTMLPurifier/URIHarness.php index b2dd7b25b..852460a85 100644 --- a/tests/HTMLPurifier/URIHarness.php +++ b/tests/HTMLPurifier/URIHarness.php @@ -27,3 +27,5 @@ protected function createURI($uri) { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIParserTest.php b/tests/HTMLPurifier/URIParserTest.php index 4e88ed885..5cb5850f7 100644 --- a/tests/HTMLPurifier/URIParserTest.php +++ b/tests/HTMLPurifier/URIParserTest.php @@ -142,3 +142,4 @@ function testEmpty() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URISchemeRegistryTest.php b/tests/HTMLPurifier/URISchemeRegistryTest.php index aeb39fb1a..e124aa18d 100644 --- a/tests/HTMLPurifier/URISchemeRegistryTest.php +++ b/tests/HTMLPurifier/URISchemeRegistryTest.php @@ -46,3 +46,4 @@ function test() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URISchemeTest.php b/tests/HTMLPurifier/URISchemeTest.php index 24f1fbe32..b9f6acf3b 100644 --- a/tests/HTMLPurifier/URISchemeTest.php +++ b/tests/HTMLPurifier/URISchemeTest.php @@ -134,3 +134,4 @@ function test_mailto_removalOfRedundantOrUselessComponents() { } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URITest.php b/tests/HTMLPurifier/URITest.php index 5c10c5029..f6a59b43c 100644 --- a/tests/HTMLPurifier/URITest.php +++ b/tests/HTMLPurifier/URITest.php @@ -197,3 +197,5 @@ function test_validate_path_empty() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/UnitConverterTest.php b/tests/HTMLPurifier/UnitConverterTest.php index 22bb61859..3dc1e2afa 100644 --- a/tests/HTMLPurifier/UnitConverterTest.php +++ b/tests/HTMLPurifier/UnitConverterTest.php @@ -127,3 +127,5 @@ function test_getSigFigs() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/VarParser/FlexibleTest.php b/tests/HTMLPurifier/VarParser/FlexibleTest.php index d4626030c..c6149b6b4 100644 --- a/tests/HTMLPurifier/VarParser/FlexibleTest.php +++ b/tests/HTMLPurifier/VarParser/FlexibleTest.php @@ -62,3 +62,5 @@ function testValidate_null() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/VarParser/NativeTest.php b/tests/HTMLPurifier/VarParser/NativeTest.php index 140501e97..424dceb75 100644 --- a/tests/HTMLPurifier/VarParser/NativeTest.php +++ b/tests/HTMLPurifier/VarParser/NativeTest.php @@ -8,3 +8,5 @@ public function testValidateSimple() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/VarParserHarness.php b/tests/HTMLPurifier/VarParserHarness.php index d5d2404d3..0ef23189c 100644 --- a/tests/HTMLPurifier/VarParserHarness.php +++ b/tests/HTMLPurifier/VarParserHarness.php @@ -29,3 +29,5 @@ function assertInvalid($var, $type, $msg = null) { } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifierTest.php b/tests/HTMLPurifierTest.php index 34ef46dba..5f55bf35b 100644 --- a/tests/HTMLPurifierTest.php +++ b/tests/HTMLPurifierTest.php @@ -47,3 +47,4 @@ function test_addFilter_deprecated() { } +// vim: et sw=4 sts=4 diff --git a/tests/PHPT/Controller/SimpleTest.php b/tests/PHPT/Controller/SimpleTest.php index 4d3fa3748..62fe6a405 100644 --- a/tests/PHPT/Controller/SimpleTest.php +++ b/tests/PHPT/Controller/SimpleTest.php @@ -20,3 +20,5 @@ public function testPhpt() { } } + +// vim: et sw=4 sts=4 diff --git a/tests/PHPT/Reporter/SimpleTest.php b/tests/PHPT/Reporter/SimpleTest.php index cd5c08f78..25ffe7b4c 100644 --- a/tests/PHPT/Reporter/SimpleTest.php +++ b/tests/PHPT/Reporter/SimpleTest.php @@ -73,3 +73,5 @@ public function onParserError(Exception $exception) { } } + +// vim: et sw=4 sts=4 diff --git a/tests/common.php b/tests/common.php index af2e7f5ba..01d6666ca 100644 --- a/tests/common.php +++ b/tests/common.php @@ -225,3 +225,5 @@ function htmlpurifier_dump_error_queue() { } } register_shutdown_function('htmlpurifier_dump_error_queue'); + +// vim: et sw=4 sts=4 diff --git a/tests/generate_mock_once.func.php b/tests/generate_mock_once.func.php index e23b17f46..3d8710182 100644 --- a/tests/generate_mock_once.func.php +++ b/tests/generate_mock_once.func.php @@ -8,3 +8,4 @@ function generate_mock_once($name) { Mock::generate($name, $mock_name); } +// vim: et sw=4 sts=4 diff --git a/tests/index.php b/tests/index.php index a109f7e9a..9556dfe97 100755 --- a/tests/index.php +++ b/tests/index.php @@ -31,7 +31,6 @@ ini_set('memory_limit', '64M'); require 'common.php'; - $AC = array(); // parameters $AC['flush'] = false; $AC['standalone'] = false; @@ -193,3 +192,5 @@ if ($AC['dry']) $reporter->makeDry(); $test->run($reporter); + +// vim: et sw=4 sts=4 diff --git a/tests/multitest.php b/tests/multitest.php index 4e2b7d4c4..518d4b625 100644 --- a/tests/multitest.php +++ b/tests/multitest.php @@ -153,3 +153,5 @@ // $test->add(new RemoteTestCase('http://htmlpurifier.org/dev/tests/?xml=1', 'http://htmlpurifier.org/dev/tests/?xml=1&dry=1&flush=1')); $test->run($reporter); + +// vim: et sw=4 sts=4 diff --git a/tests/path2class.func.php b/tests/path2class.func.php index 4680e4225..95a3a95ae 100644 --- a/tests/path2class.func.php +++ b/tests/path2class.func.php @@ -11,3 +11,4 @@ function path2class($path) { return $temp; } +// vim: et sw=4 sts=4 diff --git a/tests/test_files.php b/tests/test_files.php index 80ed69d5d..d2b86cdb4 100644 --- a/tests/test_files.php +++ b/tests/test_files.php @@ -41,3 +41,5 @@ $phpt_dirs[] = 'HTMLPurifier/PHPT'; } } + +// vim: et sw=4 sts=4 diff --git a/tests/tmp/README b/tests/tmp/README index 962b80a34..2e35c1c3d 100644 --- a/tests/tmp/README +++ b/tests/tmp/README @@ -1 +1,3 @@ This is a dummy file to prevent Git from ignoring this empty directory. + + vim: et sw=4 sts=4