From 12b811d749cb253f141cf70da3eb979b7982f9f8 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sat, 6 Dec 2008 04:24:59 -0500 Subject: [PATCH] Add vim modelines to all files. Signed-off-by: Edward Z. Yang --- CREDITS | 2 + Doxyfile | 2 + INSTALL | 1 + INSTALL.fr.utf8 | 4 +- LICENSE | 2 +- NEWS | 2 + README | 2 + TODO | 2 + WYSIWYG | 2 + benchmarks/ConfigSchema.php | 2 + benchmarks/Lexer.php | 3 + benchmarks/Trace.php | 2 + benchmarks/samples/Lexer/1.html | 4 +- benchmarks/samples/Lexer/2.html | 4 +- benchmarks/samples/Lexer/3.html | 2 + benchmarks/samples/Lexer/4.html | 2 + benchmarks/samples/Lexer/DISCLAIMER.txt | 4 +- configdoc/generate.php | 1 + configdoc/styles/plain.css | 2 + configdoc/styles/plain.xsl | 2 + configdoc/types.xml | 2 + configdoc/usage.xml | 2 + docs/dev-advanced-api.html | 2 + docs/dev-code-quality.txt | 2 + docs/dev-config-schema.html | 2 + docs/dev-flush.html | 2 + docs/dev-includes.txt | 2 + docs/dev-naming.html | 2 + docs/dev-optimization.html | 2 + docs/dev-progress.html | 2 + docs/enduser-customize.html | 2 + docs/enduser-id.html | 2 + docs/enduser-overview.txt | 2 + docs/enduser-security.txt | 2 + docs/enduser-slow.html | 2 + docs/enduser-tidy.html | 2 + docs/enduser-uri-filter.html | 2 + docs/enduser-utf8.html | 2 + docs/enduser-youtube.html | 2 + docs/examples/basic.php | 1 + docs/fixquotes.htc | 2 + docs/index.html | 2 + docs/proposal-colors.html | 2 + docs/proposal-config.txt | 2 + docs/proposal-css-extraction.txt | 2 + docs/proposal-errors.txt | 2 + docs/proposal-filter-levels.txt | 2 + docs/proposal-language.txt | 2 + docs/proposal-new-directives.txt | 1 + docs/ref-content-models.txt | 2 + docs/ref-css-length.txt | 2 + docs/ref-devnetwork.html | 2 + docs/ref-html-modularization.txt | 2 + docs/ref-proprietary-tags.txt | 2 + docs/ref-whatwg.txt | 2 + docs/specimens/LICENSE | 2 + docs/specimens/html-align-to-css.html | 4 +- docs/specimens/jochem-blok-word.html | 2 + .../windows-live-mail-desktop-beta.html | 4 +- docs/style.css | 2 + extras/ConfigDoc/HTMLXSLTProcessor.php | 1 + extras/FSTools.php | 2 + extras/FSTools/File.php | 2 + extras/HTMLPurifierExtras.auto.php | 2 + extras/HTMLPurifierExtras.autoload.php | 2 + extras/HTMLPurifierExtras.php | 2 + extras/README | 2 + library/HTMLPurifier.auto.php | 2 + library/HTMLPurifier.autoload.php | 2 + library/HTMLPurifier.func.php | 1 + library/HTMLPurifier.includes.php | 2 + library/HTMLPurifier.kses.php | 2 + library/HTMLPurifier.path.php | 2 + library/HTMLPurifier.php | 2 + library/HTMLPurifier.safe-includes.php | 2 + library/HTMLPurifier/AttrCollections.php | 1 + library/HTMLPurifier/AttrDef.php | 1 + library/HTMLPurifier/AttrDef/CSS.php | 1 + .../HTMLPurifier/AttrDef/CSS/AlphaValue.php | 2 + .../HTMLPurifier/AttrDef/CSS/Background.php | 1 + .../AttrDef/CSS/BackgroundPosition.php | 1 + library/HTMLPurifier/AttrDef/CSS/Border.php | 1 + library/HTMLPurifier/AttrDef/CSS/Color.php | 1 + .../HTMLPurifier/AttrDef/CSS/Composite.php | 1 + .../AttrDef/CSS/DenyElementDecorator.php | 2 + library/HTMLPurifier/AttrDef/CSS/Filter.php | 2 + library/HTMLPurifier/AttrDef/CSS/Font.php | 1 + .../HTMLPurifier/AttrDef/CSS/FontFamily.php | 1 + .../AttrDef/CSS/ImportantDecorator.php | 2 + library/HTMLPurifier/AttrDef/CSS/Length.php | 1 + .../HTMLPurifier/AttrDef/CSS/ListStyle.php | 1 + library/HTMLPurifier/AttrDef/CSS/Multiple.php | 1 + library/HTMLPurifier/AttrDef/CSS/Number.php | 1 + .../HTMLPurifier/AttrDef/CSS/Percentage.php | 1 + .../AttrDef/CSS/TextDecoration.php | 1 + library/HTMLPurifier/AttrDef/CSS/URI.php | 1 + library/HTMLPurifier/AttrDef/Enum.php | 1 + library/HTMLPurifier/AttrDef/HTML/Bool.php | 1 + library/HTMLPurifier/AttrDef/HTML/Color.php | 1 + .../HTMLPurifier/AttrDef/HTML/FrameTarget.php | 1 + library/HTMLPurifier/AttrDef/HTML/ID.php | 1 + library/HTMLPurifier/AttrDef/HTML/Length.php | 1 + .../HTMLPurifier/AttrDef/HTML/LinkTypes.php | 1 + .../HTMLPurifier/AttrDef/HTML/MultiLength.php | 1 + .../HTMLPurifier/AttrDef/HTML/Nmtokens.php | 1 + library/HTMLPurifier/AttrDef/HTML/Pixels.php | 1 + library/HTMLPurifier/AttrDef/Integer.php | 1 + library/HTMLPurifier/AttrDef/Lang.php | 1 + library/HTMLPurifier/AttrDef/Switch.php | 2 + library/HTMLPurifier/AttrDef/Text.php | 1 + library/HTMLPurifier/AttrDef/URI.php | 2 +- library/HTMLPurifier/AttrDef/URI/Email.php | 2 + .../AttrDef/URI/Email/SimpleCheck.php | 1 + library/HTMLPurifier/AttrDef/URI/Host.php | 1 + library/HTMLPurifier/AttrDef/URI/IPv4.php | 1 + library/HTMLPurifier/AttrDef/URI/IPv6.php | 1 + library/HTMLPurifier/AttrTransform.php | 1 + .../HTMLPurifier/AttrTransform/Background.php | 1 + library/HTMLPurifier/AttrTransform/BdoDir.php | 1 + .../HTMLPurifier/AttrTransform/BgColor.php | 1 + .../HTMLPurifier/AttrTransform/BoolToCSS.php | 1 + library/HTMLPurifier/AttrTransform/Border.php | 1 + .../HTMLPurifier/AttrTransform/EnumToCSS.php | 1 + .../AttrTransform/ImgRequired.php | 1 + .../HTMLPurifier/AttrTransform/ImgSpace.php | 1 + library/HTMLPurifier/AttrTransform/Input.php | 1 + library/HTMLPurifier/AttrTransform/Lang.php | 1 + library/HTMLPurifier/AttrTransform/Length.php | 1 + library/HTMLPurifier/AttrTransform/Name.php | 1 + .../HTMLPurifier/AttrTransform/SafeEmbed.php | 2 + .../HTMLPurifier/AttrTransform/SafeObject.php | 2 + .../HTMLPurifier/AttrTransform/SafeParam.php | 2 + .../AttrTransform/ScriptRequired.php | 2 + .../HTMLPurifier/AttrTransform/Textarea.php | 4 +- library/HTMLPurifier/AttrTypes.php | 2 +- library/HTMLPurifier/AttrValidator.php | 1 + library/HTMLPurifier/Bootstrap.php | 2 + library/HTMLPurifier/CSSDefinition.php | 1 + library/HTMLPurifier/ChildDef.php | 2 +- library/HTMLPurifier/ChildDef/Chameleon.php | 1 + library/HTMLPurifier/ChildDef/Custom.php | 1 + library/HTMLPurifier/ChildDef/Empty.php | 1 + library/HTMLPurifier/ChildDef/Optional.php | 1 + library/HTMLPurifier/ChildDef/Required.php | 1 + .../ChildDef/StrictBlockquote.php | 1 + library/HTMLPurifier/ChildDef/Table.php | 1 + library/HTMLPurifier/Config.php | 3 +- library/HTMLPurifier/ConfigSchema.php | 2 +- .../ConfigSchema/Builder/ConfigSchema.php | 2 + .../HTMLPurifier/ConfigSchema/Builder/Xml.php | 2 + .../HTMLPurifier/ConfigSchema/Exception.php | 2 + .../HTMLPurifier/ConfigSchema/Interchange.php | 2 + .../ConfigSchema/Interchange/Directive.php | 2 + .../ConfigSchema/Interchange/Id.php | 2 + .../ConfigSchema/Interchange/Namespace.php | 2 + .../ConfigSchema/InterchangeBuilder.php | 1 + .../HTMLPurifier/ConfigSchema/Validator.php | 2 + .../ConfigSchema/ValidatorAtom.php | 2 +- .../schema/Attr.AllowedFrameTargets.txt | 1 + .../ConfigSchema/schema/Attr.AllowedRel.txt | 1 + .../ConfigSchema/schema/Attr.AllowedRev.txt | 1 + .../schema/Attr.DefaultImageAlt.txt | 1 + .../schema/Attr.DefaultInvalidImage.txt | 1 + .../schema/Attr.DefaultInvalidImageAlt.txt | 1 + .../schema/Attr.DefaultTextDir.txt | 1 + .../ConfigSchema/schema/Attr.EnableID.txt | 1 + .../ConfigSchema/schema/Attr.IDBlacklist.txt | 1 + .../schema/Attr.IDBlacklistRegexp.txt | 1 + .../ConfigSchema/schema/Attr.IDPrefix.txt | 1 + .../schema/Attr.IDPrefixLocal.txt | 1 + .../HTMLPurifier/ConfigSchema/schema/Attr.txt | 1 + .../schema/AutoFormat.AutoParagraph.txt | 1 + .../ConfigSchema/schema/AutoFormat.Custom.txt | 2 +- .../schema/AutoFormat.DisplayLinkURI.txt | 1 + .../schema/AutoFormat.Linkify.txt | 2 +- .../schema/AutoFormat.PurifierLinkify.txt | 2 +- .../schema/AutoFormat.RemoveEmpty.txt | 1 + .../ConfigSchema/schema/AutoFormat.txt | 1 + .../AutoFormatParam.PurifierLinkifyDocURL.txt | 2 +- .../ConfigSchema/schema/AutoFormatParam.txt | 1 + .../schema/CSS.AllowImportant.txt | 1 + .../ConfigSchema/schema/CSS.AllowTricky.txt | 1 + .../schema/CSS.AllowedProperties.txt | 1 + .../ConfigSchema/schema/CSS.DefinitionRev.txt | 2 +- .../ConfigSchema/schema/CSS.MaxImgLength.txt | 1 + .../ConfigSchema/schema/CSS.Proprietary.txt | 2 +- .../HTMLPurifier/ConfigSchema/schema/CSS.txt | 1 + .../schema/Cache.DefinitionImpl.txt | 1 + .../schema/Cache.SerializerPath.txt | 2 +- .../ConfigSchema/schema/Cache.txt | 1 + .../schema/Core.AggressivelyFixLt.txt | 3 +- .../schema/Core.CollectErrors.txt | 1 + .../schema/Core.ColorKeywords.txt | 3 +- .../schema/Core.ConvertDocumentToFragment.txt | 1 + .../Core.DirectLexLineNumberSyncInterval.txt | 2 +- .../ConfigSchema/schema/Core.Encoding.txt | 1 + .../schema/Core.EscapeInvalidChildren.txt | 1 + .../schema/Core.EscapeInvalidTags.txt | 1 + .../schema/Core.EscapeNonASCIICharacters.txt | 1 + .../schema/Core.HiddenElements.txt | 2 +- .../ConfigSchema/schema/Core.Language.txt | 3 +- .../ConfigSchema/schema/Core.LexerImpl.txt | 1 + .../schema/Core.MaintainLineNumbers.txt | 2 +- .../schema/Core.RemoveInvalidImg.txt | 2 +- .../schema/Core.RemoveScriptContents.txt | 1 + .../HTMLPurifier/ConfigSchema/schema/Core.txt | 1 + .../ConfigSchema/schema/Filter.Custom.txt | 1 + .../schema/Filter.ExtractStyleBlocks.txt | 1 + .../ConfigSchema/schema/Filter.YouTube.txt | 1 + .../ConfigSchema/schema/Filter.txt | 1 + ...FilterParam.ExtractStyleBlocksEscaping.txt | 2 +- .../FilterParam.ExtractStyleBlocksScope.txt | 1 + ...FilterParam.ExtractStyleBlocksTidyImpl.txt | 1 + .../ConfigSchema/schema/FilterParam.txt | 1 + .../ConfigSchema/schema/HTML.Allowed.txt | 2 +- .../schema/HTML.AllowedAttributes.txt | 2 +- .../schema/HTML.AllowedElements.txt | 2 +- .../schema/HTML.AllowedModules.txt | 2 +- .../ConfigSchema/schema/HTML.BlockWrapper.txt | 2 +- .../ConfigSchema/schema/HTML.CoreModules.txt | 2 +- .../schema/HTML.CustomDoctype.txt | 3 +- .../ConfigSchema/schema/HTML.DefinitionID.txt | 2 +- .../schema/HTML.DefinitionRev.txt | 2 +- .../ConfigSchema/schema/HTML.Doctype.txt | 1 + .../schema/HTML.ForbiddenAttributes.txt | 1 + .../schema/HTML.ForbiddenElements.txt | 1 + .../ConfigSchema/schema/HTML.MaxImgLength.txt | 3 +- .../ConfigSchema/schema/HTML.Parent.txt | 2 +- .../ConfigSchema/schema/HTML.Proprietary.txt | 1 + .../ConfigSchema/schema/HTML.SafeEmbed.txt | 3 +- .../ConfigSchema/schema/HTML.SafeObject.txt | 1 + .../ConfigSchema/schema/HTML.Strict.txt | 1 + .../ConfigSchema/schema/HTML.TidyAdd.txt | 2 +- .../ConfigSchema/schema/HTML.TidyLevel.txt | 1 + .../ConfigSchema/schema/HTML.TidyRemove.txt | 2 +- .../ConfigSchema/schema/HTML.Trusted.txt | 1 + .../ConfigSchema/schema/HTML.XHTML.txt | 1 + .../HTMLPurifier/ConfigSchema/schema/HTML.txt | 1 + .../schema/Output.CommentScriptContents.txt | 1 + .../ConfigSchema/schema/Output.Newline.txt | 2 +- .../ConfigSchema/schema/Output.SortAttr.txt | 1 + .../ConfigSchema/schema/Output.TidyFormat.txt | 1 + .../ConfigSchema/schema/Output.txt | 1 + .../ConfigSchema/schema/Test.ForceNoIconv.txt | 1 + .../HTMLPurifier/ConfigSchema/schema/Test.txt | 1 + .../schema/URI.AllowedSchemes.txt | 1 + .../ConfigSchema/schema/URI.Base.txt | 2 +- .../ConfigSchema/schema/URI.DefaultScheme.txt | 2 +- .../ConfigSchema/schema/URI.DefinitionID.txt | 2 +- .../ConfigSchema/schema/URI.DefinitionRev.txt | 2 +- .../ConfigSchema/schema/URI.Disable.txt | 1 + .../schema/URI.DisableExternal.txt | 1 + .../schema/URI.DisableExternalResources.txt | 1 + .../schema/URI.DisableResources.txt | 2 +- .../ConfigSchema/schema/URI.Host.txt | 2 +- .../ConfigSchema/schema/URI.HostBlacklist.txt | 1 + .../ConfigSchema/schema/URI.MakeAbsolute.txt | 1 + .../ConfigSchema/schema/URI.Munge.txt | 1 + .../schema/URI.MungeResources.txt | 1 + .../schema/URI.MungeSecretKey.txt | 1 + .../schema/URI.OverrideAllowedSchemes.txt | 1 + .../HTMLPurifier/ConfigSchema/schema/URI.txt | 1 + .../HTMLPurifier/ConfigSchema/schema/info.ini | 2 + library/HTMLPurifier/ContentSets.php | 1 + library/HTMLPurifier/Context.php | 1 + library/HTMLPurifier/Definition.php | 1 + library/HTMLPurifier/DefinitionCache.php | 1 + .../DefinitionCache/Decorator.php | 1 + .../DefinitionCache/Decorator/Cleanup.php | 1 + .../DefinitionCache/Decorator/Memory.php | 1 + .../DefinitionCache/Decorator/Template.php.in | 1 + library/HTMLPurifier/DefinitionCache/Null.php | 1 + .../DefinitionCache/Serializer.php | 1 + .../DefinitionCache/Serializer/README | 2 + .../HTMLPurifier/DefinitionCacheFactory.php | 1 + library/HTMLPurifier/Doctype.php | 1 + library/HTMLPurifier/DoctypeRegistry.php | 1 + library/HTMLPurifier/ElementDef.php | 2 +- library/HTMLPurifier/Encoder.php | 1 + library/HTMLPurifier/EntityLookup.php | 1 + library/HTMLPurifier/EntityParser.php | 1 + library/HTMLPurifier/ErrorCollector.php | 1 + library/HTMLPurifier/ErrorStruct.php | 2 + library/HTMLPurifier/Exception.php | 1 + library/HTMLPurifier/Filter.php | 1 + .../Filter/ExtractStyleBlocks.php | 1 + library/HTMLPurifier/Filter/YouTube.php | 1 + library/HTMLPurifier/Generator.php | 1 + library/HTMLPurifier/HTMLDefinition.php | 2 +- library/HTMLPurifier/HTMLModule.php | 1 + library/HTMLPurifier/HTMLModule/Bdo.php | 1 + .../HTMLModule/CommonAttributes.php | 1 + library/HTMLPurifier/HTMLModule/Edit.php | 1 + library/HTMLPurifier/HTMLModule/Forms.php | 1 + library/HTMLPurifier/HTMLModule/Hypertext.php | 1 + library/HTMLPurifier/HTMLModule/Image.php | 1 + library/HTMLPurifier/HTMLModule/Legacy.php | 1 + library/HTMLPurifier/HTMLModule/List.php | 1 + library/HTMLPurifier/HTMLModule/Name.php | 2 + .../HTMLModule/NonXMLCommonAttributes.php | 1 + library/HTMLPurifier/HTMLModule/Object.php | 1 + .../HTMLPurifier/HTMLModule/Presentation.php | 1 + .../HTMLPurifier/HTMLModule/Proprietary.php | 1 + library/HTMLPurifier/HTMLModule/Ruby.php | 1 + library/HTMLPurifier/HTMLModule/SafeEmbed.php | 2 + .../HTMLPurifier/HTMLModule/SafeObject.php | 2 + library/HTMLPurifier/HTMLModule/Scripting.php | 1 + .../HTMLModule/StyleAttribute.php | 1 + library/HTMLPurifier/HTMLModule/Tables.php | 1 + library/HTMLPurifier/HTMLModule/Target.php | 1 + library/HTMLPurifier/HTMLModule/Text.php | 1 + library/HTMLPurifier/HTMLModule/Tidy.php | 2 +- library/HTMLPurifier/HTMLModule/Tidy/Name.php | 1 + .../HTMLModule/Tidy/Proprietary.php | 1 + .../HTMLPurifier/HTMLModule/Tidy/Strict.php | 2 + .../HTMLModule/Tidy/Transitional.php | 1 + .../HTMLPurifier/HTMLModule/Tidy/XHTML.php | 1 + .../HTMLModule/Tidy/XHTMLAndHTML4.php | 1 + .../HTMLModule/XMLCommonAttributes.php | 1 + library/HTMLPurifier/HTMLModuleManager.php | 2 +- library/HTMLPurifier/IDAccumulator.php | 1 + library/HTMLPurifier/Injector.php | 1 + .../HTMLPurifier/Injector/AutoParagraph.php | 1 + .../HTMLPurifier/Injector/DisplayLinkURI.php | 4 +- library/HTMLPurifier/Injector/Linkify.php | 1 + .../HTMLPurifier/Injector/PurifierLinkify.php | 1 + library/HTMLPurifier/Injector/RemoveEmpty.php | 2 + library/HTMLPurifier/Injector/SafeObject.php | 1 + library/HTMLPurifier/Language.php | 1 + .../Language/classes/en-x-test.php | 1 + .../Language/messages/en-x-test.php | 1 + .../Language/messages/en-x-testmini.php | 1 + library/HTMLPurifier/Language/messages/en.php | 1 + library/HTMLPurifier/LanguageFactory.php | 1 + library/HTMLPurifier/Length.php | 2 + library/HTMLPurifier/Lexer.php | 1 + library/HTMLPurifier/Lexer/DOMLex.php | 1 + library/HTMLPurifier/Lexer/DirectLex.php | 1 + library/HTMLPurifier/Lexer/PEARSax3.php | 1 + library/HTMLPurifier/PercentEncoder.php | 1 + library/HTMLPurifier/Printer.php | 1 + .../HTMLPurifier/Printer/CSSDefinition.php | 1 + library/HTMLPurifier/Printer/ConfigForm.css | 2 + library/HTMLPurifier/Printer/ConfigForm.js | 4 +- library/HTMLPurifier/Printer/ConfigForm.php | 1 + .../HTMLPurifier/Printer/HTMLDefinition.php | 1 + library/HTMLPurifier/PropertyList.php | 2 + library/HTMLPurifier/PropertyListIterator.php | 2 + library/HTMLPurifier/Strategy.php | 1 + library/HTMLPurifier/Strategy/Composite.php | 1 + library/HTMLPurifier/Strategy/Core.php | 1 + library/HTMLPurifier/Strategy/FixNesting.php | 2 +- .../HTMLPurifier/Strategy/MakeWellFormed.php | 1 + .../Strategy/RemoveForeignElements.php | 1 + .../Strategy/ValidateAttributes.php | 1 + library/HTMLPurifier/StringHash.php | 2 + library/HTMLPurifier/StringHashParser.php | 7 +- library/HTMLPurifier/TagTransform.php | 1 + library/HTMLPurifier/TagTransform/Font.php | 1 + library/HTMLPurifier/TagTransform/Simple.php | 1 + library/HTMLPurifier/Token.php | 2 + library/HTMLPurifier/Token/Comment.php | 1 + library/HTMLPurifier/Token/Empty.php | 2 + library/HTMLPurifier/Token/End.php | 2 + library/HTMLPurifier/Token/Start.php | 2 + library/HTMLPurifier/Token/Tag.php | 2 + library/HTMLPurifier/Token/Text.php | 2 + library/HTMLPurifier/TokenFactory.php | 1 + library/HTMLPurifier/URI.php | 1 + library/HTMLPurifier/URIDefinition.php | 2 + library/HTMLPurifier/URIFilter.php | 2 + .../URIFilter/DisableExternal.php | 1 + .../URIFilter/DisableExternalResources.php | 1 + .../HTMLPurifier/URIFilter/HostBlacklist.php | 2 + .../HTMLPurifier/URIFilter/MakeAbsolute.php | 1 + library/HTMLPurifier/URIFilter/Munge.php | 2 + library/HTMLPurifier/URIParser.php | 1 + library/HTMLPurifier/URIScheme.php | 1 + library/HTMLPurifier/URIScheme/ftp.php | 1 + library/HTMLPurifier/URIScheme/http.php | 1 + library/HTMLPurifier/URIScheme/https.php | 1 + library/HTMLPurifier/URIScheme/mailto.php | 1 + library/HTMLPurifier/URIScheme/news.php | 1 + library/HTMLPurifier/URIScheme/nntp.php | 1 + library/HTMLPurifier/URISchemeRegistry.php | 2 +- library/HTMLPurifier/UnitConverter.php | 2 + library/HTMLPurifier/VarParser.php | 2 + library/HTMLPurifier/VarParser/Flexible.php | 2 + library/HTMLPurifier/VarParser/Native.php | 1 + library/HTMLPurifier/VarParserException.php | 2 + maintenance/add-vimline.php | 126 ++++++++++++++++++ maintenance/common.php | 10 ++ maintenance/config-scanner.php | 2 + maintenance/flush-definition-cache.php | 1 + maintenance/flush.php | 2 + maintenance/generate-entity-file.php | 1 + maintenance/generate-includes.php | 2 + maintenance/generate-ph5p-patch.php | 2 + maintenance/generate-schema-cache.php | 2 + maintenance/generate-standalone.php | 6 +- maintenance/merge-library.php | 2 + maintenance/old-extract-schema.php | 2 + maintenance/old-remove-require-once.php | 2 + maintenance/old-remove-schema-def.php | 2 + maintenance/remove-trailing-whitespace.php | 10 +- maintenance/update-freshmeat.php | 2 + package.php | 1 + phpdoc.ini | 4 +- plugins/modx.txt | 2 + plugins/phorum/Changelog | 2 + plugins/phorum/INSTALL | 2 +- plugins/phorum/README | 2 + plugins/phorum/config.default.php | 1 + plugins/phorum/htmlpurifier.php | 1 + plugins/phorum/htmlpurifier/LICENSE | 2 +- plugins/phorum/htmlpurifier/README | 2 + plugins/phorum/info.txt | 2 + plugins/phorum/init-config.php | 1 + plugins/phorum/migrate.bbcode.php | 1 + plugins/phorum/settings.php | 1 + plugins/phorum/settings/form.php | 1 + plugins/phorum/settings/migrate-sigs-form.php | 1 + plugins/phorum/settings/migrate-sigs.php | 2 + plugins/phorum/settings/save.php | 2 + release1-update.php | 2 + release2-tag.php | 1 + smoketests/all.php | 3 + smoketests/attrTransform.php | 3 + smoketests/attrTransform.xml | 2 + smoketests/basic.php | 3 + smoketests/basic/allElements.css | 2 + smoketests/basic/allElements.html | 2 + smoketests/basic/legacy.css | 2 + smoketests/basic/legacy.html | 2 + smoketests/common.php | 2 + smoketests/configForm.php | 3 + smoketests/extractStyleBlocks.php | 5 +- smoketests/preserveYouTube.php | 3 + smoketests/printDefinition.php | 3 + smoketests/test-schema/Directive.Allowed.txt | 1 + .../test-schema/Directive.Deprecated.txt | 1 + smoketests/test-schema/Directive.txt | 3 +- smoketests/test-schema/Type.bool.txt | 1 + smoketests/test-schema/Type.float.txt | 1 + smoketests/test-schema/Type.hash.txt | 1 + smoketests/test-schema/Type.int.txt | 1 + smoketests/test-schema/Type.istring.txt | 1 + smoketests/test-schema/Type.itext.txt | 1 + smoketests/test-schema/Type.list.txt | 1 + smoketests/test-schema/Type.lookup.txt | 1 + smoketests/test-schema/Type.mixed.txt | 1 + smoketests/test-schema/Type.nullbool.txt | 1 + smoketests/test-schema/Type.nullstring.txt | 1 + smoketests/test-schema/Type.string.txt | 1 + smoketests/test-schema/Type.text.txt | 1 + smoketests/test-schema/Type.txt | 1 + smoketests/test-schema/info.ini | 2 + smoketests/variableWidthAttack.php | 3 + smoketests/xssAttacks.php | 3 + smoketests/xssAttacks.xml | 2 + test-settings.sample.php | 1 + tests/CliTestCase.php | 1 + tests/Debugger.php | 1 + tests/FSTools/FileSystemHarness.php | 2 + tests/FSTools/FileTest.php | 1 + tests/HTMLPurifier/AttrCollectionsTest.php | 1 + .../AttrDef/CSS/AlphaValueTest.php | 1 + .../AttrDef/CSS/BackgroundPositionTest.php | 1 + .../AttrDef/CSS/BackgroundTest.php | 1 + tests/HTMLPurifier/AttrDef/CSS/BorderTest.php | 1 + tests/HTMLPurifier/AttrDef/CSS/ColorTest.php | 1 + .../AttrDef/CSS/CompositeTest.php | 1 + tests/HTMLPurifier/AttrDef/CSS/FilterTest.php | 1 + .../AttrDef/CSS/FontFamilyTest.php | 1 + tests/HTMLPurifier/AttrDef/CSS/FontTest.php | 1 + .../AttrDef/CSS/ImportantDecoratorTest.php | 1 + tests/HTMLPurifier/AttrDef/CSS/LengthTest.php | 1 + .../AttrDef/CSS/ListStyleTest.php | 1 + .../HTMLPurifier/AttrDef/CSS/MultipleTest.php | 1 + tests/HTMLPurifier/AttrDef/CSS/NumberTest.php | 1 + .../AttrDef/CSS/PercentageTest.php | 1 + .../AttrDef/CSS/TextDecorationTest.php | 1 + tests/HTMLPurifier/AttrDef/CSS/URITest.php | 1 + tests/HTMLPurifier/AttrDef/CSSTest.php | 1 + tests/HTMLPurifier/AttrDef/EnumTest.php | 1 + tests/HTMLPurifier/AttrDef/HTML/BoolTest.php | 1 + tests/HTMLPurifier/AttrDef/HTML/ColorTest.php | 1 + .../AttrDef/HTML/FrameTargetTest.php | 1 + tests/HTMLPurifier/AttrDef/HTML/IDTest.php | 1 + .../HTMLPurifier/AttrDef/HTML/LengthTest.php | 1 + .../AttrDef/HTML/LinkTypesTest.php | 1 + .../AttrDef/HTML/MultiLengthTest.php | 1 + .../AttrDef/HTML/NmtokensTest.php | 1 + .../HTMLPurifier/AttrDef/HTML/PixelsTest.php | 1 + tests/HTMLPurifier/AttrDef/IntegerTest.php | 1 + tests/HTMLPurifier/AttrDef/LangTest.php | 1 + tests/HTMLPurifier/AttrDef/SwitchTest.php | 2 + tests/HTMLPurifier/AttrDef/TextTest.php | 1 + .../AttrDef/URI/Email/SimpleCheckTest.php | 1 + .../HTMLPurifier/AttrDef/URI/EmailHarness.php | 1 + tests/HTMLPurifier/AttrDef/URI/HostTest.php | 1 + tests/HTMLPurifier/AttrDef/URI/IPv4Test.php | 4 +- tests/HTMLPurifier/AttrDef/URI/IPv6Test.php | 1 + tests/HTMLPurifier/AttrDef/URITest.php | 2 +- tests/HTMLPurifier/AttrDefHarness.php | 1 + tests/HTMLPurifier/AttrDefTest.php | 1 + .../AttrTransform/BackgroundTest.php | 1 + .../HTMLPurifier/AttrTransform/BdoDirTest.php | 1 + .../AttrTransform/BgColorTest.php | 1 + .../AttrTransform/BoolToCSSTest.php | 1 + .../HTMLPurifier/AttrTransform/BorderTest.php | 1 + .../AttrTransform/EnumToCSSTest.php | 1 + .../AttrTransform/ImgRequiredTest.php | 1 + .../AttrTransform/ImgSpaceTest.php | 1 + .../HTMLPurifier/AttrTransform/InputTest.php | 1 + tests/HTMLPurifier/AttrTransform/LangTest.php | 1 + .../HTMLPurifier/AttrTransform/LengthTest.php | 1 + tests/HTMLPurifier/AttrTransform/NameTest.php | 1 + tests/HTMLPurifier/AttrTransformHarness.php | 1 + tests/HTMLPurifier/AttrTransformTest.php | 1 + tests/HTMLPurifier/AttrTypesTest.php | 1 + .../HTMLPurifier/AttrValidator_ErrorsTest.php | 1 + tests/HTMLPurifier/ChildDef/ChameleonTest.php | 1 + tests/HTMLPurifier/ChildDef/CustomTest.php | 1 + tests/HTMLPurifier/ChildDef/OptionalTest.php | 2 + tests/HTMLPurifier/ChildDef/RequiredTest.php | 1 + .../ChildDef/StrictBlockquoteTest.php | 1 + tests/HTMLPurifier/ChildDef/TableTest.php | 1 + tests/HTMLPurifier/ChildDefHarness.php | 2 +- tests/HTMLPurifier/ComplexHarness.php | 2 +- .../ConfigSchema/InterchangeTest.php | 2 + .../ConfigSchema/ValidatorAtomTest.php | 2 + .../ConfigSchema/ValidatorTest.php | 2 + .../ConfigSchema/ValidatorTestCase.php | 2 + tests/HTMLPurifier/ConfigSchemaTest.php | 1 + tests/HTMLPurifier/ConfigTest-create.ini | 2 + tests/HTMLPurifier/ConfigTest-finalize.ini | 2 + tests/HTMLPurifier/ConfigTest-loadIni.ini | 2 + tests/HTMLPurifier/ConfigTest.php | 1 + tests/HTMLPurifier/ContextTest.php | 1 + .../DefinitionCache/Decorator/CleanupTest.php | 1 + .../DefinitionCache/Decorator/MemoryTest.php | 1 + .../DefinitionCache/DecoratorHarness.php | 1 + .../DefinitionCache/DecoratorTest.php | 1 + .../DefinitionCache/SerializerTest.php | 1 + .../DefinitionCache/SerializerTest/README | 2 + .../DefinitionCacheFactoryTest.php | 1 + tests/HTMLPurifier/DefinitionCacheHarness.php | 1 + tests/HTMLPurifier/DefinitionCacheTest.php | 1 + tests/HTMLPurifier/DefinitionTest.php | 1 + tests/HTMLPurifier/DefinitionTestable.php | 1 + tests/HTMLPurifier/DoctypeRegistryTest.php | 1 + tests/HTMLPurifier/ElementDefTest.php | 1 + tests/HTMLPurifier/EncoderTest.php | 1 + tests/HTMLPurifier/EntityLookupTest.php | 1 + tests/HTMLPurifier/EntityParserTest.php | 1 + tests/HTMLPurifier/ErrorCollectorEMock.php | 1 + tests/HTMLPurifier/ErrorCollectorTest.php | 1 + tests/HTMLPurifier/ErrorsHarness.php | 1 + .../Filter/ExtractStyleBlocksTest.php | 4 +- tests/HTMLPurifier/GeneratorTest.php | 1 + tests/HTMLPurifier/HTMLDefinitionTest.php | 1 + tests/HTMLPurifier/HTMLModule/FormsTest.php | 1 + tests/HTMLPurifier/HTMLModule/ImageTest.php | 1 + tests/HTMLPurifier/HTMLModule/ObjectTest.php | 1 + .../HTMLModule/ProprietaryTest.php | 1 + tests/HTMLPurifier/HTMLModule/RubyTest.php | 1 + .../HTMLPurifier/HTMLModule/SafeEmbedTest.php | 1 + .../HTMLModule/SafeObjectTest.php | 1 + .../HTMLPurifier/HTMLModule/ScriptingTest.php | 1 + tests/HTMLPurifier/HTMLModule/TidyTest.php | 1 + tests/HTMLPurifier/HTMLModuleHarness.php | 1 + tests/HTMLPurifier/HTMLModuleManagerTest.php | 1 + tests/HTMLPurifier/HTMLModuleTest.php | 1 + tests/HTMLPurifier/HTMLT.php | 2 + .../HTMLPurifier/HTMLT/allowed-preserve.htmlt | 1 + tests/HTMLPurifier/HTMLT/allowed-remove.htmlt | 1 + tests/HTMLPurifier/HTMLT/basic.htmlt | 1 + .../HTMLT/blacklist-preserve.htmlt | 1 + .../HTMLPurifier/HTMLT/blacklist-remove.htmlt | 1 + .../HTMLT/css-allowed-preserve.htmlt | 1 + .../HTMLT/css-allowed-remove.htmlt | 1 + tests/HTMLPurifier/HTMLT/disable-uri.htmlt | 1 + tests/HTMLPurifier/HTMLT/empty.htmlt | 2 +- tests/HTMLPurifier/HTMLT/id-default.htmlt | 1 + tests/HTMLPurifier/HTMLT/id-enabled.htmlt | 1 + tests/HTMLPurifier/HTMLT/munge-extra.htmlt | 1 + tests/HTMLPurifier/HTMLT/name.htmlt | 1 + .../HTMLT/safe-object-embed-munge.htmlt | 1 + .../HTMLT/safe-object-embed.htmlt | 1 + tests/HTMLPurifier/HTMLT/script-bare.htmlt | 1 + tests/HTMLPurifier/HTMLT/script-cdata.htmlt | 1 + tests/HTMLPurifier/HTMLT/script-comment.htmlt | 1 + .../HTMLT/script-dbl-comment.htmlt | 1 + tests/HTMLPurifier/HTMLT/script-ideal.htmlt | 1 + tests/HTMLPurifier/HTMLT/secure-munge.htmlt | 1 + .../HTMLT/shift-jis-preserve-yen.htmlt | 1 + .../HTMLT/shift-jis-remove-yen.htmlt | 1 + .../HTMLT/strict-blockquote-with-inline.htmlt | 1 + .../HTMLT/strict-blockquote.htmlt | 1 + .../HTMLPurifier/HTMLT/strict-underline.htmlt | 1 + .../HTMLPurifier/HTMLT/tidy-background.htmlt | 1 + .../HTMLT/whitespace-preserve.htmlt | 2 +- tests/HTMLPurifier/Harness.php | 1 + tests/HTMLPurifier/IDAccumulatorTest.php | 1 + .../Injector/AutoParagraphTest.php | 1 + .../Injector/DisplayLinkURITest.php | 3 +- tests/HTMLPurifier/Injector/LinkifyTest.php | 1 + .../Injector/PurifierLinkifyTest.php | 1 + .../HTMLPurifier/Injector/RemoveEmptyTest.php | 1 + .../HTMLPurifier/Injector/SafeObjectTest.php | 1 + tests/HTMLPurifier/InjectorHarness.php | 1 + tests/HTMLPurifier/LanguageFactoryTest.php | 1 + tests/HTMLPurifier/LanguageTest.php | 1 + tests/HTMLPurifier/LengthTest.php | 2 + tests/HTMLPurifier/Lexer/DirectLexTest.php | 1 + .../Lexer/DirectLex_ErrorsTest.php | 1 + tests/HTMLPurifier/LexerTest.php | 1 + tests/HTMLPurifier/PHPT/domxml.phpt | 2 +- tests/HTMLPurifier/PHPT/func.phpt | 2 +- tests/HTMLPurifier/PHPT/kses/basic.phpt | 2 +- tests/HTMLPurifier/PHPT/loading/_autoload.inc | 2 + .../PHPT/loading/_no-autoload.inc | 2 + .../PHPT/loading/auto-includes.phpt | 2 +- .../PHPT/loading/auto-with-autoload.phpt | 2 +- .../PHPT/loading/auto-with-spl-autoload.phpt | 2 +- .../loading/auto-without-spl-autoload.phpt | 3 +- .../auto-without-spl-with-autoload.phpt | 2 +- tests/HTMLPurifier/PHPT/loading/auto.phpt | 2 +- ...rror-auto-with-spl-nonstatic-autoload.phpt | 2 +- .../PHPT/loading/path-includes-autoload.phpt | 2 +- .../PHPT/loading/path-includes.phpt | 2 +- .../PHPT/loading/safe-includes.phpt | 2 +- .../PHPT/loading/standalone-autoload.phpt | 2 +- .../PHPT/loading/standalone-with-prefix.phpt | 2 +- .../HTMLPurifier/PHPT/loading/standalone.phpt | 2 +- tests/HTMLPurifier/PHPT/stub.phpt | 2 +- tests/HTMLPurifier/PHPT/utf8.phpt | 2 +- tests/HTMLPurifier/PercentEncoderTest.php | 1 + tests/HTMLPurifier/PropertyListTest.php | 2 + tests/HTMLPurifier/SimpleTest/Reporter.php | 1 + .../HTMLPurifier/SimpleTest/TextReporter.php | 2 + tests/HTMLPurifier/Strategy/CompositeTest.php | 1 + tests/HTMLPurifier/Strategy/CoreTest.php | 1 + tests/HTMLPurifier/Strategy/ErrorsHarness.php | 1 + .../HTMLPurifier/Strategy/FixNestingTest.php | 1 + .../Strategy/FixNesting_ErrorsTest.php | 1 + .../MakeWellFormed/EndInsertInjector.php | 2 + .../MakeWellFormed/EndInsertInjectorTest.php | 1 + .../MakeWellFormed/EndRewindInjector.php | 2 + .../MakeWellFormed/EndRewindInjectorTest.php | 1 + .../Strategy/MakeWellFormed/SkipInjector.php | 2 + .../MakeWellFormed/SkipInjectorTest.php | 1 + .../Strategy/MakeWellFormedTest.php | 1 + .../Strategy/MakeWellFormed_ErrorsTest.php | 1 + .../Strategy/MakeWellFormed_InjectorTest.php | 2 + .../Strategy/RemoveForeignElementsTest.php | 1 + .../RemoveForeignElements_ErrorsTest.php | 1 + .../RemoveForeignElements_TidyTest.php | 2 + .../Strategy/ValidateAttributesTest.php | 2 +- .../Strategy/ValidateAttributes_IDTest.php | 1 + .../Strategy/ValidateAttributes_TidyTest.php | 1 + tests/HTMLPurifier/StrategyHarness.php | 1 + .../StringHashParser/AppendMultiline.txt | 1 + .../HTMLPurifier/StringHashParser/Default.txt | 1 + tests/HTMLPurifier/StringHashParser/Multi.txt | 1 + .../StringHashParser/OverrideSingle.txt | 3 +- .../HTMLPurifier/StringHashParser/Simple.txt | 1 + tests/HTMLPurifier/StringHashParserTest.php | 2 + tests/HTMLPurifier/StringHashTest.php | 2 + tests/HTMLPurifier/TagTransformTest.php | 1 + tests/HTMLPurifier/TokenFactoryTest.php | 1 + tests/HTMLPurifier/TokenTest.php | 1 + tests/HTMLPurifier/URIDefinitionTest.php | 2 + .../DisableExternalResourcesTest.php | 2 + .../URIFilter/DisableExternalTest.php | 2 + .../URIFilter/HostBlacklistTest.php | 2 + .../URIFilter/MakeAbsoluteTest.php | 2 + tests/HTMLPurifier/URIFilter/MungeTest.php | 2 + tests/HTMLPurifier/URIFilterHarness.php | 2 + tests/HTMLPurifier/URIHarness.php | 2 + tests/HTMLPurifier/URIParserTest.php | 1 + tests/HTMLPurifier/URISchemeRegistryTest.php | 1 + tests/HTMLPurifier/URISchemeTest.php | 1 + tests/HTMLPurifier/URITest.php | 2 + tests/HTMLPurifier/UnitConverterTest.php | 2 + tests/HTMLPurifier/VarParser/FlexibleTest.php | 2 + tests/HTMLPurifier/VarParser/NativeTest.php | 2 + tests/HTMLPurifier/VarParserHarness.php | 2 + tests/HTMLPurifierTest.php | 1 + tests/PHPT/Controller/SimpleTest.php | 2 + tests/PHPT/Reporter/SimpleTest.php | 2 + tests/common.php | 2 + tests/generate_mock_once.func.php | 1 + tests/index.php | 3 +- tests/multitest.php | 2 + tests/path2class.func.php | 1 + tests/test_files.php | 2 + tests/tmp/README | 2 + 699 files changed, 1071 insertions(+), 107 deletions(-) create mode 100644 maintenance/add-vimline.php diff --git a/CREDITS b/CREDITS index c3e7bb8e..7921b45a 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 0095a193..2a2c843c 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 0a21da73..8ee41e86 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 ae0fcd20..9c533853 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 602bfc94..8c88a20d 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 44c1c291..a8d67fea 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 dacaceb0..53f26f1c 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 0860c6a1..07a11cca 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 097bd243..c518aacd 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 4e140faf..087758c3 100644 --- a/benchmarks/ConfigSchema.php +++ b/benchmarks/ConfigSchema.php @@ -12,3 +12,5 @@ $begin = xdebug_memory_usage(); $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 07a83618..686ef63e 100644 --- a/benchmarks/Lexer.php +++ b/benchmarks/Lexer.php @@ -153,3 +153,6 @@ echo '
Random input was: ' . +purify(file_get_contents('samples/Lexer/4.html')); xdebug_stop_trace(); echo "Trace finished."; + +// vim: et sw=4 sts=4 diff --git a/benchmarks/samples/Lexer/1.html b/benchmarks/samples/Lexer/1.html index 2b173a1c..3405bd44 100644 --- a/benchmarks/samples/Lexer/1.html +++ b/benchmarks/samples/Lexer/1.html @@ -50,4 +50,6 @@
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 0d78f49b..8a97025d 100644 --- a/benchmarks/samples/Lexer/2.html +++ b/benchmarks/samples/Lexer/2.html @@ -14,4 +14,6 @@ function rwt(el,ct,cd,sg){var e = window.encodeURIComponent ? encodeURIComponent
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 c8e823a3..8d22105e 100644 --- a/benchmarks/samples/Lexer/3.html +++ b/benchmarks/samples/Lexer/3.html @@ -126,3 +126,5 @@ if (objAdMgr.isSlotAvailable("leaderboard")) { + + diff --git a/benchmarks/samples/Lexer/4.html b/benchmarks/samples/Lexer/4.html index 1f764581..93593805 100644 --- a/benchmarks/samples/Lexer/4.html +++ b/benchmarks/samples/Lexer/4.html @@ -538,3 +538,5 @@ Retrieved from "http://en.w + + diff --git a/benchmarks/samples/Lexer/DISCLAIMER.txt b/benchmarks/samples/Lexer/DISCLAIMER.txt index 4ad94a90..0c8ae5d9 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 3e4a695c..a8f50c5e 100644 --- a/configdoc/generate.php +++ b/configdoc/generate.php @@ -59,3 +59,4 @@ if (php_sapi_name() != 'cli') { echo 'Files generated successfully.'; } +// vim: et sw=4 sts=4 diff --git a/configdoc/styles/plain.css b/configdoc/styles/plain.css index 44ab105f..7af80d06 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 b0f46f29..cae76dfd 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 42a64d9b..24f8a05f 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 f89637d6..b0d59f9d 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 a06ac297..25302a4c 100644 --- a/docs/dev-advanced-api.html +++ b/docs/dev-advanced-api.html @@ -214,3 +214,5 @@ the usual things required are:

See HTMLPurifier/HTMLModule.php for details.

+ + diff --git a/docs/dev-code-quality.txt b/docs/dev-code-quality.txt index e6e0b148..bceedebc 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 a76bcbba..75a164d2 100644 --- a/docs/dev-config-schema.html +++ b/docs/dev-config-schema.html @@ -372,3 +372,5 @@ Test.Example + + diff --git a/docs/dev-flush.html b/docs/dev-flush.html index e860ad49..8dd291b1 100644 --- a/docs/dev-flush.html +++ b/docs/dev-flush.html @@ -63,3 +63,5 @@

+ + diff --git a/docs/dev-includes.txt b/docs/dev-includes.txt index ac05f8d2..d3382b59 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 2761b843..44b1bac5 100644 --- a/docs/dev-naming.html +++ b/docs/dev-naming.html @@ -78,3 +78,5 @@ help you find the correct functionality more quickly. Here they are:

+ + diff --git a/docs/dev-optimization.html b/docs/dev-optimization.html index d44a1233..ba677da0 100644 --- a/docs/dev-optimization.html +++ b/docs/dev-optimization.html @@ -28,3 +28,5 @@ that itch, put it here!

+ + diff --git a/docs/dev-progress.html b/docs/dev-progress.html index 7f13b53c..03a35232 100644 --- a/docs/dev-progress.html +++ b/docs/dev-progress.html @@ -304,3 +304,5 @@ Mozilla on inside and needs -moz-outline, no IE support. + + diff --git a/docs/enduser-customize.html b/docs/enduser-customize.html index 15cf5c7a..10132d1e 100644 --- a/docs/enduser-customize.html +++ b/docs/enduser-customize.html @@ -794,3 +794,5 @@ $form->excludes = array('form' => true); + + diff --git a/docs/enduser-id.html b/docs/enduser-id.html index 8aff57bc..76e85c08 100644 --- a/docs/enduser-id.html +++ b/docs/enduser-id.html @@ -143,3 +143,5 @@ anchors is beyond me.

+ + diff --git a/docs/enduser-overview.txt b/docs/enduser-overview.txt index 3ebccd21..fe7f8705 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 dd856395..518f092b 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 a86967ce..ea2d9a01 100644 --- a/docs/enduser-slow.html +++ b/docs/enduser-slow.html @@ -115,3 +115,5 @@ if you decide to do that! Especially if you port HTML Purifier to C++. + + diff --git a/docs/enduser-tidy.html b/docs/enduser-tidy.html index c7415996..0d7fad18 100644 --- a/docs/enduser-tidy.html +++ b/docs/enduser-tidy.html @@ -226,3 +226,5 @@ Other than that, don't worry about it: this all works silently and effectively in the background.

+ + diff --git a/docs/enduser-uri-filter.html b/docs/enduser-uri-filter.html index 6b041305..18d69936 100644 --- a/docs/enduser-uri-filter.html +++ b/docs/enduser-uri-filter.html @@ -212,3 +212,5 @@ $uri->registerFilter(new HTMLPurifier_URIFilter_NameOfFilter())

+ + diff --git a/docs/enduser-utf8.html b/docs/enduser-utf8.html index 62eba90f..42773611 100644 --- a/docs/enduser-utf8.html +++ b/docs/enduser-utf8.html @@ -1055,3 +1055,5 @@ a more in-depth look into character sets and encodings.

+ + diff --git a/docs/enduser-youtube.html b/docs/enduser-youtube.html index b9eff59e..0a447494 100644 --- a/docs/enduser-youtube.html +++ b/docs/enduser-youtube.html @@ -148,3 +148,5 @@ with the core!

+ + diff --git a/docs/examples/basic.php b/docs/examples/basic.php index 72739b67..d9b99ba2 100644 --- a/docs/examples/basic.php +++ b/docs/examples/basic.php @@ -20,3 +20,4 @@ $pure_html = $purifier->purify($html); echo '
' . htmlspecialchars($pure_html) . '
'; +// vim: et sw=4 sts=4 diff --git a/docs/fixquotes.htc b/docs/fixquotes.htc index bf2e7842..0477071a 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 d66353e1..029c003b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -177,3 +177,5 @@ the code. They may be upgraded to HTML files or stay as TXT scratchpads.

+ + diff --git a/docs/proposal-colors.html b/docs/proposal-colors.html index 4d8cf408..f45ebc86 100644 --- a/docs/proposal-colors.html +++ b/docs/proposal-colors.html @@ -44,3 +44,5 @@ something like that? + + diff --git a/docs/proposal-config.txt b/docs/proposal-config.txt index a9ee73a4..4e031c58 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 27d327cf..9933c96b 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 1c3db8d5..87cb2ac1 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 3118c644..b78b898b 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 d4e67e9c..149701cd 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 c53ee75a..f54ee2d8 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 11d4aca7..19f84d52 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 d32ee108..aa40559e 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 de974bff..b3f38796 100644 --- a/docs/ref-devnetwork.html +++ b/docs/ref-devnetwork.html @@ -42,3 +42,5 @@ the development of this library in these forum threads:

+ + diff --git a/docs/ref-html-modularization.txt b/docs/ref-html-modularization.txt index 1ac8c433..d26d30ad 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 9989e813..5849eb04 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 73d21f60..4bb4984f 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 8a491ac9..0bfad771 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 a301bc58..f912d305 100644 --- a/docs/specimens/html-align-to-css.html +++ b/docs/specimens/html-align-to-css.html @@ -162,4 +162,6 @@ div.segment {width:250px; float:left; margin-top:1em;} - \ No newline at end of file + + + diff --git a/docs/specimens/jochem-blok-word.html b/docs/specimens/jochem-blok-word.html index 1cc08f88..beb86a8a 100644 --- a/docs/specimens/jochem-blok-word.html +++ b/docs/specimens/jochem-blok-word.html @@ -127,3 +127,5 @@ style='color:black'>www.example.com/disclaimer

+ + diff --git a/docs/specimens/windows-live-mail-desktop-beta.html b/docs/specimens/windows-live-mail-desktop-beta.html index f1d4faf9..f2d0620f 100644 --- a/docs/specimens/windows-live-mail-desktop-beta.html +++ b/docs/specimens/windows-live-mail-desktop-beta.html @@ -71,4 +71,6 @@ style="BORDER-TOP: #dddddd 1px solid; FONT-SIZE: 10pt; MARGIN-BOTTOM: 10px; WIDT 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 40e732c1..bd79c8a0 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 15120760..f7095285 100644 --- a/extras/ConfigDoc/HTMLXSLTProcessor.php +++ b/extras/ConfigDoc/HTMLXSLTProcessor.php @@ -83,3 +83,4 @@ class ConfigDoc_HTMLXSLTProcessor } +// vim: et sw=4 sts=4 diff --git a/extras/FSTools.php b/extras/FSTools.php index 3b1ebb85..17c35ee6 100644 --- a/extras/FSTools.php +++ b/extras/FSTools.php @@ -153,3 +153,5 @@ class FSTools } } + +// vim: et sw=4 sts=4 diff --git a/extras/FSTools/File.php b/extras/FSTools/File.php index 59956a75..1c76705d 100644 --- a/extras/FSTools/File.php +++ b/extras/FSTools/File.php @@ -122,3 +122,5 @@ class FSTools_File } } + +// vim: et sw=4 sts=4 diff --git a/extras/HTMLPurifierExtras.auto.php b/extras/HTMLPurifierExtras.auto.php index 3a03d2a7..4016d8af 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 e1bd2749..4285d62d 100644 --- a/extras/HTMLPurifierExtras.autoload.php +++ b/extras/HTMLPurifierExtras.autoload.php @@ -21,3 +21,5 @@ if (function_exists('spl_autoload_register')) { return HTMLPurifierExtras::autoload($class); } } + +// vim: et sw=4 sts=4 diff --git a/extras/HTMLPurifierExtras.php b/extras/HTMLPurifierExtras.php index f4e3e8df..2a0c4d12 100644 --- a/extras/HTMLPurifierExtras.php +++ b/extras/HTMLPurifierExtras.php @@ -25,3 +25,5 @@ class HTMLPurifierExtras } } + +// vim: et sw=4 sts=4 diff --git a/extras/README b/extras/README index 9d6fbc32..4bfece79 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 aa3ecdaa..1960c399 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 cacbacde..8d401764 100644 --- a/library/HTMLPurifier.autoload.php +++ b/library/HTMLPurifier.autoload.php @@ -17,3 +17,5 @@ if (function_exists('spl_autoload_register') && function_exists('spl_autoload_un return HTMLPurifier_Bootstrap::autoload($class); } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier.func.php b/library/HTMLPurifier.func.php index b2e9f805..56a55b2f 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 56e5effa..d0b0a741 100644 --- a/library/HTMLPurifier.includes.php +++ b/library/HTMLPurifier.includes.php @@ -204,3 +204,5 @@ require 'HTMLPurifier/URIScheme/news.php'; 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 28314c4d..24bef74a 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 0368f1ae..39b1b653 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 a94bf5ba..325bde59 100644 --- a/library/HTMLPurifier.php +++ b/library/HTMLPurifier.php @@ -232,3 +232,5 @@ class HTMLPurifier } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier.safe-includes.php b/library/HTMLPurifier.safe-includes.php index 7d393036..2fca3468 100644 --- a/library/HTMLPurifier.safe-includes.php +++ b/library/HTMLPurifier.safe-includes.php @@ -198,3 +198,5 @@ require_once $__dir . '/HTMLPurifier/URIScheme/news.php'; 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 cb65aa8b..555b86d0 100644 --- a/library/HTMLPurifier/AttrCollections.php +++ b/library/HTMLPurifier/AttrCollections.php @@ -125,3 +125,4 @@ class HTMLPurifier_AttrCollections } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef.php b/library/HTMLPurifier/AttrDef.php index e2815063..d32fa62d 100644 --- a/library/HTMLPurifier/AttrDef.php +++ b/library/HTMLPurifier/AttrDef.php @@ -84,3 +84,4 @@ abstract class HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS.php b/library/HTMLPurifier/AttrDef/CSS.php index b6a4c3ab..953e7067 100644 --- a/library/HTMLPurifier/AttrDef/CSS.php +++ b/library/HTMLPurifier/AttrDef/CSS.php @@ -84,3 +84,4 @@ class HTMLPurifier_AttrDef_CSS extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php b/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php index 9eb3eee8..292c040d 100644 --- a/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php +++ b/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php @@ -17,3 +17,5 @@ class HTMLPurifier_AttrDef_CSS_AlphaValue extends HTMLPurifier_AttrDef_CSS_Numbe } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Background.php b/library/HTMLPurifier/AttrDef/CSS/Background.php index c698741e..3a3d20cd 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Background.php +++ b/library/HTMLPurifier/AttrDef/CSS/Background.php @@ -84,3 +84,4 @@ class HTMLPurifier_AttrDef_CSS_Background extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php b/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php index 1dddfcd1..35df3985 100644 --- a/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php +++ b/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php @@ -123,3 +123,4 @@ class HTMLPurifier_AttrDef_CSS_BackgroundPosition extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Border.php b/library/HTMLPurifier/AttrDef/CSS/Border.php index b3afdb72..42a1d1b4 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Border.php +++ b/library/HTMLPurifier/AttrDef/CSS/Border.php @@ -40,3 +40,4 @@ class HTMLPurifier_AttrDef_CSS_Border extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Color.php b/library/HTMLPurifier/AttrDef/CSS/Color.php index efaafb35..14c6594b 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Color.php +++ b/library/HTMLPurifier/AttrDef/CSS/Color.php @@ -75,3 +75,4 @@ class HTMLPurifier_AttrDef_CSS_Color extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Composite.php b/library/HTMLPurifier/AttrDef/CSS/Composite.php index 66d670a0..de1289cb 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Composite.php +++ b/library/HTMLPurifier/AttrDef/CSS/Composite.php @@ -35,3 +35,4 @@ class HTMLPurifier_AttrDef_CSS_Composite extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php b/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php index bbf3f952..a00586b9 100644 --- a/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php +++ b/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php @@ -24,3 +24,5 @@ class HTMLPurifier_AttrDef_CSS_DenyElementDecorator extends HTMLPurifier_AttrDef 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 1bc6ceb5..147894b8 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Filter.php +++ b/library/HTMLPurifier/AttrDef/CSS/Filter.php @@ -50,3 +50,5 @@ class HTMLPurifier_AttrDef_CSS_Filter extends HTMLPurifier_AttrDef } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Font.php b/library/HTMLPurifier/AttrDef/CSS/Font.php index 9a621ad4..699ee0b7 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Font.php +++ b/library/HTMLPurifier/AttrDef/CSS/Font.php @@ -146,3 +146,4 @@ class HTMLPurifier_AttrDef_CSS_Font extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/FontFamily.php b/library/HTMLPurifier/AttrDef/CSS/FontFamily.php index 494cff73..705ac893 100644 --- a/library/HTMLPurifier/AttrDef/CSS/FontFamily.php +++ b/library/HTMLPurifier/AttrDef/CSS/FontFamily.php @@ -87,3 +87,4 @@ class HTMLPurifier_AttrDef_CSS_FontFamily extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php b/library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php index 84dc795e..2990cff7 100644 --- a/library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php +++ b/library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php @@ -36,3 +36,5 @@ class HTMLPurifier_AttrDef_CSS_ImportantDecorator extends HTMLPurifier_AttrDef 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 5a13a81b..a07ec581 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Length.php +++ b/library/HTMLPurifier/AttrDef/CSS/Length.php @@ -44,3 +44,4 @@ class HTMLPurifier_AttrDef_CSS_Length extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/ListStyle.php b/library/HTMLPurifier/AttrDef/CSS/ListStyle.php index 8614e6c9..4406868c 100644 --- a/library/HTMLPurifier/AttrDef/CSS/ListStyle.php +++ b/library/HTMLPurifier/AttrDef/CSS/ListStyle.php @@ -75,3 +75,4 @@ class HTMLPurifier_AttrDef_CSS_ListStyle extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Multiple.php b/library/HTMLPurifier/AttrDef/CSS/Multiple.php index d72829a6..4d62a40d 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Multiple.php +++ b/library/HTMLPurifier/AttrDef/CSS/Multiple.php @@ -55,3 +55,4 @@ class HTMLPurifier_AttrDef_CSS_Multiple extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Number.php b/library/HTMLPurifier/AttrDef/CSS/Number.php index a00aad12..3f99e12e 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Number.php +++ b/library/HTMLPurifier/AttrDef/CSS/Number.php @@ -66,3 +66,4 @@ class HTMLPurifier_AttrDef_CSS_Number extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/Percentage.php b/library/HTMLPurifier/AttrDef/CSS/Percentage.php index 025bf0f8..c34b8fc3 100644 --- a/library/HTMLPurifier/AttrDef/CSS/Percentage.php +++ b/library/HTMLPurifier/AttrDef/CSS/Percentage.php @@ -37,3 +37,4 @@ class HTMLPurifier_AttrDef_CSS_Percentage extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php b/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php index 7cd31f5e..772c922d 100644 --- a/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php +++ b/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php @@ -35,3 +35,4 @@ class HTMLPurifier_AttrDef_CSS_TextDecoration extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/CSS/URI.php b/library/HTMLPurifier/AttrDef/CSS/URI.php index edf5e6fb..435d7930 100644 --- a/library/HTMLPurifier/AttrDef/CSS/URI.php +++ b/library/HTMLPurifier/AttrDef/CSS/URI.php @@ -53,3 +53,4 @@ class HTMLPurifier_AttrDef_CSS_URI extends HTMLPurifier_AttrDef_URI } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/Enum.php b/library/HTMLPurifier/AttrDef/Enum.php index ae774541..5d603ebc 100644 --- a/library/HTMLPurifier/AttrDef/Enum.php +++ b/library/HTMLPurifier/AttrDef/Enum.php @@ -62,3 +62,4 @@ class HTMLPurifier_AttrDef_Enum extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/Bool.php b/library/HTMLPurifier/AttrDef/HTML/Bool.php index c54d21b8..e06987eb 100644 --- a/library/HTMLPurifier/AttrDef/HTML/Bool.php +++ b/library/HTMLPurifier/AttrDef/HTML/Bool.php @@ -25,3 +25,4 @@ class HTMLPurifier_AttrDef_HTML_Bool extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/Color.php b/library/HTMLPurifier/AttrDef/HTML/Color.php index a5138fe8..5311a3c6 100644 --- a/library/HTMLPurifier/AttrDef/HTML/Color.php +++ b/library/HTMLPurifier/AttrDef/HTML/Color.php @@ -29,3 +29,4 @@ class HTMLPurifier_AttrDef_HTML_Color extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php b/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php index ae64206a..bd281a89 100644 --- a/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php +++ b/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php @@ -18,3 +18,4 @@ class HTMLPurifier_AttrDef_HTML_FrameTarget extends HTMLPurifier_AttrDef_Enum } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/ID.php b/library/HTMLPurifier/AttrDef/HTML/ID.php index 2a9dd118..7c5c169c 100644 --- a/library/HTMLPurifier/AttrDef/HTML/ID.php +++ b/library/HTMLPurifier/AttrDef/HTML/ID.php @@ -67,3 +67,4 @@ class HTMLPurifier_AttrDef_HTML_ID extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/Length.php b/library/HTMLPurifier/AttrDef/HTML/Length.php index 27fb4e79..a242f9c2 100644 --- a/library/HTMLPurifier/AttrDef/HTML/Length.php +++ b/library/HTMLPurifier/AttrDef/HTML/Length.php @@ -38,3 +38,4 @@ class HTMLPurifier_AttrDef_HTML_Length extends HTMLPurifier_AttrDef_HTML_Pixels } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/LinkTypes.php b/library/HTMLPurifier/AttrDef/HTML/LinkTypes.php index 968bf83e..8a0da0c8 100644 --- a/library/HTMLPurifier/AttrDef/HTML/LinkTypes.php +++ b/library/HTMLPurifier/AttrDef/HTML/LinkTypes.php @@ -50,3 +50,4 @@ class HTMLPurifier_AttrDef_HTML_LinkTypes extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/MultiLength.php b/library/HTMLPurifier/AttrDef/HTML/MultiLength.php index dbd818ce..c72fc76e 100644 --- a/library/HTMLPurifier/AttrDef/HTML/MultiLength.php +++ b/library/HTMLPurifier/AttrDef/HTML/MultiLength.php @@ -38,3 +38,4 @@ class HTMLPurifier_AttrDef_HTML_MultiLength extends HTMLPurifier_AttrDef_HTML_Le } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php b/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php index 53789d53..55035c4d 100644 --- a/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php +++ b/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php @@ -45,3 +45,4 @@ class HTMLPurifier_AttrDef_HTML_Nmtokens extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/HTML/Pixels.php b/library/HTMLPurifier/AttrDef/HTML/Pixels.php index 2890ffb5..4cb2c1b8 100644 --- a/library/HTMLPurifier/AttrDef/HTML/Pixels.php +++ b/library/HTMLPurifier/AttrDef/HTML/Pixels.php @@ -45,3 +45,4 @@ class HTMLPurifier_AttrDef_HTML_Pixels extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/Integer.php b/library/HTMLPurifier/AttrDef/Integer.php index 3ccce1b5..d59738d2 100644 --- a/library/HTMLPurifier/AttrDef/Integer.php +++ b/library/HTMLPurifier/AttrDef/Integer.php @@ -70,3 +70,4 @@ class HTMLPurifier_AttrDef_Integer extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/Lang.php b/library/HTMLPurifier/AttrDef/Lang.php index 73cab4ff..10e6da56 100644 --- a/library/HTMLPurifier/AttrDef/Lang.php +++ b/library/HTMLPurifier/AttrDef/Lang.php @@ -70,3 +70,4 @@ class HTMLPurifier_AttrDef_Lang extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/Switch.php b/library/HTMLPurifier/AttrDef/Switch.php index 99f5f172..c9e3ed19 100644 --- a/library/HTMLPurifier/AttrDef/Switch.php +++ b/library/HTMLPurifier/AttrDef/Switch.php @@ -30,3 +30,5 @@ class HTMLPurifier_AttrDef_Switch } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/Text.php b/library/HTMLPurifier/AttrDef/Text.php index a3c31016..c6216cc5 100644 --- a/library/HTMLPurifier/AttrDef/Text.php +++ b/library/HTMLPurifier/AttrDef/Text.php @@ -12,3 +12,4 @@ class HTMLPurifier_AttrDef_Text extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/URI.php b/library/HTMLPurifier/AttrDef/URI.php index 63758cf2..93d2f0bb 100644 --- a/library/HTMLPurifier/AttrDef/URI.php +++ b/library/HTMLPurifier/AttrDef/URI.php @@ -74,4 +74,4 @@ class HTMLPurifier_AttrDef_URI extends HTMLPurifier_AttrDef } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/URI/Email.php b/library/HTMLPurifier/AttrDef/URI/Email.php index 9c57ad7c..bfee9d16 100644 --- a/library/HTMLPurifier/AttrDef/URI/Email.php +++ b/library/HTMLPurifier/AttrDef/URI/Email.php @@ -13,3 +13,5 @@ abstract class HTMLPurifier_AttrDef_URI_Email extends HTMLPurifier_AttrDef } // 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 33e3b98d..94c715ab 100644 --- a/library/HTMLPurifier/AttrDef/URI/Email/SimpleCheck.php +++ b/library/HTMLPurifier/AttrDef/URI/Email/SimpleCheck.php @@ -18,3 +18,4 @@ class HTMLPurifier_AttrDef_URI_Email_SimpleCheck extends HTMLPurifier_AttrDef_UR } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/URI/Host.php b/library/HTMLPurifier/AttrDef/URI/Host.php index a754c704..2156c10c 100644 --- a/library/HTMLPurifier/AttrDef/URI/Host.php +++ b/library/HTMLPurifier/AttrDef/URI/Host.php @@ -59,3 +59,4 @@ class HTMLPurifier_AttrDef_URI_Host extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/URI/IPv4.php b/library/HTMLPurifier/AttrDef/URI/IPv4.php index b3037174..ec4cf591 100644 --- a/library/HTMLPurifier/AttrDef/URI/IPv4.php +++ b/library/HTMLPurifier/AttrDef/URI/IPv4.php @@ -36,3 +36,4 @@ class HTMLPurifier_AttrDef_URI_IPv4 extends HTMLPurifier_AttrDef } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrDef/URI/IPv6.php b/library/HTMLPurifier/AttrDef/URI/IPv6.php index cf6068d8..9454e9be 100644 --- a/library/HTMLPurifier/AttrDef/URI/IPv6.php +++ b/library/HTMLPurifier/AttrDef/URI/IPv6.php @@ -96,3 +96,4 @@ class HTMLPurifier_AttrDef_URI_IPv6 extends HTMLPurifier_AttrDef_URI_IPv4 } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform.php b/library/HTMLPurifier/AttrTransform.php index 41594dce..e61d3e01 100644 --- a/library/HTMLPurifier/AttrTransform.php +++ b/library/HTMLPurifier/AttrTransform.php @@ -53,3 +53,4 @@ abstract class HTMLPurifier_AttrTransform } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Background.php b/library/HTMLPurifier/AttrTransform/Background.php index 6dc301f9..0e1ff24a 100644 --- a/library/HTMLPurifier/AttrTransform/Background.php +++ b/library/HTMLPurifier/AttrTransform/Background.php @@ -20,3 +20,4 @@ class HTMLPurifier_AttrTransform_Background extends HTMLPurifier_AttrTransform { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/BdoDir.php b/library/HTMLPurifier/AttrTransform/BdoDir.php index 289daaaf..40310b91 100644 --- a/library/HTMLPurifier/AttrTransform/BdoDir.php +++ b/library/HTMLPurifier/AttrTransform/BdoDir.php @@ -16,3 +16,4 @@ class HTMLPurifier_AttrTransform_BdoDir extends HTMLPurifier_AttrTransform } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/BgColor.php b/library/HTMLPurifier/AttrTransform/BgColor.php index e3d8d1df..ad3916bb 100644 --- a/library/HTMLPurifier/AttrTransform/BgColor.php +++ b/library/HTMLPurifier/AttrTransform/BgColor.php @@ -20,3 +20,4 @@ class HTMLPurifier_AttrTransform_BgColor extends HTMLPurifier_AttrTransform { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/BoolToCSS.php b/library/HTMLPurifier/AttrTransform/BoolToCSS.php index a5efa5b4..51159b67 100644 --- a/library/HTMLPurifier/AttrTransform/BoolToCSS.php +++ b/library/HTMLPurifier/AttrTransform/BoolToCSS.php @@ -33,3 +33,4 @@ class HTMLPurifier_AttrTransform_BoolToCSS extends HTMLPurifier_AttrTransform { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Border.php b/library/HTMLPurifier/AttrTransform/Border.php index a651c4d2..476b0b07 100644 --- a/library/HTMLPurifier/AttrTransform/Border.php +++ b/library/HTMLPurifier/AttrTransform/Border.php @@ -15,3 +15,4 @@ class HTMLPurifier_AttrTransform_Border extends HTMLPurifier_AttrTransform { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/EnumToCSS.php b/library/HTMLPurifier/AttrTransform/EnumToCSS.php index 0b38a8c6..2a5b4514 100644 --- a/library/HTMLPurifier/AttrTransform/EnumToCSS.php +++ b/library/HTMLPurifier/AttrTransform/EnumToCSS.php @@ -55,3 +55,4 @@ class HTMLPurifier_AttrTransform_EnumToCSS extends HTMLPurifier_AttrTransform { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/ImgRequired.php b/library/HTMLPurifier/AttrTransform/ImgRequired.php index ef89ca97..25c9403c 100644 --- a/library/HTMLPurifier/AttrTransform/ImgRequired.php +++ b/library/HTMLPurifier/AttrTransform/ImgRequired.php @@ -39,3 +39,4 @@ class HTMLPurifier_AttrTransform_ImgRequired extends HTMLPurifier_AttrTransform } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/ImgSpace.php b/library/HTMLPurifier/AttrTransform/ImgSpace.php index b22a2687..fd84c10c 100644 --- a/library/HTMLPurifier/AttrTransform/ImgSpace.php +++ b/library/HTMLPurifier/AttrTransform/ImgSpace.php @@ -41,3 +41,4 @@ class HTMLPurifier_AttrTransform_ImgSpace extends HTMLPurifier_AttrTransform { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Input.php b/library/HTMLPurifier/AttrTransform/Input.php index c71171a0..16829552 100644 --- a/library/HTMLPurifier/AttrTransform/Input.php +++ b/library/HTMLPurifier/AttrTransform/Input.php @@ -37,3 +37,4 @@ class HTMLPurifier_AttrTransform_Input extends HTMLPurifier_AttrTransform { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Lang.php b/library/HTMLPurifier/AttrTransform/Lang.php index 5acc2414..5869e7f8 100644 --- a/library/HTMLPurifier/AttrTransform/Lang.php +++ b/library/HTMLPurifier/AttrTransform/Lang.php @@ -25,3 +25,4 @@ class HTMLPurifier_AttrTransform_Lang extends HTMLPurifier_AttrTransform } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Length.php b/library/HTMLPurifier/AttrTransform/Length.php index bb5d914e..ea2f3047 100644 --- a/library/HTMLPurifier/AttrTransform/Length.php +++ b/library/HTMLPurifier/AttrTransform/Length.php @@ -24,3 +24,4 @@ class HTMLPurifier_AttrTransform_Length extends HTMLPurifier_AttrTransform } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Name.php b/library/HTMLPurifier/AttrTransform/Name.php index aa9f96b8..e6f93aee 100644 --- a/library/HTMLPurifier/AttrTransform/Name.php +++ b/library/HTMLPurifier/AttrTransform/Name.php @@ -16,3 +16,4 @@ class HTMLPurifier_AttrTransform_Name extends HTMLPurifier_AttrTransform } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/SafeEmbed.php b/library/HTMLPurifier/AttrTransform/SafeEmbed.php index f2e433df..4da44998 100644 --- a/library/HTMLPurifier/AttrTransform/SafeEmbed.php +++ b/library/HTMLPurifier/AttrTransform/SafeEmbed.php @@ -11,3 +11,5 @@ class HTMLPurifier_AttrTransform_SafeEmbed extends HTMLPurifier_AttrTransform return $attr; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/SafeObject.php b/library/HTMLPurifier/AttrTransform/SafeObject.php index 28d1ad68..1ed74898 100644 --- a/library/HTMLPurifier/AttrTransform/SafeObject.php +++ b/library/HTMLPurifier/AttrTransform/SafeObject.php @@ -12,3 +12,5 @@ class HTMLPurifier_AttrTransform_SafeObject extends HTMLPurifier_AttrTransform return $attr; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/SafeParam.php b/library/HTMLPurifier/AttrTransform/SafeParam.php index 626243e7..94e8052a 100644 --- a/library/HTMLPurifier/AttrTransform/SafeParam.php +++ b/library/HTMLPurifier/AttrTransform/SafeParam.php @@ -46,3 +46,5 @@ class HTMLPurifier_AttrTransform_SafeParam extends HTMLPurifier_AttrTransform return $attr; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/ScriptRequired.php b/library/HTMLPurifier/AttrTransform/ScriptRequired.php index cc18b7e9..4499050a 100644 --- a/library/HTMLPurifier/AttrTransform/ScriptRequired.php +++ b/library/HTMLPurifier/AttrTransform/ScriptRequired.php @@ -12,3 +12,5 @@ class HTMLPurifier_AttrTransform_ScriptRequired extends HTMLPurifier_AttrTransfo return $attr; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrTransform/Textarea.php b/library/HTMLPurifier/AttrTransform/Textarea.php index 624d2ee8..81ac3488 100644 --- a/library/HTMLPurifier/AttrTransform/Textarea.php +++ b/library/HTMLPurifier/AttrTransform/Textarea.php @@ -13,4 +13,6 @@ class HTMLPurifier_AttrTransform_Textarea extends HTMLPurifier_AttrTransform 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 74bf062d..6c624bb0 100644 --- a/library/HTMLPurifier/AttrTypes.php +++ b/library/HTMLPurifier/AttrTypes.php @@ -71,4 +71,4 @@ class HTMLPurifier_AttrTypes } } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/AttrValidator.php b/library/HTMLPurifier/AttrValidator.php index df21c3ac..829a0f8f 100644 --- a/library/HTMLPurifier/AttrValidator.php +++ b/library/HTMLPurifier/AttrValidator.php @@ -159,3 +159,4 @@ class HTMLPurifier_AttrValidator } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Bootstrap.php b/library/HTMLPurifier/Bootstrap.php index eb266231..559f61a2 100644 --- a/library/HTMLPurifier/Bootstrap.php +++ b/library/HTMLPurifier/Bootstrap.php @@ -94,3 +94,5 @@ class HTMLPurifier_Bootstrap } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/CSSDefinition.php b/library/HTMLPurifier/CSSDefinition.php index 2433cab5..1a180573 100644 --- a/library/HTMLPurifier/CSSDefinition.php +++ b/library/HTMLPurifier/CSSDefinition.php @@ -289,3 +289,4 @@ class HTMLPurifier_CSSDefinition extends HTMLPurifier_Definition } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef.php b/library/HTMLPurifier/ChildDef.php index 3f5e6652..ccb6a21d 100644 --- a/library/HTMLPurifier/ChildDef.php +++ b/library/HTMLPurifier/ChildDef.php @@ -45,4 +45,4 @@ abstract class HTMLPurifier_ChildDef 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 042c9bb7..15c364ee 100644 --- a/library/HTMLPurifier/ChildDef/Chameleon.php +++ b/library/HTMLPurifier/ChildDef/Chameleon.php @@ -45,3 +45,4 @@ class HTMLPurifier_ChildDef_Chameleon extends HTMLPurifier_ChildDef } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/Custom.php b/library/HTMLPurifier/ChildDef/Custom.php index 444b207c..b68047b4 100644 --- a/library/HTMLPurifier/ChildDef/Custom.php +++ b/library/HTMLPurifier/ChildDef/Custom.php @@ -87,3 +87,4 @@ class HTMLPurifier_ChildDef_Custom extends HTMLPurifier_ChildDef } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/Empty.php b/library/HTMLPurifier/ChildDef/Empty.php index ad4dc0b7..13171f66 100644 --- a/library/HTMLPurifier/ChildDef/Empty.php +++ b/library/HTMLPurifier/ChildDef/Empty.php @@ -17,3 +17,4 @@ class HTMLPurifier_ChildDef_Empty extends HTMLPurifier_ChildDef } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/Optional.php b/library/HTMLPurifier/ChildDef/Optional.php index 443c9d06..32bcb989 100644 --- a/library/HTMLPurifier/ChildDef/Optional.php +++ b/library/HTMLPurifier/ChildDef/Optional.php @@ -23,3 +23,4 @@ class HTMLPurifier_ChildDef_Optional extends HTMLPurifier_ChildDef_Required } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/Required.php b/library/HTMLPurifier/ChildDef/Required.php index 0af6d159..c3e748b2 100644 --- a/library/HTMLPurifier/ChildDef/Required.php +++ b/library/HTMLPurifier/ChildDef/Required.php @@ -114,3 +114,4 @@ class HTMLPurifier_ChildDef_Required extends HTMLPurifier_ChildDef } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/StrictBlockquote.php b/library/HTMLPurifier/ChildDef/StrictBlockquote.php index ba2b0d02..913e32c1 100644 --- a/library/HTMLPurifier/ChildDef/StrictBlockquote.php +++ b/library/HTMLPurifier/ChildDef/StrictBlockquote.php @@ -85,3 +85,4 @@ class HTMLPurifier_ChildDef_StrictBlockquote extends HTMLPurifier_ChildDef_Requi } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ChildDef/Table.php b/library/HTMLPurifier/ChildDef/Table.php index ced19477..2608497a 100644 --- a/library/HTMLPurifier/ChildDef/Table.php +++ b/library/HTMLPurifier/ChildDef/Table.php @@ -139,3 +139,4 @@ class HTMLPurifier_ChildDef_Table extends HTMLPurifier_ChildDef } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Config.php b/library/HTMLPurifier/Config.php index d2b0d2cd..48848d19 100644 --- a/library/HTMLPurifier/Config.php +++ b/library/HTMLPurifier/Config.php @@ -488,5 +488,4 @@ class HTMLPurifier_Config } - - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema.php b/library/HTMLPurifier/ConfigSchema.php index 5ce63f43..3e2563c2 100644 --- a/library/HTMLPurifier/ConfigSchema.php +++ b/library/HTMLPurifier/ConfigSchema.php @@ -218,4 +218,4 @@ class HTMLPurifier_ConfigSchema { } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php b/library/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php index 164eb358..987f547b 100644 --- a/library/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php +++ b/library/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php @@ -48,3 +48,5 @@ class HTMLPurifier_ConfigSchema_Builder_ConfigSchema } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Builder/Xml.php b/library/HTMLPurifier/ConfigSchema/Builder/Xml.php index 1e0ed2bb..51bcab78 100644 --- a/library/HTMLPurifier/ConfigSchema/Builder/Xml.php +++ b/library/HTMLPurifier/ConfigSchema/Builder/Xml.php @@ -104,3 +104,5 @@ class HTMLPurifier_ConfigSchema_Builder_Xml extends XMLWriter } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Exception.php b/library/HTMLPurifier/ConfigSchema/Exception.php index a6ec24ae..2671516c 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 aa7cc9f0..365c6635 100644 --- a/library/HTMLPurifier/ConfigSchema/Interchange.php +++ b/library/HTMLPurifier/ConfigSchema/Interchange.php @@ -53,3 +53,5 @@ class HTMLPurifier_ConfigSchema_Interchange } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Interchange/Directive.php b/library/HTMLPurifier/ConfigSchema/Interchange/Directive.php index 24daed67..ac8be0d9 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 4d5b4cb3..ec01589b 100644 --- a/library/HTMLPurifier/ConfigSchema/Interchange/Id.php +++ b/library/HTMLPurifier/ConfigSchema/Interchange/Id.php @@ -27,3 +27,5 @@ class HTMLPurifier_ConfigSchema_Interchange_Id } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Interchange/Namespace.php b/library/HTMLPurifier/ConfigSchema/Interchange/Namespace.php index 3eed008e..3ffac0a0 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 5f781fbc..a1a24eac 100644 --- a/library/HTMLPurifier/ConfigSchema/InterchangeBuilder.php +++ b/library/HTMLPurifier/ConfigSchema/InterchangeBuilder.php @@ -173,3 +173,4 @@ class HTMLPurifier_ConfigSchema_InterchangeBuilder } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/Validator.php b/library/HTMLPurifier/ConfigSchema/Validator.php index 1bd959e8..2dfd37ba 100644 --- a/library/HTMLPurifier/ConfigSchema/Validator.php +++ b/library/HTMLPurifier/ConfigSchema/Validator.php @@ -221,3 +221,5 @@ class HTMLPurifier_ConfigSchema_Validator } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ConfigSchema/ValidatorAtom.php b/library/HTMLPurifier/ConfigSchema/ValidatorAtom.php index 80cd1147..b95aea18 100644 --- a/library/HTMLPurifier/ConfigSchema/ValidatorAtom.php +++ b/library/HTMLPurifier/ConfigSchema/ValidatorAtom.php @@ -63,4 +63,4 @@ class HTMLPurifier_ConfigSchema_ValidatorAtom } - +// 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 e1d82cf9..249edd64 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 c5cda0f2..9a8fa6a2 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 89212c85..b0178834 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 4795f670..533165e1 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 ebd15275..9eb7e384 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 883e12e4..2f17bf47 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 f138c991..52654b53 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 8803e01f..6440d210 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 7ab58444..5f2b5e3d 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 2da2e7ab..6f582458 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 e5736f68..cc49d43f 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 4a8b6872..2c5924a7 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 de0591d3..2d72049d 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 1548c1f2..d5caa1bb 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 90fc5ad7..2a476481 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 28a157ed..663064a3 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 c377e917..3a48ba96 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 cd7f0b8e..7996488b 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 9edf0d62..aaede47d 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 c63fb699..161a52ef 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 b7ff83f8..3e8309e3 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 95bffcd8..6097a557 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 68fcde1b..b324608f 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 1b4f524b..748be0ee 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 6960d562..460112eb 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 477791a1..5cb7dda3 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 824111e7..7a329147 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 71b9ea47..148eedb8 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 8bafc4b3..d14b4909 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 92b3bee6..c486724c 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 981882eb..54036507 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 6edaae0c..57f30239 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 7fdca492..568cbf3b 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 5ab4168a..d7317911 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 6ec36dbb..08b381d3 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 3f832c10..64b114fc 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 56c213ab..36f16e07 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 ab75dbd9..8bfb47c3 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 554d6a24..4d5b5055 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 779a573e..a7a5b249 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 8540c202..abb49994 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 51ad8afc..915391ed 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 38d7e661..233fca14 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 c32a6f65..8983e2cc 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 85307d35..eb841a75 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 c049d4df..4070c2a0 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 1d0e9779..a4cd966d 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 296982a5..5edfe078 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 83d9ebc2..3db50ef2 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 49413220..078d0874 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 cbdc0068..7fa6536b 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 cf5f89cd..f2d25a1b 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 45610102..d436ed01 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 366df445..3943529c 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 78e69cbb..cafccf8b 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 8e2bbe7c..dff9784b 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 5fcd1244..3e231d2d 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 04d71ae8..fcf093f1 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 336d5e41..888d5581 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 cdd78270..5a59a55c 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 d4cfe854..45ae469e 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 43458628..52461887 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 ee410ff0..a64e3d7c 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 36a3e9da..103db754 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 e241537a..229ae026 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 051cf20a..9dab497f 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 68c49cd6..57358f9b 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 1a9c90f4..93a53e14 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 15d8dcec..e424c386 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 28105d9c..62e8e160 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 9784c1c4..dfb72049 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 98ed8f9f..f635a685 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 4e9d9d23..32967b88 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 c9697bde..a8b1de56 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 fca9c804..b4c271b7 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 9383bbaa..4186ccd0 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 22704c33..996762bd 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 0bd414aa..89133b1a 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 8cca4b05..2a47e384 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 93500086..f32ceb5b 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 90a3e874..08921fde 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 6d4ca3e6..79f8ad82 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 5392b3bd..232b0236 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 8c005ca9..06bab00a 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 abd4b1b3..7849d60d 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 2cd7067d..071bc029 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 a9928fec..5025f9d1 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 cf1271c0..98fdfe92 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 04187ef7..876f0680 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 6fb7602f..728e378c 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 dd324a59..f05312ba 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 1a0bb8ba..80cfea93 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 a7977d3e..71ce025a 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 c6635809..13c122c8 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 27180a23..abcc1efd 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 8c41134a..51e6ea91 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 408c03cf..ee83b121 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 dbd680f5..0b6df762 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 0832b2cc..4214900a 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 c68d689b..58c81dcc 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 69b1ea83..6fce0fdc 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 a2f5a02c..0d00f62e 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 e910ee54..23331a4e 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 4bcdb95b..a13060f3 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 cd671892..5de4505e 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 1f665905..3b6e96f5 100644 --- a/library/HTMLPurifier/ContentSets.php +++ b/library/HTMLPurifier/ContentSets.php @@ -152,3 +152,4 @@ class HTMLPurifier_ContentSets } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Context.php b/library/HTMLPurifier/Context.php index 2b9ec2b3..9ddf0c54 100644 --- a/library/HTMLPurifier/Context.php +++ b/library/HTMLPurifier/Context.php @@ -79,3 +79,4 @@ class HTMLPurifier_Context } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Definition.php b/library/HTMLPurifier/Definition.php index 71068efa..a7408c97 100644 --- a/library/HTMLPurifier/Definition.php +++ b/library/HTMLPurifier/Definition.php @@ -36,3 +36,4 @@ abstract class HTMLPurifier_Definition } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache.php b/library/HTMLPurifier/DefinitionCache.php index f799a745..fa5a087b 100644 --- a/library/HTMLPurifier/DefinitionCache.php +++ b/library/HTMLPurifier/DefinitionCache.php @@ -105,3 +105,4 @@ abstract class HTMLPurifier_DefinitionCache } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache/Decorator.php b/library/HTMLPurifier/DefinitionCache/Decorator.php index 3fdac0a7..b0fb6d0c 100644 --- a/library/HTMLPurifier/DefinitionCache/Decorator.php +++ b/library/HTMLPurifier/DefinitionCache/Decorator.php @@ -59,3 +59,4 @@ class HTMLPurifier_DefinitionCache_Decorator extends HTMLPurifier_DefinitionCach } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php b/library/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php index 0652106c..d4cc35c4 100644 --- a/library/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php +++ b/library/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php @@ -40,3 +40,4 @@ class HTMLPurifier_DefinitionCache_Decorator_Cleanup extends } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache/Decorator/Memory.php b/library/HTMLPurifier/DefinitionCache/Decorator/Memory.php index c1407c21..18f16d32 100644 --- a/library/HTMLPurifier/DefinitionCache/Decorator/Memory.php +++ b/library/HTMLPurifier/DefinitionCache/Decorator/Memory.php @@ -43,3 +43,4 @@ class HTMLPurifier_DefinitionCache_Decorator_Memory extends } +// 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 ba141434..21a8fcfd 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 6a0101cb..41d97e73 100644 --- a/library/HTMLPurifier/DefinitionCache/Null.php +++ b/library/HTMLPurifier/DefinitionCache/Null.php @@ -36,3 +36,4 @@ class HTMLPurifier_DefinitionCache_Null extends HTMLPurifier_DefinitionCache } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache/Serializer.php b/library/HTMLPurifier/DefinitionCache/Serializer.php index eba9f7d0..2c59cc80 100644 --- a/library/HTMLPurifier/DefinitionCache/Serializer.php +++ b/library/HTMLPurifier/DefinitionCache/Serializer.php @@ -169,3 +169,4 @@ class HTMLPurifier_DefinitionCache_Serializer extends } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DefinitionCache/Serializer/README b/library/HTMLPurifier/DefinitionCache/Serializer/README index 962b80a3..2e35c1c3 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 dae95350..3adefbb6 100644 --- a/library/HTMLPurifier/DefinitionCacheFactory.php +++ b/library/HTMLPurifier/DefinitionCacheFactory.php @@ -88,3 +88,4 @@ class HTMLPurifier_DefinitionCacheFactory } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Doctype.php b/library/HTMLPurifier/Doctype.php index cfc6556a..1e3c574c 100644 --- a/library/HTMLPurifier/Doctype.php +++ b/library/HTMLPurifier/Doctype.php @@ -57,3 +57,4 @@ class HTMLPurifier_Doctype } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/DoctypeRegistry.php b/library/HTMLPurifier/DoctypeRegistry.php index 54b40701..d6552aa5 100644 --- a/library/HTMLPurifier/DoctypeRegistry.php +++ b/library/HTMLPurifier/DoctypeRegistry.php @@ -100,3 +100,4 @@ class HTMLPurifier_DoctypeRegistry } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ElementDef.php b/library/HTMLPurifier/ElementDef.php index d89c813e..68b50b95 100644 --- a/library/HTMLPurifier/ElementDef.php +++ b/library/HTMLPurifier/ElementDef.php @@ -158,4 +158,4 @@ class HTMLPurifier_ElementDef } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Encoder.php b/library/HTMLPurifier/Encoder.php index 6e9c5d48..79a42d26 100644 --- a/library/HTMLPurifier/Encoder.php +++ b/library/HTMLPurifier/Encoder.php @@ -423,3 +423,4 @@ class HTMLPurifier_Encoder } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/EntityLookup.php b/library/HTMLPurifier/EntityLookup.php index 0d52e916..b4dfce94 100644 --- a/library/HTMLPurifier/EntityLookup.php +++ b/library/HTMLPurifier/EntityLookup.php @@ -41,3 +41,4 @@ class HTMLPurifier_EntityLookup { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/EntityParser.php b/library/HTMLPurifier/EntityParser.php index 6ca02aa9..8c384472 100644 --- a/library/HTMLPurifier/EntityParser.php +++ b/library/HTMLPurifier/EntityParser.php @@ -141,3 +141,4 @@ class HTMLPurifier_EntityParser } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ErrorCollector.php b/library/HTMLPurifier/ErrorCollector.php index 1a1fa026..6713eaf7 100644 --- a/library/HTMLPurifier/ErrorCollector.php +++ b/library/HTMLPurifier/ErrorCollector.php @@ -206,3 +206,4 @@ class HTMLPurifier_ErrorCollector } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/ErrorStruct.php b/library/HTMLPurifier/ErrorStruct.php index 9b323293..9bc8996e 100644 --- a/library/HTMLPurifier/ErrorStruct.php +++ b/library/HTMLPurifier/ErrorStruct.php @@ -56,3 +56,5 @@ class HTMLPurifier_ErrorStruct } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Exception.php b/library/HTMLPurifier/Exception.php index e0417d9f..be85b4c5 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 3222eba8..9a0e7b09 100644 --- a/library/HTMLPurifier/Filter.php +++ b/library/HTMLPurifier/Filter.php @@ -43,3 +43,4 @@ class HTMLPurifier_Filter } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Filter/ExtractStyleBlocks.php b/library/HTMLPurifier/Filter/ExtractStyleBlocks.php index 84ce1e5d..970f9e0c 100644 --- a/library/HTMLPurifier/Filter/ExtractStyleBlocks.php +++ b/library/HTMLPurifier/Filter/ExtractStyleBlocks.php @@ -132,3 +132,4 @@ class HTMLPurifier_Filter_ExtractStyleBlocks extends HTMLPurifier_Filter } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Filter/YouTube.php b/library/HTMLPurifier/Filter/YouTube.php index ed6ee892..df20d09f 100644 --- a/library/HTMLPurifier/Filter/YouTube.php +++ b/library/HTMLPurifier/Filter/YouTube.php @@ -29,3 +29,4 @@ class HTMLPurifier_Filter_YouTube extends HTMLPurifier_Filter } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Generator.php b/library/HTMLPurifier/Generator.php index ab77dfcf..a1b96b9e 100644 --- a/library/HTMLPurifier/Generator.php +++ b/library/HTMLPurifier/Generator.php @@ -180,3 +180,4 @@ class HTMLPurifier_Generator } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLDefinition.php b/library/HTMLPurifier/HTMLDefinition.php index c5d0826f..3368821c 100644 --- a/library/HTMLPurifier/HTMLDefinition.php +++ b/library/HTMLPurifier/HTMLDefinition.php @@ -417,4 +417,4 @@ class HTMLPurifier_HTMLDefinition extends HTMLPurifier_Definition } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule.php b/library/HTMLPurifier/HTMLModule.php index 1b550d64..072cf680 100644 --- a/library/HTMLPurifier/HTMLModule.php +++ b/library/HTMLPurifier/HTMLModule.php @@ -241,3 +241,4 @@ class HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Bdo.php b/library/HTMLPurifier/HTMLModule/Bdo.php index 55ff12b1..3d66f1b4 100644 --- a/library/HTMLPurifier/HTMLModule/Bdo.php +++ b/library/HTMLPurifier/HTMLModule/Bdo.php @@ -28,3 +28,4 @@ class HTMLPurifier_HTMLModule_Bdo extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/CommonAttributes.php b/library/HTMLPurifier/HTMLModule/CommonAttributes.php index f2dddc6e..fdf7b323 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 ab6702a4..ff936905 100644 --- a/library/HTMLPurifier/HTMLModule/Edit.php +++ b/library/HTMLPurifier/HTMLModule/Edit.php @@ -35,3 +35,4 @@ class HTMLPurifier_HTMLModule_Edit extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Forms.php b/library/HTMLPurifier/HTMLModule/Forms.php index b2ebdf12..44c22f6f 100644 --- a/library/HTMLPurifier/HTMLModule/Forms.php +++ b/library/HTMLPurifier/HTMLModule/Forms.php @@ -115,3 +115,4 @@ class HTMLPurifier_HTMLModule_Forms extends HTMLPurifier_HTMLModule } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Hypertext.php b/library/HTMLPurifier/HTMLModule/Hypertext.php index bacc7f7b..2e1088a1 100644 --- a/library/HTMLPurifier/HTMLModule/Hypertext.php +++ b/library/HTMLPurifier/HTMLModule/Hypertext.php @@ -27,3 +27,4 @@ class HTMLPurifier_HTMLModule_Hypertext extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Image.php b/library/HTMLPurifier/HTMLModule/Image.php index 440ca052..e6ed53ae 100644 --- a/library/HTMLPurifier/HTMLModule/Image.php +++ b/library/HTMLPurifier/HTMLModule/Image.php @@ -37,3 +37,4 @@ class HTMLPurifier_HTMLModule_Image extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Legacy.php b/library/HTMLPurifier/HTMLModule/Legacy.php index bc7ac2b5..e888b765 100644 --- a/library/HTMLPurifier/HTMLModule/Legacy.php +++ b/library/HTMLPurifier/HTMLModule/Legacy.php @@ -134,3 +134,4 @@ class HTMLPurifier_HTMLModule_Legacy extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/List.php b/library/HTMLPurifier/HTMLModule/List.php index ff5be31b..1d15f272 100644 --- a/library/HTMLPurifier/HTMLModule/List.php +++ b/library/HTMLPurifier/HTMLModule/List.php @@ -32,3 +32,4 @@ class HTMLPurifier_HTMLModule_List extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Name.php b/library/HTMLPurifier/HTMLModule/Name.php index 5bf51bbc..d908a0ad 100644 --- a/library/HTMLPurifier/HTMLModule/Name.php +++ b/library/HTMLPurifier/HTMLModule/Name.php @@ -14,3 +14,5 @@ class HTMLPurifier_HTMLModule_Name extends HTMLPurifier_HTMLModule } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/NonXMLCommonAttributes.php b/library/HTMLPurifier/HTMLModule/NonXMLCommonAttributes.php index 3a733c19..5f1b14ab 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 97c2e1bc..193c1011 100644 --- a/library/HTMLPurifier/HTMLModule/Object.php +++ b/library/HTMLPurifier/HTMLModule/Object.php @@ -44,3 +44,4 @@ class HTMLPurifier_HTMLModule_Object extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Presentation.php b/library/HTMLPurifier/HTMLModule/Presentation.php index dbe266f8..89b9ad0c 100644 --- a/library/HTMLPurifier/HTMLModule/Presentation.php +++ b/library/HTMLPurifier/HTMLModule/Presentation.php @@ -28,3 +28,4 @@ class HTMLPurifier_HTMLModule_Presentation extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Proprietary.php b/library/HTMLPurifier/HTMLModule/Proprietary.php index 4d0b164e..dd36a3de 100644 --- a/library/HTMLPurifier/HTMLModule/Proprietary.php +++ b/library/HTMLPurifier/HTMLModule/Proprietary.php @@ -30,3 +30,4 @@ class HTMLPurifier_HTMLModule_Proprietary extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Ruby.php b/library/HTMLPurifier/HTMLModule/Ruby.php index a7675938..b26a0a30 100644 --- a/library/HTMLPurifier/HTMLModule/Ruby.php +++ b/library/HTMLPurifier/HTMLModule/Ruby.php @@ -24,3 +24,4 @@ class HTMLPurifier_HTMLModule_Ruby extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/SafeEmbed.php b/library/HTMLPurifier/HTMLModule/SafeEmbed.php index 5cd0a5b7..635e8f2d 100644 --- a/library/HTMLPurifier/HTMLModule/SafeEmbed.php +++ b/library/HTMLPurifier/HTMLModule/SafeEmbed.php @@ -29,3 +29,5 @@ class HTMLPurifier_HTMLModule_SafeEmbed extends HTMLPurifier_HTMLModule } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/SafeObject.php b/library/HTMLPurifier/HTMLModule/SafeObject.php index f4345075..bbda7a21 100644 --- a/library/HTMLPurifier/HTMLModule/SafeObject.php +++ b/library/HTMLPurifier/HTMLModule/SafeObject.php @@ -46,3 +46,5 @@ class HTMLPurifier_HTMLModule_SafeObject extends HTMLPurifier_HTMLModule } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Scripting.php b/library/HTMLPurifier/HTMLModule/Scripting.php index 78c04be6..cecdea6c 100644 --- a/library/HTMLPurifier/HTMLModule/Scripting.php +++ b/library/HTMLPurifier/HTMLModule/Scripting.php @@ -51,3 +51,4 @@ class HTMLPurifier_HTMLModule_Scripting extends HTMLPurifier_HTMLModule } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/StyleAttribute.php b/library/HTMLPurifier/HTMLModule/StyleAttribute.php index d09bcb8a..eb78464c 100644 --- a/library/HTMLPurifier/HTMLModule/StyleAttribute.php +++ b/library/HTMLPurifier/HTMLModule/StyleAttribute.php @@ -21,3 +21,4 @@ class HTMLPurifier_HTMLModule_StyleAttribute extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tables.php b/library/HTMLPurifier/HTMLModule/Tables.php index ca17c763..f314ced3 100644 --- a/library/HTMLPurifier/HTMLModule/Tables.php +++ b/library/HTMLPurifier/HTMLModule/Tables.php @@ -63,3 +63,4 @@ class HTMLPurifier_HTMLModule_Tables extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Target.php b/library/HTMLPurifier/HTMLModule/Target.php index 81677eeb..2b844ecc 100644 --- a/library/HTMLPurifier/HTMLModule/Target.php +++ b/library/HTMLPurifier/HTMLModule/Target.php @@ -20,3 +20,4 @@ class HTMLPurifier_HTMLModule_Target extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Text.php b/library/HTMLPurifier/HTMLModule/Text.php index 585117b4..884c9e14 100644 --- a/library/HTMLPurifier/HTMLModule/Text.php +++ b/library/HTMLPurifier/HTMLModule/Text.php @@ -60,3 +60,4 @@ class HTMLPurifier_HTMLModule_Text extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tidy.php b/library/HTMLPurifier/HTMLModule/Tidy.php index 3a034712..c9d47064 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy.php +++ b/library/HTMLPurifier/HTMLModule/Tidy.php @@ -204,4 +204,4 @@ class HTMLPurifier_HTMLModule_Tidy extends HTMLPurifier_HTMLModule } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tidy/Name.php b/library/HTMLPurifier/HTMLModule/Tidy/Name.php index 63a6b41e..61ff85ce 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy/Name.php +++ b/library/HTMLPurifier/HTMLModule/Tidy/Name.php @@ -21,3 +21,4 @@ class HTMLPurifier_HTMLModule_Tidy_Name extends HTMLPurifier_HTMLModule_Tidy } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tidy/Proprietary.php b/library/HTMLPurifier/HTMLModule/Tidy/Proprietary.php index 0e9e24f3..85fa90a9 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy/Proprietary.php +++ b/library/HTMLPurifier/HTMLModule/Tidy/Proprietary.php @@ -20,3 +20,4 @@ class HTMLPurifier_HTMLModule_Tidy_Proprietary extends HTMLPurifier_HTMLModule_T } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tidy/Strict.php b/library/HTMLPurifier/HTMLModule/Tidy/Strict.php index bcd82889..c73dc3c4 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy/Strict.php +++ b/library/HTMLPurifier/HTMLModule/Tidy/Strict.php @@ -17,3 +17,5 @@ class HTMLPurifier_HTMLModule_Tidy_Strict extends HTMLPurifier_HTMLModule_Tidy_X 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 5a0e1170..9960b1dd 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 9bda9f90..db5a378e 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy/XHTML.php +++ b/library/HTMLPurifier/HTMLModule/Tidy/XHTML.php @@ -14,3 +14,4 @@ class HTMLPurifier_HTMLModule_Tidy_XHTML extends HTMLPurifier_HTMLModule_Tidy } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php b/library/HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php index c1b89e42..02e94381 100644 --- a/library/HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php +++ b/library/HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php @@ -158,3 +158,4 @@ class HTMLPurifier_HTMLModule_Tidy_XHTMLAndHTML4 extends HTMLPurifier_HTMLModule } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/HTMLModule/XMLCommonAttributes.php b/library/HTMLPurifier/HTMLModule/XMLCommonAttributes.php index 46e61476..9c0e0319 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 5c75301d..78f38781 100644 --- a/library/HTMLPurifier/HTMLModuleManager.php +++ b/library/HTMLPurifier/HTMLModuleManager.php @@ -400,4 +400,4 @@ class HTMLPurifier_HTMLModuleManager } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/IDAccumulator.php b/library/HTMLPurifier/IDAccumulator.php index 332cd769..d546cd75 100644 --- a/library/HTMLPurifier/IDAccumulator.php +++ b/library/HTMLPurifier/IDAccumulator.php @@ -50,3 +50,4 @@ class HTMLPurifier_IDAccumulator } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector.php b/library/HTMLPurifier/Injector.php index dc13b676..bc093b80 100644 --- a/library/HTMLPurifier/Injector.php +++ b/library/HTMLPurifier/Injector.php @@ -230,3 +230,4 @@ abstract class HTMLPurifier_Injector } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector/AutoParagraph.php b/library/HTMLPurifier/Injector/AutoParagraph.php index 35a13b17..8cc95254 100644 --- a/library/HTMLPurifier/Injector/AutoParagraph.php +++ b/library/HTMLPurifier/Injector/AutoParagraph.php @@ -337,3 +337,4 @@ class HTMLPurifier_Injector_AutoParagraph extends HTMLPurifier_Injector } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector/DisplayLinkURI.php b/library/HTMLPurifier/Injector/DisplayLinkURI.php index 92021b6e..9dce9bd0 100644 --- a/library/HTMLPurifier/Injector/DisplayLinkURI.php +++ b/library/HTMLPurifier/Injector/DisplayLinkURI.php @@ -21,4 +21,6 @@ class HTMLPurifier_Injector_DisplayLinkURI extends HTMLPurifier_Injector // 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 f925ec41..296dac28 100644 --- a/library/HTMLPurifier/Injector/Linkify.php +++ b/library/HTMLPurifier/Injector/Linkify.php @@ -43,3 +43,4 @@ class HTMLPurifier_Injector_Linkify extends HTMLPurifier_Injector } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector/PurifierLinkify.php b/library/HTMLPurifier/Injector/PurifierLinkify.php index cc6c691e..3c706a33 100644 --- a/library/HTMLPurifier/Injector/PurifierLinkify.php +++ b/library/HTMLPurifier/Injector/PurifierLinkify.php @@ -42,3 +42,4 @@ class HTMLPurifier_Injector_PurifierLinkify extends HTMLPurifier_Injector } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector/RemoveEmpty.php b/library/HTMLPurifier/Injector/RemoveEmpty.php index 5e0f5d51..d85ca97d 100644 --- a/library/HTMLPurifier/Injector/RemoveEmpty.php +++ b/library/HTMLPurifier/Injector/RemoveEmpty.php @@ -38,3 +38,5 @@ class HTMLPurifier_Injector_RemoveEmpty extends HTMLPurifier_Injector } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Injector/SafeObject.php b/library/HTMLPurifier/Injector/SafeObject.php index 35618e8d..34158286 100644 --- a/library/HTMLPurifier/Injector/SafeObject.php +++ b/library/HTMLPurifier/Injector/SafeObject.php @@ -84,3 +84,4 @@ class HTMLPurifier_Injector_SafeObject extends HTMLPurifier_Injector } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Language.php b/library/HTMLPurifier/Language.php index 40d47285..3e2be03b 100644 --- a/library/HTMLPurifier/Language.php +++ b/library/HTMLPurifier/Language.php @@ -160,3 +160,4 @@ class HTMLPurifier_Language } +// 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 238fb345..d52fcb7a 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 3eac9ec6..1c046f37 100644 --- a/library/HTMLPurifier/Language/messages/en-x-test.php +++ b/library/HTMLPurifier/Language/messages/en-x-test.php @@ -8,3 +8,4 @@ $messages = array( '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 4b16cd20..806c83fb 100644 --- a/library/HTMLPurifier/Language/messages/en-x-testmini.php +++ b/library/HTMLPurifier/Language/messages/en-x-testmini.php @@ -9,3 +9,4 @@ $messages = array( '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 212acd82..04496af9 100644 --- a/library/HTMLPurifier/Language/messages/en.php +++ b/library/HTMLPurifier/Language/messages/en.php @@ -58,3 +58,4 @@ $errorNames = array( E_NOTICE => 'Notice' ); +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/LanguageFactory.php b/library/HTMLPurifier/LanguageFactory.php index f5047ce1..baa4422e 100644 --- a/library/HTMLPurifier/LanguageFactory.php +++ b/library/HTMLPurifier/LanguageFactory.php @@ -195,3 +195,4 @@ class HTMLPurifier_LanguageFactory } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Length.php b/library/HTMLPurifier/Length.php index cf3a8ab6..8d2a46b7 100644 --- a/library/HTMLPurifier/Length.php +++ b/library/HTMLPurifier/Length.php @@ -111,3 +111,5 @@ class HTMLPurifier_Length } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Lexer.php b/library/HTMLPurifier/Lexer.php index 81d4723b..94588699 100644 --- a/library/HTMLPurifier/Lexer.php +++ b/library/HTMLPurifier/Lexer.php @@ -295,3 +295,4 @@ class HTMLPurifier_Lexer } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Lexer/DOMLex.php b/library/HTMLPurifier/Lexer/DOMLex.php index 41ee0cf6..0db3974b 100644 --- a/library/HTMLPurifier/Lexer/DOMLex.php +++ b/library/HTMLPurifier/Lexer/DOMLex.php @@ -210,3 +210,4 @@ class HTMLPurifier_Lexer_DOMLex extends HTMLPurifier_Lexer } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Lexer/DirectLex.php b/library/HTMLPurifier/Lexer/DirectLex.php index 503bd158..bfca4533 100644 --- a/library/HTMLPurifier/Lexer/DirectLex.php +++ b/library/HTMLPurifier/Lexer/DirectLex.php @@ -487,3 +487,4 @@ class HTMLPurifier_Lexer_DirectLex extends HTMLPurifier_Lexer } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Lexer/PEARSax3.php b/library/HTMLPurifier/Lexer/PEARSax3.php index 9d9779b3..57cffa82 100644 --- a/library/HTMLPurifier/Lexer/PEARSax3.php +++ b/library/HTMLPurifier/Lexer/PEARSax3.php @@ -103,3 +103,4 @@ class HTMLPurifier_Lexer_PEARSax3 extends HTMLPurifier_Lexer } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/PercentEncoder.php b/library/HTMLPurifier/PercentEncoder.php index dfaeb339..a43c44f4 100644 --- a/library/HTMLPurifier/PercentEncoder.php +++ b/library/HTMLPurifier/PercentEncoder.php @@ -95,3 +95,4 @@ class HTMLPurifier_PercentEncoder } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Printer.php b/library/HTMLPurifier/Printer.php index 989e4234..ee5b33e7 100644 --- a/library/HTMLPurifier/Printer.php +++ b/library/HTMLPurifier/Printer.php @@ -165,3 +165,4 @@ class HTMLPurifier_Printer } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Printer/CSSDefinition.php b/library/HTMLPurifier/Printer/CSSDefinition.php index 694bb903..81f98659 100644 --- a/library/HTMLPurifier/Printer/CSSDefinition.php +++ b/library/HTMLPurifier/Printer/CSSDefinition.php @@ -35,3 +35,4 @@ class HTMLPurifier_Printer_CSSDefinition extends HTMLPurifier_Printer } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Printer/ConfigForm.css b/library/HTMLPurifier/Printer/ConfigForm.css index 0653bbb0..3ff1a88a 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 119ca4a0..cba00c9b 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 df76ed35..744dec65 100644 --- a/library/HTMLPurifier/Printer/ConfigForm.php +++ b/library/HTMLPurifier/Printer/ConfigForm.php @@ -365,3 +365,4 @@ class HTMLPurifier_Printer_ConfigForm_bool extends HTMLPurifier_Printer { } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Printer/HTMLDefinition.php b/library/HTMLPurifier/Printer/HTMLDefinition.php index 00c01927..8a8f126b 100644 --- a/library/HTMLPurifier/Printer/HTMLDefinition.php +++ b/library/HTMLPurifier/Printer/HTMLDefinition.php @@ -269,3 +269,4 @@ class HTMLPurifier_Printer_HTMLDefinition extends HTMLPurifier_Printer } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/PropertyList.php b/library/HTMLPurifier/PropertyList.php index 4faeadfe..247eb3b9 100644 --- a/library/HTMLPurifier/PropertyList.php +++ b/library/HTMLPurifier/PropertyList.php @@ -70,3 +70,5 @@ class HTMLPurifier_PropertyList $this->parent = $plist; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/PropertyListIterator.php b/library/HTMLPurifier/PropertyListIterator.php index b7e5d99a..8f250443 100644 --- a/library/HTMLPurifier/PropertyListIterator.php +++ b/library/HTMLPurifier/PropertyListIterator.php @@ -28,3 +28,5 @@ class HTMLPurifier_PropertyListIterator extends FilterIterator } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy.php b/library/HTMLPurifier/Strategy.php index 844322f2..24628652 100644 --- a/library/HTMLPurifier/Strategy.php +++ b/library/HTMLPurifier/Strategy.php @@ -23,3 +23,4 @@ abstract class HTMLPurifier_Strategy } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy/Composite.php b/library/HTMLPurifier/Strategy/Composite.php index a5820360..816490b7 100644 --- a/library/HTMLPurifier/Strategy/Composite.php +++ b/library/HTMLPurifier/Strategy/Composite.php @@ -22,3 +22,4 @@ abstract class HTMLPurifier_Strategy_Composite extends HTMLPurifier_Strategy } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy/Core.php b/library/HTMLPurifier/Strategy/Core.php index f3ef671d..d90e1586 100644 --- a/library/HTMLPurifier/Strategy/Core.php +++ b/library/HTMLPurifier/Strategy/Core.php @@ -15,3 +15,4 @@ class HTMLPurifier_Strategy_Core extends HTMLPurifier_Strategy_Composite } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy/FixNesting.php b/library/HTMLPurifier/Strategy/FixNesting.php index 3d8413d9..f8180239 100644 --- a/library/HTMLPurifier/Strategy/FixNesting.php +++ b/library/HTMLPurifier/Strategy/FixNesting.php @@ -325,4 +325,4 @@ class HTMLPurifier_Strategy_FixNesting extends HTMLPurifier_Strategy } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy/MakeWellFormed.php b/library/HTMLPurifier/Strategy/MakeWellFormed.php index 4800c398..e04b8265 100644 --- a/library/HTMLPurifier/Strategy/MakeWellFormed.php +++ b/library/HTMLPurifier/Strategy/MakeWellFormed.php @@ -429,3 +429,4 @@ class HTMLPurifier_Strategy_MakeWellFormed extends HTMLPurifier_Strategy } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy/RemoveForeignElements.php b/library/HTMLPurifier/Strategy/RemoveForeignElements.php index 4c4adc2a..d30e456d 100644 --- a/library/HTMLPurifier/Strategy/RemoveForeignElements.php +++ b/library/HTMLPurifier/Strategy/RemoveForeignElements.php @@ -168,3 +168,4 @@ class HTMLPurifier_Strategy_RemoveForeignElements extends HTMLPurifier_Strategy } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Strategy/ValidateAttributes.php b/library/HTMLPurifier/Strategy/ValidateAttributes.php index 23fe5c39..c3328a9d 100644 --- a/library/HTMLPurifier/Strategy/ValidateAttributes.php +++ b/library/HTMLPurifier/Strategy/ValidateAttributes.php @@ -36,3 +36,4 @@ class HTMLPurifier_Strategy_ValidateAttributes extends HTMLPurifier_Strategy } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/StringHash.php b/library/HTMLPurifier/StringHash.php index e1aec1f2..62085c5c 100644 --- a/library/HTMLPurifier/StringHash.php +++ b/library/HTMLPurifier/StringHash.php @@ -35,3 +35,5 @@ class HTMLPurifier_StringHash extends ArrayObject $this->accessed = array(); } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/StringHashParser.php b/library/HTMLPurifier/StringHashParser.php index 6ee2d4eb..f3e70c71 100644 --- a/library/HTMLPurifier/StringHashParser.php +++ b/library/HTMLPurifier/StringHashParser.php @@ -75,7 +75,10 @@ class HTMLPurifier_StringHashParser $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 @@ class HTMLPurifier_StringHashParser } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/TagTransform.php b/library/HTMLPurifier/TagTransform.php index 7399b54f..210a4472 100644 --- a/library/HTMLPurifier/TagTransform.php +++ b/library/HTMLPurifier/TagTransform.php @@ -33,3 +33,4 @@ abstract class HTMLPurifier_TagTransform } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/TagTransform/Font.php b/library/HTMLPurifier/TagTransform/Font.php index c3bb8b69..0822a9f5 100644 --- a/library/HTMLPurifier/TagTransform/Font.php +++ b/library/HTMLPurifier/TagTransform/Font.php @@ -90,3 +90,4 @@ class HTMLPurifier_TagTransform_Font extends HTMLPurifier_TagTransform } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/TagTransform/Simple.php b/library/HTMLPurifier/TagTransform/Simple.php index d61d429b..0e36130f 100644 --- a/library/HTMLPurifier/TagTransform/Simple.php +++ b/library/HTMLPurifier/TagTransform/Simple.php @@ -32,3 +32,4 @@ class HTMLPurifier_TagTransform_Simple extends HTMLPurifier_TagTransform } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Token.php b/library/HTMLPurifier/Token.php index 072b1b33..a96a1eb1 100644 --- a/library/HTMLPurifier/Token.php +++ b/library/HTMLPurifier/Token.php @@ -52,3 +52,5 @@ class HTMLPurifier_Token { } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Token/Comment.php b/library/HTMLPurifier/Token/Comment.php index d32c9161..963e0a90 100644 --- a/library/HTMLPurifier/Token/Comment.php +++ b/library/HTMLPurifier/Token/Comment.php @@ -18,3 +18,4 @@ class HTMLPurifier_Token_Comment extends HTMLPurifier_Token } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Token/Empty.php b/library/HTMLPurifier/Token/Empty.php index d4b1ecb5..2a82b47a 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 8a705353..353e79da 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 7d7440e4..e0e14fc6 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 c20442e2..798be028 100644 --- a/library/HTMLPurifier/Token/Tag.php +++ b/library/HTMLPurifier/Token/Tag.php @@ -52,3 +52,5 @@ class HTMLPurifier_Token_Tag extends HTMLPurifier_Token $this->col = $col; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/Token/Text.php b/library/HTMLPurifier/Token/Text.php index 48e7fe5a..82efd823 100644 --- a/library/HTMLPurifier/Token/Text.php +++ b/library/HTMLPurifier/Token/Text.php @@ -29,3 +29,5 @@ class HTMLPurifier_Token_Text extends HTMLPurifier_Token } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/TokenFactory.php b/library/HTMLPurifier/TokenFactory.php index 89b8bb5d..7cf48fb4 100644 --- a/library/HTMLPurifier/TokenFactory.php +++ b/library/HTMLPurifier/TokenFactory.php @@ -91,3 +91,4 @@ class HTMLPurifier_TokenFactory } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URI.php b/library/HTMLPurifier/URI.php index 16310bc2..8b50d0d1 100644 --- a/library/HTMLPurifier/URI.php +++ b/library/HTMLPurifier/URI.php @@ -170,3 +170,4 @@ class HTMLPurifier_URI } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIDefinition.php b/library/HTMLPurifier/URIDefinition.php index 9a62fca1..183fcfc7 100644 --- a/library/HTMLPurifier/URIDefinition.php +++ b/library/HTMLPurifier/URIDefinition.php @@ -89,3 +89,5 @@ class HTMLPurifier_URIDefinition extends HTMLPurifier_Definition } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIFilter.php b/library/HTMLPurifier/URIFilter.php index 706d2c41..c116f93d 100644 --- a/library/HTMLPurifier/URIFilter.php +++ b/library/HTMLPurifier/URIFilter.php @@ -41,3 +41,5 @@ abstract class HTMLPurifier_URIFilter 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 960e2b9b..d8a39a50 100644 --- a/library/HTMLPurifier/URIFilter/DisableExternal.php +++ b/library/HTMLPurifier/URIFilter/DisableExternal.php @@ -20,3 +20,4 @@ class HTMLPurifier_URIFilter_DisableExternal extends HTMLPurifier_URIFilter } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIFilter/DisableExternalResources.php b/library/HTMLPurifier/URIFilter/DisableExternalResources.php index 9e4e7bdd..881abc43 100644 --- a/library/HTMLPurifier/URIFilter/DisableExternalResources.php +++ b/library/HTMLPurifier/URIFilter/DisableExternalResources.php @@ -9,3 +9,4 @@ class HTMLPurifier_URIFilter_DisableExternalResources extends HTMLPurifier_URIFi } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIFilter/HostBlacklist.php b/library/HTMLPurifier/URIFilter/HostBlacklist.php index 01320479..bac56e8b 100644 --- a/library/HTMLPurifier/URIFilter/HostBlacklist.php +++ b/library/HTMLPurifier/URIFilter/HostBlacklist.php @@ -17,3 +17,5 @@ class HTMLPurifier_URIFilter_HostBlacklist extends HTMLPurifier_URIFilter return true; } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIFilter/MakeAbsolute.php b/library/HTMLPurifier/URIFilter/MakeAbsolute.php index 070740ba..f46ab263 100644 --- a/library/HTMLPurifier/URIFilter/MakeAbsolute.php +++ b/library/HTMLPurifier/URIFilter/MakeAbsolute.php @@ -111,3 +111,4 @@ class HTMLPurifier_URIFilter_MakeAbsolute extends HTMLPurifier_URIFilter } } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIFilter/Munge.php b/library/HTMLPurifier/URIFilter/Munge.php index 853d6363..29ed0ed1 100644 --- a/library/HTMLPurifier/URIFilter/Munge.php +++ b/library/HTMLPurifier/URIFilter/Munge.php @@ -50,3 +50,5 @@ class HTMLPurifier_URIFilter_Munge extends HTMLPurifier_URIFilter } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIParser.php b/library/HTMLPurifier/URIParser.php index 851f1284..7179e4ab 100644 --- a/library/HTMLPurifier/URIParser.php +++ b/library/HTMLPurifier/URIParser.php @@ -67,3 +67,4 @@ class HTMLPurifier_URIParser } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme.php b/library/HTMLPurifier/URIScheme.php index 6b5184b2..039710fd 100644 --- a/library/HTMLPurifier/URIScheme.php +++ b/library/HTMLPurifier/URIScheme.php @@ -39,3 +39,4 @@ class HTMLPurifier_URIScheme } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme/ftp.php b/library/HTMLPurifier/URIScheme/ftp.php index 71ec6522..5849bf7f 100644 --- a/library/HTMLPurifier/URIScheme/ftp.php +++ b/library/HTMLPurifier/URIScheme/ftp.php @@ -40,3 +40,4 @@ class HTMLPurifier_URIScheme_ftp extends HTMLPurifier_URIScheme { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme/http.php b/library/HTMLPurifier/URIScheme/http.php index a7cef062..b097a31d 100644 --- a/library/HTMLPurifier/URIScheme/http.php +++ b/library/HTMLPurifier/URIScheme/http.php @@ -17,3 +17,4 @@ class HTMLPurifier_URIScheme_http extends HTMLPurifier_URIScheme { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme/https.php b/library/HTMLPurifier/URIScheme/https.php index 0f1a8a97..29e38091 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 da1ce4d1..c1e2cd5a 100644 --- a/library/HTMLPurifier/URIScheme/mailto.php +++ b/library/HTMLPurifier/URIScheme/mailto.php @@ -24,3 +24,4 @@ class HTMLPurifier_URIScheme_mailto extends HTMLPurifier_URIScheme { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme/news.php b/library/HTMLPurifier/URIScheme/news.php index a225bf23..f5f54f4f 100644 --- a/library/HTMLPurifier/URIScheme/news.php +++ b/library/HTMLPurifier/URIScheme/news.php @@ -19,3 +19,4 @@ class HTMLPurifier_URIScheme_news extends HTMLPurifier_URIScheme { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URIScheme/nntp.php b/library/HTMLPurifier/URIScheme/nntp.php index e37641b9..5bf93ea7 100644 --- a/library/HTMLPurifier/URIScheme/nntp.php +++ b/library/HTMLPurifier/URIScheme/nntp.php @@ -17,3 +17,4 @@ class HTMLPurifier_URIScheme_nntp extends HTMLPurifier_URIScheme { } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/URISchemeRegistry.php b/library/HTMLPurifier/URISchemeRegistry.php index 177bd315..d24732c1 100644 --- a/library/HTMLPurifier/URISchemeRegistry.php +++ b/library/HTMLPurifier/URISchemeRegistry.php @@ -66,4 +66,4 @@ class HTMLPurifier_URISchemeRegistry } - +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/UnitConverter.php b/library/HTMLPurifier/UnitConverter.php index 89beb05c..545d4262 100644 --- a/library/HTMLPurifier/UnitConverter.php +++ b/library/HTMLPurifier/UnitConverter.php @@ -250,3 +250,5 @@ class HTMLPurifier_UnitConverter } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/VarParser.php b/library/HTMLPurifier/VarParser.php index 4e4cad14..68e72ae8 100644 --- a/library/HTMLPurifier/VarParser.php +++ b/library/HTMLPurifier/VarParser.php @@ -150,3 +150,5 @@ class HTMLPurifier_VarParser } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/VarParser/Flexible.php b/library/HTMLPurifier/VarParser/Flexible.php index 754dd917..c954250e 100644 --- a/library/HTMLPurifier/VarParser/Flexible.php +++ b/library/HTMLPurifier/VarParser/Flexible.php @@ -92,3 +92,5 @@ class HTMLPurifier_VarParser_Flexible extends HTMLPurifier_VarParser } } + +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/VarParser/Native.php b/library/HTMLPurifier/VarParser/Native.php index 553845f4..b02a6de5 100644 --- a/library/HTMLPurifier/VarParser/Native.php +++ b/library/HTMLPurifier/VarParser/Native.php @@ -23,3 +23,4 @@ class HTMLPurifier_VarParser_Native extends HTMLPurifier_VarParser } +// vim: et sw=4 sts=4 diff --git a/library/HTMLPurifier/VarParserException.php b/library/HTMLPurifier/VarParserException.php index 1a9e973c..5df34149 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 00000000..8ea116ec --- /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 eb57300e..82d3d00f 100644 --- a/maintenance/common.php +++ b/maintenance/common.php @@ -8,5 +8,15 @@ set environment variable PHP_IS_CLI to work around this).'; } } +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 c926faa3..db91d7bd 100644 --- a/maintenance/config-scanner.php +++ b/maintenance/config-scanner.php @@ -157,3 +157,5 @@ $xw->endElement(); $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 571bc053..138badb6 100755 --- a/maintenance/flush-definition-cache.php +++ b/maintenance/flush-definition-cache.php @@ -39,3 +39,4 @@ foreach ($names as $name) { echo "Cache flushed successfully.\n"; +// vim: et sw=4 sts=4 diff --git a/maintenance/flush.php b/maintenance/flush.php index 93f0e766..38ce5785 100644 --- a/maintenance/flush.php +++ b/maintenance/flush.php @@ -26,3 +26,5 @@ e($php . ' generate-schema-cache.php'); 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 81872887..66ff0af4 100755 --- a/maintenance/generate-entity-file.php +++ b/maintenance/generate-entity-file.php @@ -71,3 +71,4 @@ fclose($fh); echo "Completed successfully."; +// vim: et sw=4 sts=4 diff --git a/maintenance/generate-includes.php b/maintenance/generate-includes.php index 64331dae..8a30c4ad 100644 --- a/maintenance/generate-includes.php +++ b/maintenance/generate-includes.php @@ -185,3 +185,5 @@ foreach ($files as $file) { 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 f30ac3ad..c92a7d21 100644 --- a/maintenance/generate-ph5p-patch.php +++ b/maintenance/generate-ph5p-patch.php @@ -18,3 +18,5 @@ $new_src = ' 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 d7a3d573..e7a59c41 100644 --- a/maintenance/generate-schema-cache.php +++ b/maintenance/generate-schema-cache.php @@ -27,3 +27,5 @@ $schema = $schema_builder->build($interchange); 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 d5a631a0..9fe5354a 100755 --- a/maintenance/generate-standalone.php +++ b/maintenance/generate-standalone.php @@ -43,6 +43,7 @@ $FS = new MergeLibraryFSTools(); * @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 info as $ns => $ns_array) { saveHash($adapter->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 bf9f9d84..f47c7d0f 100644 --- a/maintenance/old-remove-require-once.php +++ b/maintenance/old-remove-require-once.php @@ -28,3 +28,5 @@ foreach ($files as $file) { 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 fc77a931..5ae03197 100644 --- a/maintenance/old-remove-schema-def.php +++ b/maintenance/old-remove-schema-def.php @@ -28,3 +28,5 @@ foreach ($files as $file) { 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 194beb6e..85787054 100644 --- a/maintenance/remove-trailing-whitespace.php +++ b/maintenance/remove-trailing-whitespace.php @@ -13,14 +13,6 @@ assertCli(); 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 @@ foreach ($files as $file) { 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 07363c4f..5295c043 100644 --- a/maintenance/update-freshmeat.php +++ b/maintenance/update-freshmeat.php @@ -152,3 +152,5 @@ $rpc->publishRelease( '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 371e3b46..0b9efaa8 100644 --- a/package.php +++ b/package.php @@ -57,3 +57,4 @@ $compat =& $pkg->exportCompatiblePackageFile1(); $compat->writePackageFile(); $pkg->writePackageFile(); +// vim: et sw=4 sts=4 diff --git a/phpdoc.ini b/phpdoc.ini index bf4eb2a3..c4c37235 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 409ad00b..0763821b 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 998b967b..139653fc 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 f251423c..f73d2f21 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 ac5515f0..0524ed39 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 2f9031cc..1b9e9381 100644 --- a/plugins/phorum/config.default.php +++ b/plugins/phorum/config.default.php @@ -54,3 +54,4 @@ if (strtolower($GLOBALS['PHORUM']['DATA']['CHARSET']) !== 'utf-8') { $config->set('Core', 'EscapeNonASCIICharacters', true); } +// vim: et sw=4 sts=4 diff --git a/plugins/phorum/htmlpurifier.php b/plugins/phorum/htmlpurifier.php index cf999eeb..8ccc4fc4 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 7e7de00c..a47a5fae 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 2800b7c3..2d63ebe4 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 b337fc2b..81c1f0ba 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 1d3fc3aa..740096a7 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 30448e70..834d3856 100644 --- a/release1-update.php +++ b/release1-update.php @@ -106,3 +106,5 @@ passthru('php maintenance/flush.php'); 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 b2e718f3..25e5300d 100644 --- a/release2-tag.php +++ b/release2-tag.php @@ -19,3 +19,4 @@ $trunk_tag_url = $svn_info['Repository Root'] . '/htmlpurifier/tags/' . $versio 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 af641749..507034b9 100644 --- a/smoketests/all.php +++ b/smoketests/all.php @@ -39,3 +39,6 @@ while (false !== ($filename = readdir($dh))) { +group as $group) { ?> + --> + + diff --git a/smoketests/basic.php b/smoketests/basic.php index bff85f3e..81efc409 100644 --- a/smoketests/basic.php +++ b/smoketests/basic.php @@ -68,3 +68,6 @@ if ($page) { ?> + * {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 1748f1b8..d00a83a1 100644 --- a/smoketests/basic/allElements.html +++ b/smoketests/basic/allElements.html @@ -77,3 +77,5 @@ otherwise there will be problems.

+ + diff --git a/smoketests/basic/legacy.css b/smoketests/basic/legacy.css index d6d673ac..fb600e40 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 43f1337a..c4d59fe0 100644 --- a/smoketests/basic/legacy.html +++ b/smoketests/basic/legacy.html @@ -122,3 +122,5 @@ hr@size + + diff --git a/smoketests/common.php b/smoketests/common.php index 904251ea..c4e5eb38 100644 --- a/smoketests/common.php +++ b/smoketests/common.php @@ -33,3 +33,5 @@ if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) { 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 d012fdd2..90e80ac5 100644 --- a/smoketests/configForm.php +++ b/smoketests/configForm.php @@ -72,3 +72,6 @@ echo htmlspecialchars(var_export($config->getAll(), true)); +context->get('StyleBlocks') as $style) { - \ No newline at end of file + +purify($string); + 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 5a2b1d8a..157df3f3 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 c953f7c8..dfd43aa4 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 20fe9183..97140dea 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 336cd228..55497fcd 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 6cb458a8..b2479912 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 a0dfefd6..8bc14bbe 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 71d94615..d3d756fc 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 8dc4fce1..4db33235 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 d4819139..4cde4090 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 71c38bb3..5fca4d56 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 156664d0..b4761220 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 87af96c6..438e8acc 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 87f88bba..f3b6e821 100644 --- a/smoketests/variableWidthAttack.php +++ b/smoketests/variableWidthAttack.php @@ -52,3 +52,6 @@ removed, as well as escaping quotes outside of tags, this is a non-threat.

+attack as $attack) { + + + diff --git a/test-settings.sample.php b/test-settings.sample.php index 27ac62d6..15830248 100644 --- a/test-settings.sample.php +++ b/test-settings.sample.php @@ -68,3 +68,4 @@ $phpv = false; // 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 b5de8ce1..1f096c34 100644 --- a/tests/CliTestCase.php +++ b/tests/CliTestCase.php @@ -78,3 +78,4 @@ class CliTestCase } } +// vim: et sw=4 sts=4 diff --git a/tests/Debugger.php b/tests/Debugger.php index 5470fbae..45e107f4 100644 --- a/tests/Debugger.php +++ b/tests/Debugger.php @@ -144,3 +144,4 @@ class Debugger } +// vim: et sw=4 sts=4 diff --git a/tests/FSTools/FileSystemHarness.php b/tests/FSTools/FileSystemHarness.php index 33ab387e..710196e4 100644 --- a/tests/FSTools/FileSystemHarness.php +++ b/tests/FSTools/FileSystemHarness.php @@ -32,3 +32,5 @@ class FSTools_FileSystemHarness extends UnitTestCase } } + +// vim: et sw=4 sts=4 diff --git a/tests/FSTools/FileTest.php b/tests/FSTools/FileTest.php index 547b9113..e9b703a2 100644 --- a/tests/FSTools/FileTest.php +++ b/tests/FSTools/FileTest.php @@ -43,3 +43,4 @@ class FSTools_FileTest extends FSTools_FileSystemHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrCollectionsTest.php b/tests/HTMLPurifier/AttrCollectionsTest.php index 86f48b79..227bc953 100644 --- a/tests/HTMLPurifier/AttrCollectionsTest.php +++ b/tests/HTMLPurifier/AttrCollectionsTest.php @@ -131,3 +131,4 @@ class HTMLPurifier_AttrCollectionsTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/AlphaValueTest.php b/tests/HTMLPurifier/AttrDef/CSS/AlphaValueTest.php index a236832b..56efa306 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/AlphaValueTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/AlphaValueTest.php @@ -25,3 +25,4 @@ class HTMLPurifier_AttrDef_CSS_AlphaValueTest extends HTMLPurifier_AttrDefHarnes } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/BackgroundPositionTest.php b/tests/HTMLPurifier/AttrDef/CSS/BackgroundPositionTest.php index c7990995..f5302c37 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/BackgroundPositionTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/BackgroundPositionTest.php @@ -65,3 +65,4 @@ class HTMLPurifier_AttrDef_CSS_BackgroundPositionTest extends HTMLPurifier_AttrD } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/BackgroundTest.php b/tests/HTMLPurifier/AttrDef/CSS/BackgroundTest.php index d6218cf3..bf2f24e0 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/BackgroundTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/BackgroundTest.php @@ -20,3 +20,4 @@ class HTMLPurifier_AttrDef_CSS_BackgroundTest extends HTMLPurifier_AttrDefHarnes } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/BorderTest.php b/tests/HTMLPurifier/AttrDef/CSS/BorderTest.php index 362b90d8..6cd77fd7 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/BorderTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/BorderTest.php @@ -18,3 +18,4 @@ class HTMLPurifier_AttrDef_CSS_BorderTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/ColorTest.php b/tests/HTMLPurifier/AttrDef/CSS/ColorTest.php index d46feeba..f3a74e89 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/ColorTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/ColorTest.php @@ -38,3 +38,4 @@ class HTMLPurifier_AttrDef_CSS_ColorTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php b/tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php index 00dc9c77..44bef555 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/CompositeTest.php @@ -78,3 +78,4 @@ class HTMLPurifier_AttrDef_CSS_CompositeTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/FilterTest.php b/tests/HTMLPurifier/AttrDef/CSS/FilterTest.php index 2791e186..7795643f 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/FilterTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/FilterTest.php @@ -26,3 +26,4 @@ class HTMLPurifier_AttrDef_CSS_FilterTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/FontFamilyTest.php b/tests/HTMLPurifier/AttrDef/CSS/FontFamilyTest.php index ef6e4bb9..4d8f647a 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/FontFamilyTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/FontFamilyTest.php @@ -36,3 +36,4 @@ class HTMLPurifier_AttrDef_CSS_FontFamilyTest extends HTMLPurifier_AttrDefHarnes } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/FontTest.php b/tests/HTMLPurifier/AttrDef/CSS/FontTest.php index ebc1a905..1e42ee24 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/FontTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/FontTest.php @@ -31,3 +31,4 @@ class HTMLPurifier_AttrDef_CSS_FontTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/ImportantDecoratorTest.php b/tests/HTMLPurifier/AttrDef/CSS/ImportantDecoratorTest.php index cb764754..c7fa8a0f 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/ImportantDecoratorTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/ImportantDecoratorTest.php @@ -46,3 +46,4 @@ class HTMLPurifier_AttrDef_CSS_ImportantDecoratorTest extends HTMLPurifier_AttrD } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/LengthTest.php b/tests/HTMLPurifier/AttrDef/CSS/LengthTest.php index 5d7dde42..9d9fc41f 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/LengthTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/LengthTest.php @@ -45,3 +45,4 @@ class HTMLPurifier_AttrDef_CSS_LengthTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/ListStyleTest.php b/tests/HTMLPurifier/AttrDef/CSS/ListStyleTest.php index 8f54521e..fa04fb60 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/ListStyleTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/ListStyleTest.php @@ -32,3 +32,4 @@ class HTMLPurifier_AttrDef_CSS_ListStyleTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/MultipleTest.php b/tests/HTMLPurifier/AttrDef/CSS/MultipleTest.php index ada3f54d..4461cb50 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/MultipleTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/MultipleTest.php @@ -25,3 +25,4 @@ class HTMLPurifier_AttrDef_CSS_MultipleTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/NumberTest.php b/tests/HTMLPurifier/AttrDef/CSS/NumberTest.php index 5b1090ba..94e6ea8c 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/NumberTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/NumberTest.php @@ -48,3 +48,4 @@ class HTMLPurifier_AttrDef_CSS_NumberTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/PercentageTest.php b/tests/HTMLPurifier/AttrDef/CSS/PercentageTest.php index 910b2ef7..f712af1d 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/PercentageTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/PercentageTest.php @@ -21,3 +21,4 @@ class HTMLPurifier_AttrDef_CSS_PercentageTest extends HTMLPurifier_AttrDefHarnes } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/TextDecorationTest.php b/tests/HTMLPurifier/AttrDef/CSS/TextDecorationTest.php index 838b1d0e..dd714d20 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/TextDecorationTest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/TextDecorationTest.php @@ -24,3 +24,4 @@ class HTMLPurifier_AttrDef_CSS_TextDecorationTest extends HTMLPurifier_AttrDefHa } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSS/URITest.php b/tests/HTMLPurifier/AttrDef/CSS/URITest.php index 00356ba4..099b1639 100644 --- a/tests/HTMLPurifier/AttrDef/CSS/URITest.php +++ b/tests/HTMLPurifier/AttrDef/CSS/URITest.php @@ -30,3 +30,4 @@ class HTMLPurifier_AttrDef_CSS_URITest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/CSSTest.php b/tests/HTMLPurifier/AttrDef/CSSTest.php index ff4a3fe9..70155acf 100644 --- a/tests/HTMLPurifier/AttrDef/CSSTest.php +++ b/tests/HTMLPurifier/AttrDef/CSSTest.php @@ -146,3 +146,4 @@ class HTMLPurifier_AttrDef_CSSTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/EnumTest.php b/tests/HTMLPurifier/AttrDef/EnumTest.php index 5bf0284c..7722c1bc 100644 --- a/tests/HTMLPurifier/AttrDef/EnumTest.php +++ b/tests/HTMLPurifier/AttrDef/EnumTest.php @@ -34,3 +34,4 @@ class HTMLPurifier_AttrDef_EnumTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/BoolTest.php b/tests/HTMLPurifier/AttrDef/HTML/BoolTest.php index aae8269e..060d0fc8 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/BoolTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/BoolTest.php @@ -19,3 +19,4 @@ class HTMLPurifier_AttrDef_HTML_BoolTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/ColorTest.php b/tests/HTMLPurifier/AttrDef/HTML/ColorTest.php index d526fc91..8b4a4634 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/ColorTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/ColorTest.php @@ -17,3 +17,4 @@ class HTMLPurifier_AttrDef_HTML_ColorTest extends HTMLPurifier_AttrDefHarness } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/FrameTargetTest.php b/tests/HTMLPurifier/AttrDef/HTML/FrameTargetTest.php index 1fa89a4a..1b994f9e 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/FrameTargetTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/FrameTargetTest.php @@ -25,3 +25,4 @@ class HTMLPurifier_AttrDef_HTML_FrameTargetTest extends HTMLPurifier_AttrDefHarn } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/IDTest.php b/tests/HTMLPurifier/AttrDef/HTML/IDTest.php index 1578d3a7..c5b3e3c9 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/IDTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/IDTest.php @@ -105,3 +105,4 @@ class HTMLPurifier_AttrDef_HTML_IDTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/LengthTest.php b/tests/HTMLPurifier/AttrDef/HTML/LengthTest.php index 276a9267..d165e30b 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/LengthTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/LengthTest.php @@ -29,3 +29,4 @@ class HTMLPurifier_AttrDef_HTML_LengthTest extends HTMLPurifier_AttrDef_HTML_Pix } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/LinkTypesTest.php b/tests/HTMLPurifier/AttrDef/HTML/LinkTypesTest.php index 2b32521b..eb225f6a 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/LinkTypesTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/LinkTypesTest.php @@ -18,3 +18,4 @@ class HTMLPurifier_AttrDef_HTML_LinkTypesTest extends HTMLPurifier_AttrDefHarnes } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/MultiLengthTest.php b/tests/HTMLPurifier/AttrDef/HTML/MultiLengthTest.php index 56ea79bd..eb6f3401 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/MultiLengthTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/MultiLengthTest.php @@ -25,3 +25,4 @@ class HTMLPurifier_AttrDef_HTML_MultiLengthTest extends HTMLPurifier_AttrDef_HTM } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/NmtokensTest.php b/tests/HTMLPurifier/AttrDef/HTML/NmtokensTest.php index 851728e1..4af98ee0 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/NmtokensTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/NmtokensTest.php @@ -29,3 +29,4 @@ class HTMLPurifier_AttrDef_HTML_NmtokensTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/HTML/PixelsTest.php b/tests/HTMLPurifier/AttrDef/HTML/PixelsTest.php index e00feca3..08f25be6 100644 --- a/tests/HTMLPurifier/AttrDef/HTML/PixelsTest.php +++ b/tests/HTMLPurifier/AttrDef/HTML/PixelsTest.php @@ -42,3 +42,4 @@ class HTMLPurifier_AttrDef_HTML_PixelsTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/IntegerTest.php b/tests/HTMLPurifier/AttrDef/IntegerTest.php index 68b8afd7..a941e31a 100644 --- a/tests/HTMLPurifier/AttrDef/IntegerTest.php +++ b/tests/HTMLPurifier/AttrDef/IntegerTest.php @@ -58,3 +58,4 @@ class HTMLPurifier_AttrDef_IntegerTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/LangTest.php b/tests/HTMLPurifier/AttrDef/LangTest.php index 6c1e4f55..c5917555 100644 --- a/tests/HTMLPurifier/AttrDef/LangTest.php +++ b/tests/HTMLPurifier/AttrDef/LangTest.php @@ -82,3 +82,4 @@ class HTMLPurifier_AttrDef_LangTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/SwitchTest.php b/tests/HTMLPurifier/AttrDef/SwitchTest.php index c2058755..21bafe69 100644 --- a/tests/HTMLPurifier/AttrDef/SwitchTest.php +++ b/tests/HTMLPurifier/AttrDef/SwitchTest.php @@ -30,3 +30,5 @@ class HTMLPurifier_AttrDef_SwitchTest extends HTMLPurifier_AttrDefHarness } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/TextTest.php b/tests/HTMLPurifier/AttrDef/TextTest.php index fdac3871..458008aa 100644 --- a/tests/HTMLPurifier/AttrDef/TextTest.php +++ b/tests/HTMLPurifier/AttrDef/TextTest.php @@ -14,3 +14,4 @@ class HTMLPurifier_AttrDef_TextTest extends HTMLPurifier_AttrDefHarness } +// 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 c4e7222f..c310347e 100644 --- a/tests/HTMLPurifier/AttrDef/URI/Email/SimpleCheckTest.php +++ b/tests/HTMLPurifier/AttrDef/URI/Email/SimpleCheckTest.php @@ -10,3 +10,4 @@ class HTMLPurifier_AttrDef_URI_Email_SimpleCheckTest } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/URI/EmailHarness.php b/tests/HTMLPurifier/AttrDef/URI/EmailHarness.php index 10bb9e3c..594e2ce2 100644 --- a/tests/HTMLPurifier/AttrDef/URI/EmailHarness.php +++ b/tests/HTMLPurifier/AttrDef/URI/EmailHarness.php @@ -28,3 +28,4 @@ class HTMLPurifier_AttrDef_URI_EmailHarness extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/URI/HostTest.php b/tests/HTMLPurifier/AttrDef/URI/HostTest.php index 557d1a6e..cf7beacc 100644 --- a/tests/HTMLPurifier/AttrDef/URI/HostTest.php +++ b/tests/HTMLPurifier/AttrDef/URI/HostTest.php @@ -39,3 +39,4 @@ class HTMLPurifier_AttrDef_URI_HostTest extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/URI/IPv4Test.php b/tests/HTMLPurifier/AttrDef/URI/IPv4Test.php index a93f8d12..0a4eb17b 100644 --- a/tests/HTMLPurifier/AttrDef/URI/IPv4Test.php +++ b/tests/HTMLPurifier/AttrDef/URI/IPv4Test.php @@ -20,4 +20,6 @@ class HTMLPurifier_AttrDef_URI_IPv4Test extends HTMLPurifier_AttrDefHarness $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 28f8a196..083e818a 100644 --- a/tests/HTMLPurifier/AttrDef/URI/IPv6Test.php +++ b/tests/HTMLPurifier/AttrDef/URI/IPv6Test.php @@ -40,3 +40,4 @@ class HTMLPurifier_AttrDef_URI_IPv6Test extends HTMLPurifier_AttrDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDef/URITest.php b/tests/HTMLPurifier/AttrDef/URITest.php index 417b92fd..ee7ff29c 100644 --- a/tests/HTMLPurifier/AttrDef/URITest.php +++ b/tests/HTMLPurifier/AttrDef/URITest.php @@ -134,4 +134,4 @@ class HTMLPurifier_AttrDef_URITest extends HTMLPurifier_AttrDefHarness } - +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDefHarness.php b/tests/HTMLPurifier/AttrDefHarness.php index f7396620..b45b0ca5 100644 --- a/tests/HTMLPurifier/AttrDefHarness.php +++ b/tests/HTMLPurifier/AttrDefHarness.php @@ -24,3 +24,4 @@ class HTMLPurifier_AttrDefHarness extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrDefTest.php b/tests/HTMLPurifier/AttrDefTest.php index 852587e2..d7466e37 100644 --- a/tests/HTMLPurifier/AttrDefTest.php +++ b/tests/HTMLPurifier/AttrDefTest.php @@ -29,3 +29,4 @@ class HTMLPurifier_AttrDefTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/BackgroundTest.php b/tests/HTMLPurifier/AttrTransform/BackgroundTest.php index 4629679f..0730ab4b 100644 --- a/tests/HTMLPurifier/AttrTransform/BackgroundTest.php +++ b/tests/HTMLPurifier/AttrTransform/BackgroundTest.php @@ -37,3 +37,4 @@ class HTMLPurifier_AttrTransform_BackgroundTest extends HTMLPurifier_AttrTransfo } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/BdoDirTest.php b/tests/HTMLPurifier/AttrTransform/BdoDirTest.php index 741d4a9d..c8237898 100644 --- a/tests/HTMLPurifier/AttrTransform/BdoDirTest.php +++ b/tests/HTMLPurifier/AttrTransform/BdoDirTest.php @@ -27,3 +27,4 @@ class HTMLPurifier_AttrTransform_BdoDirTest extends HTMLPurifier_AttrTransformHa } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/BgColorTest.php b/tests/HTMLPurifier/AttrTransform/BgColorTest.php index ebc1506e..13567b74 100644 --- a/tests/HTMLPurifier/AttrTransform/BgColorTest.php +++ b/tests/HTMLPurifier/AttrTransform/BgColorTest.php @@ -41,3 +41,4 @@ class HTMLPurifier_AttrTransform_BgColorTest extends HTMLPurifier_AttrTransformH } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/BoolToCSSTest.php b/tests/HTMLPurifier/AttrTransform/BoolToCSSTest.php index 66c36bd3..73f9d6b8 100644 --- a/tests/HTMLPurifier/AttrTransform/BoolToCSSTest.php +++ b/tests/HTMLPurifier/AttrTransform/BoolToCSSTest.php @@ -35,3 +35,4 @@ class HTMLPurifier_AttrTransform_BoolToCSSTest extends HTMLPurifier_AttrTransfor } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/BorderTest.php b/tests/HTMLPurifier/AttrTransform/BorderTest.php index c17dc8dd..d10aa28e 100644 --- a/tests/HTMLPurifier/AttrTransform/BorderTest.php +++ b/tests/HTMLPurifier/AttrTransform/BorderTest.php @@ -35,3 +35,4 @@ class HTMLPurifier_AttrTransform_BorderTest extends HTMLPurifier_AttrTransformHa } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/EnumToCSSTest.php b/tests/HTMLPurifier/AttrTransform/EnumToCSSTest.php index 0fa42cb2..f0381fe8 100644 --- a/tests/HTMLPurifier/AttrTransform/EnumToCSSTest.php +++ b/tests/HTMLPurifier/AttrTransform/EnumToCSSTest.php @@ -70,3 +70,4 @@ class HTMLPurifier_AttrTransform_EnumToCSSTest extends HTMLPurifier_AttrTransfor } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/ImgRequiredTest.php b/tests/HTMLPurifier/AttrTransform/ImgRequiredTest.php index d33e6f63..d22a2763 100644 --- a/tests/HTMLPurifier/AttrTransform/ImgRequiredTest.php +++ b/tests/HTMLPurifier/AttrTransform/ImgRequiredTest.php @@ -52,3 +52,4 @@ class HTMLPurifier_AttrTransform_ImgRequiredTest extends HTMLPurifier_AttrTransf } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/ImgSpaceTest.php b/tests/HTMLPurifier/AttrTransform/ImgSpaceTest.php index d621d2ec..42e8738e 100644 --- a/tests/HTMLPurifier/AttrTransform/ImgSpaceTest.php +++ b/tests/HTMLPurifier/AttrTransform/ImgSpaceTest.php @@ -52,3 +52,4 @@ class HTMLPurifier_AttrTransform_ImgSpaceTest extends HTMLPurifier_AttrTransform } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/InputTest.php b/tests/HTMLPurifier/AttrTransform/InputTest.php index ccd9b52b..2603ff1b 100644 --- a/tests/HTMLPurifier/AttrTransform/InputTest.php +++ b/tests/HTMLPurifier/AttrTransform/InputTest.php @@ -91,3 +91,4 @@ class HTMLPurifier_AttrTransform_InputTest extends HTMLPurifier_AttrTransformHar } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/LangTest.php b/tests/HTMLPurifier/AttrTransform/LangTest.php index cd6eb6dc..960ad20a 100644 --- a/tests/HTMLPurifier/AttrTransform/LangTest.php +++ b/tests/HTMLPurifier/AttrTransform/LangTest.php @@ -43,3 +43,4 @@ class HTMLPurifier_AttrTransform_LangTest } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/LengthTest.php b/tests/HTMLPurifier/AttrTransform/LengthTest.php index faee72b1..3fbaa0cc 100644 --- a/tests/HTMLPurifier/AttrTransform/LengthTest.php +++ b/tests/HTMLPurifier/AttrTransform/LengthTest.php @@ -42,3 +42,4 @@ class HTMLPurifier_AttrTransform_LengthTest extends HTMLPurifier_AttrTransformHa } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransform/NameTest.php b/tests/HTMLPurifier/AttrTransform/NameTest.php index 5a015378..10e12123 100644 --- a/tests/HTMLPurifier/AttrTransform/NameTest.php +++ b/tests/HTMLPurifier/AttrTransform/NameTest.php @@ -28,3 +28,4 @@ class HTMLPurifier_AttrTransform_NameTest extends HTMLPurifier_AttrTransformHarn } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransformHarness.php b/tests/HTMLPurifier/AttrTransformHarness.php index 28873c6f..d43c0108 100644 --- a/tests/HTMLPurifier/AttrTransformHarness.php +++ b/tests/HTMLPurifier/AttrTransformHarness.php @@ -10,3 +10,4 @@ class HTMLPurifier_AttrTransformHarness extends HTMLPurifier_ComplexHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTransformTest.php b/tests/HTMLPurifier/AttrTransformTest.php index c7a5da35..71a78858 100644 --- a/tests/HTMLPurifier/AttrTransformTest.php +++ b/tests/HTMLPurifier/AttrTransformTest.php @@ -42,3 +42,4 @@ class HTMLPurifier_AttrTransformTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrTypesTest.php b/tests/HTMLPurifier/AttrTypesTest.php index 8fa355a4..d1ae4370 100644 --- a/tests/HTMLPurifier/AttrTypesTest.php +++ b/tests/HTMLPurifier/AttrTypesTest.php @@ -23,3 +23,4 @@ class HTMLPurifier_AttrTypesTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/AttrValidator_ErrorsTest.php b/tests/HTMLPurifier/AttrValidator_ErrorsTest.php index 7a073f95..cdc27414 100644 --- a/tests/HTMLPurifier/AttrValidator_ErrorsTest.php +++ b/tests/HTMLPurifier/AttrValidator_ErrorsTest.php @@ -65,3 +65,4 @@ class HTMLPurifier_AttrValidator_ErrorsTest extends HTMLPurifier_ErrorsHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDef/ChameleonTest.php b/tests/HTMLPurifier/ChildDef/ChameleonTest.php index 15e7f23f..82493f40 100644 --- a/tests/HTMLPurifier/ChildDef/ChameleonTest.php +++ b/tests/HTMLPurifier/ChildDef/ChameleonTest.php @@ -37,3 +37,4 @@ class HTMLPurifier_ChildDef_ChameleonTest extends HTMLPurifier_ChildDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDef/CustomTest.php b/tests/HTMLPurifier/ChildDef/CustomTest.php index b8d9e56f..5b138a3c 100644 --- a/tests/HTMLPurifier/ChildDef/CustomTest.php +++ b/tests/HTMLPurifier/ChildDef/CustomTest.php @@ -86,3 +86,4 @@ class HTMLPurifier_ChildDef_CustomTest extends HTMLPurifier_ChildDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDef/OptionalTest.php b/tests/HTMLPurifier/ChildDef/OptionalTest.php index 746ad981..a5f34f7b 100644 --- a/tests/HTMLPurifier/ChildDef/OptionalTest.php +++ b/tests/HTMLPurifier/ChildDef/OptionalTest.php @@ -29,3 +29,5 @@ class HTMLPurifier_ChildDef_OptionalTest extends HTMLPurifier_ChildDefHarness } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDef/RequiredTest.php b/tests/HTMLPurifier/ChildDef/RequiredTest.php index ed09c32a..f8d23075 100644 --- a/tests/HTMLPurifier/ChildDef/RequiredTest.php +++ b/tests/HTMLPurifier/ChildDef/RequiredTest.php @@ -70,3 +70,4 @@ class HTMLPurifier_ChildDef_RequiredTest extends HTMLPurifier_ChildDefHarness } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDef/StrictBlockquoteTest.php b/tests/HTMLPurifier/ChildDef/StrictBlockquoteTest.php index 3646ff6b..61fe1a2a 100644 --- a/tests/HTMLPurifier/ChildDef/StrictBlockquoteTest.php +++ b/tests/HTMLPurifier/ChildDef/StrictBlockquoteTest.php @@ -80,3 +80,4 @@ extends HTMLPurifier_ChildDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDef/TableTest.php b/tests/HTMLPurifier/ChildDef/TableTest.php index 3b807485..95408671 100644 --- a/tests/HTMLPurifier/ChildDef/TableTest.php +++ b/tests/HTMLPurifier/ChildDef/TableTest.php @@ -58,3 +58,4 @@ class HTMLPurifier_ChildDef_TableTest extends HTMLPurifier_ChildDefHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ChildDefHarness.php b/tests/HTMLPurifier/ChildDefHarness.php index a489537c..4b4d2f5b 100644 --- a/tests/HTMLPurifier/ChildDefHarness.php +++ b/tests/HTMLPurifier/ChildDefHarness.php @@ -13,4 +13,4 @@ class HTMLPurifier_ChildDefHarness extends HTMLPurifier_ComplexHarness } - +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ComplexHarness.php b/tests/HTMLPurifier/ComplexHarness.php index cacb7138..76d04152 100644 --- a/tests/HTMLPurifier/ComplexHarness.php +++ b/tests/HTMLPurifier/ComplexHarness.php @@ -103,4 +103,4 @@ class HTMLPurifier_ComplexHarness extends HTMLPurifier_Harness } - +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigSchema/InterchangeTest.php b/tests/HTMLPurifier/ConfigSchema/InterchangeTest.php index 48244621..611bf48f 100644 --- a/tests/HTMLPurifier/ConfigSchema/InterchangeTest.php +++ b/tests/HTMLPurifier/ConfigSchema/InterchangeTest.php @@ -24,3 +24,5 @@ class HTMLPurifier_ConfigSchema_InterchangeTest extends UnitTestCase } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigSchema/ValidatorAtomTest.php b/tests/HTMLPurifier/ConfigSchema/ValidatorAtomTest.php index 836c2e80..38625136 100644 --- a/tests/HTMLPurifier/ConfigSchema/ValidatorAtomTest.php +++ b/tests/HTMLPurifier/ConfigSchema/ValidatorAtomTest.php @@ -88,3 +88,5 @@ class HTMLPurifier_ConfigSchema_ValidatorAtomTest extends UnitTestCase $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 d5bff88c..a36089fa 100644 --- a/tests/HTMLPurifier/ConfigSchema/ValidatorTest.php +++ b/tests/HTMLPurifier/ConfigSchema/ValidatorTest.php @@ -130,3 +130,5 @@ class HTMLPurifier_ConfigSchema_ValidatorTest extends UnitTestCase } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigSchema/ValidatorTestCase.php b/tests/HTMLPurifier/ConfigSchema/ValidatorTestCase.php index 96f8772c..87fa14d0 100644 --- a/tests/HTMLPurifier/ConfigSchema/ValidatorTestCase.php +++ b/tests/HTMLPurifier/ConfigSchema/ValidatorTestCase.php @@ -40,3 +40,5 @@ class HTMLPurifier_ConfigSchema_ValidatorTestCase extends UnitTestCase } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigSchemaTest.php b/tests/HTMLPurifier/ConfigSchemaTest.php index e9c31cdf..5521ac11 100644 --- a/tests/HTMLPurifier/ConfigSchemaTest.php +++ b/tests/HTMLPurifier/ConfigSchemaTest.php @@ -108,3 +108,4 @@ class HTMLPurifier_ConfigSchemaTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ConfigTest-create.ini b/tests/HTMLPurifier/ConfigTest-create.ini index 5b41f3a8..31412f99 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 8f1fd7e0..3ab185fa 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 082bb11e..cfa5a907 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 cbba4b82..959f6aea 100644 --- a/tests/HTMLPurifier/ConfigTest.php +++ b/tests/HTMLPurifier/ConfigTest.php @@ -442,3 +442,4 @@ class HTMLPurifier_ConfigTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ContextTest.php b/tests/HTMLPurifier/ContextTest.php index e3294ee7..c5cef165 100644 --- a/tests/HTMLPurifier/ContextTest.php +++ b/tests/HTMLPurifier/ContextTest.php @@ -81,3 +81,4 @@ class HTMLPurifier_ContextTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCache/Decorator/CleanupTest.php b/tests/HTMLPurifier/DefinitionCache/Decorator/CleanupTest.php index a09456d7..afcb0e39 100644 --- a/tests/HTMLPurifier/DefinitionCache/Decorator/CleanupTest.php +++ b/tests/HTMLPurifier/DefinitionCache/Decorator/CleanupTest.php @@ -53,3 +53,4 @@ class HTMLPurifier_DefinitionCache_Decorator_CleanupTest extends HTMLPurifier_De } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCache/Decorator/MemoryTest.php b/tests/HTMLPurifier/DefinitionCache/Decorator/MemoryTest.php index 347b1b70..55f2f249 100644 --- a/tests/HTMLPurifier/DefinitionCache/Decorator/MemoryTest.php +++ b/tests/HTMLPurifier/DefinitionCache/Decorator/MemoryTest.php @@ -67,3 +67,4 @@ class HTMLPurifier_DefinitionCache_Decorator_MemoryTest extends HTMLPurifier_Def } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCache/DecoratorHarness.php b/tests/HTMLPurifier/DefinitionCache/DecoratorHarness.php index ccdc5847..64951a3e 100644 --- a/tests/HTMLPurifier/DefinitionCache/DecoratorHarness.php +++ b/tests/HTMLPurifier/DefinitionCache/DecoratorHarness.php @@ -20,3 +20,4 @@ class HTMLPurifier_DefinitionCache_DecoratorHarness extends HTMLPurifier_Definit } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCache/DecoratorTest.php b/tests/HTMLPurifier/DefinitionCache/DecoratorTest.php index 9c5adf4f..f6496797 100644 --- a/tests/HTMLPurifier/DefinitionCache/DecoratorTest.php +++ b/tests/HTMLPurifier/DefinitionCache/DecoratorTest.php @@ -39,3 +39,4 @@ class HTMLPurifier_DefinitionCache_DecoratorTest extends HTMLPurifier_Definition } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCache/SerializerTest.php b/tests/HTMLPurifier/DefinitionCache/SerializerTest.php index 280fe928..5791bbdf 100644 --- a/tests/HTMLPurifier/DefinitionCache/SerializerTest.php +++ b/tests/HTMLPurifier/DefinitionCache/SerializerTest.php @@ -195,3 +195,4 @@ class HTMLPurifier_DefinitionCache_SerializerTest extends HTMLPurifier_Definitio } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCache/SerializerTest/README b/tests/HTMLPurifier/DefinitionCache/SerializerTest/README index 962b80a3..2e35c1c3 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 320cef30..8ad7ec6f 100644 --- a/tests/HTMLPurifier/DefinitionCacheFactoryTest.php +++ b/tests/HTMLPurifier/DefinitionCacheFactoryTest.php @@ -67,3 +67,4 @@ class HTMLPurifier_DefinitionCacheFactoryTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCacheHarness.php b/tests/HTMLPurifier/DefinitionCacheHarness.php index 86858d4d..ab3cef45 100644 --- a/tests/HTMLPurifier/DefinitionCacheHarness.php +++ b/tests/HTMLPurifier/DefinitionCacheHarness.php @@ -31,3 +31,4 @@ class HTMLPurifier_DefinitionCacheHarness extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionCacheTest.php b/tests/HTMLPurifier/DefinitionCacheTest.php index 6e602630..247d1349 100644 --- a/tests/HTMLPurifier/DefinitionCacheTest.php +++ b/tests/HTMLPurifier/DefinitionCacheTest.php @@ -29,3 +29,4 @@ class HTMLPurifier_DefinitionCacheTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionTest.php b/tests/HTMLPurifier/DefinitionTest.php index d1ca62da..38676ad7 100644 --- a/tests/HTMLPurifier/DefinitionTest.php +++ b/tests/HTMLPurifier/DefinitionTest.php @@ -17,3 +17,4 @@ class HTMLPurifier_DefinitionTest extends HTMLPurifier_Harness } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DefinitionTestable.php b/tests/HTMLPurifier/DefinitionTestable.php index 7a33d96b..312c57bb 100644 --- a/tests/HTMLPurifier/DefinitionTestable.php +++ b/tests/HTMLPurifier/DefinitionTestable.php @@ -5,3 +5,4 @@ Mock::generatePartial( 'HTMLPurifier_DefinitionTestable', array('doSetup')); +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/DoctypeRegistryTest.php b/tests/HTMLPurifier/DoctypeRegistryTest.php index e731a6d4..189003ac 100644 --- a/tests/HTMLPurifier/DoctypeRegistryTest.php +++ b/tests/HTMLPurifier/DoctypeRegistryTest.php @@ -74,3 +74,4 @@ class HTMLPurifier_DoctypeRegistryTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ElementDefTest.php b/tests/HTMLPurifier/ElementDefTest.php index 1afb9cdb..60fb486e 100644 --- a/tests/HTMLPurifier/ElementDefTest.php +++ b/tests/HTMLPurifier/ElementDefTest.php @@ -88,3 +88,4 @@ class HTMLPurifier_ElementDefTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/EncoderTest.php b/tests/HTMLPurifier/EncoderTest.php index 51adbfd6..8aba3bda 100644 --- a/tests/HTMLPurifier/EncoderTest.php +++ b/tests/HTMLPurifier/EncoderTest.php @@ -183,3 +183,4 @@ class HTMLPurifier_EncoderTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/EntityLookupTest.php b/tests/HTMLPurifier/EntityLookupTest.php index 99c55bb3..e715f64a 100644 --- a/tests/HTMLPurifier/EntityLookupTest.php +++ b/tests/HTMLPurifier/EntityLookupTest.php @@ -24,3 +24,4 @@ class HTMLPurifier_EntityLookupTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/EntityParserTest.php b/tests/HTMLPurifier/EntityParserTest.php index ec5eac86..17ef62a1 100644 --- a/tests/HTMLPurifier/EntityParserTest.php +++ b/tests/HTMLPurifier/EntityParserTest.php @@ -82,3 +82,4 @@ class HTMLPurifier_EntityParserTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ErrorCollectorEMock.php b/tests/HTMLPurifier/ErrorCollectorEMock.php index 5a817aa9..bbd09656 100644 --- a/tests/HTMLPurifier/ErrorCollectorEMock.php +++ b/tests/HTMLPurifier/ErrorCollectorEMock.php @@ -45,3 +45,4 @@ class HTMLPurifier_ErrorCollectorEMock extends HTMLPurifier_ErrorCollectorMock } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ErrorCollectorTest.php b/tests/HTMLPurifier/ErrorCollectorTest.php index e5bd84ac..09becba5 100644 --- a/tests/HTMLPurifier/ErrorCollectorTest.php +++ b/tests/HTMLPurifier/ErrorCollectorTest.php @@ -154,3 +154,4 @@ class HTMLPurifier_ErrorCollectorTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/ErrorsHarness.php b/tests/HTMLPurifier/ErrorsHarness.php index b2fce482..f7c673ca 100644 --- a/tests/HTMLPurifier/ErrorsHarness.php +++ b/tests/HTMLPurifier/ErrorsHarness.php @@ -35,3 +35,4 @@ class HTMLPurifier_ErrorsHarness extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Filter/ExtractStyleBlocksTest.php b/tests/HTMLPurifier/Filter/ExtractStyleBlocksTest.php index 38e51ee4..48672b47 100644 --- a/tests/HTMLPurifier/Filter/ExtractStyleBlocksTest.php +++ b/tests/HTMLPurifier/Filter/ExtractStyleBlocksTest.php @@ -186,4 +186,6 @@ text-align:right; ); } -} \ 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 873bf456..a9379324 100644 --- a/tests/HTMLPurifier/GeneratorTest.php +++ b/tests/HTMLPurifier/GeneratorTest.php @@ -263,3 +263,4 @@ class HTMLPurifier_GeneratorTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLDefinitionTest.php b/tests/HTMLPurifier/HTMLDefinitionTest.php index f994e5bb..389a4b94 100644 --- a/tests/HTMLPurifier/HTMLDefinitionTest.php +++ b/tests/HTMLPurifier/HTMLDefinitionTest.php @@ -349,3 +349,4 @@ a[href|title] } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/FormsTest.php b/tests/HTMLPurifier/HTMLModule/FormsTest.php index 8323582a..f5ad4c63 100644 --- a/tests/HTMLPurifier/HTMLModule/FormsTest.php +++ b/tests/HTMLPurifier/HTMLModule/FormsTest.php @@ -135,3 +135,4 @@ class HTMLPurifier_HTMLModule_FormsTest extends HTMLPurifier_HTMLModuleHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/ImageTest.php b/tests/HTMLPurifier/HTMLModule/ImageTest.php index b4981f7c..6e74a3df 100644 --- a/tests/HTMLPurifier/HTMLModule/ImageTest.php +++ b/tests/HTMLPurifier/HTMLModule/ImageTest.php @@ -52,3 +52,4 @@ class HTMLPurifier_HTMLModule_ImageTest extends HTMLPurifier_HTMLModuleHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/ObjectTest.php b/tests/HTMLPurifier/HTMLModule/ObjectTest.php index 796af433..dfc67c1c 100644 --- a/tests/HTMLPurifier/HTMLModule/ObjectTest.php +++ b/tests/HTMLPurifier/HTMLModule/ObjectTest.php @@ -35,3 +35,4 @@ class HTMLPurifier_HTMLModule_ObjectTest extends HTMLPurifier_HTMLModuleHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/ProprietaryTest.php b/tests/HTMLPurifier/HTMLModule/ProprietaryTest.php index 78701ab5..daf239f4 100644 --- a/tests/HTMLPurifier/HTMLModule/ProprietaryTest.php +++ b/tests/HTMLPurifier/HTMLModule/ProprietaryTest.php @@ -27,3 +27,4 @@ class HTMLPurifier_HTMLModule_ProprietaryTest extends HTMLPurifier_HTMLModuleHar } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/RubyTest.php b/tests/HTMLPurifier/HTMLModule/RubyTest.php index 2091df9e..e3f38ccf 100644 --- a/tests/HTMLPurifier/HTMLModule/RubyTest.php +++ b/tests/HTMLPurifier/HTMLModule/RubyTest.php @@ -52,3 +52,4 @@ class HTMLPurifier_HTMLModule_RubyTest extends HTMLPurifier_HTMLModuleHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/SafeEmbedTest.php b/tests/HTMLPurifier/HTMLModule/SafeEmbedTest.php index 13c25081..ec9454b4 100644 --- a/tests/HTMLPurifier/HTMLModule/SafeEmbedTest.php +++ b/tests/HTMLPurifier/HTMLModule/SafeEmbedTest.php @@ -39,3 +39,4 @@ class HTMLPurifier_HTMLModule_SafeEmbedTest extends HTMLPurifier_HTMLModuleHarne } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/SafeObjectTest.php b/tests/HTMLPurifier/HTMLModule/SafeObjectTest.php index 48443b03..b587705c 100644 --- a/tests/HTMLPurifier/HTMLModule/SafeObjectTest.php +++ b/tests/HTMLPurifier/HTMLModule/SafeObjectTest.php @@ -40,3 +40,4 @@ class HTMLPurifier_HTMLModule_SafeObjectTest extends HTMLPurifier_HTMLModuleHarn } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/ScriptingTest.php b/tests/HTMLPurifier/HTMLModule/ScriptingTest.php index 92a39f1f..a004c2ed 100644 --- a/tests/HTMLPurifier/HTMLModule/ScriptingTest.php +++ b/tests/HTMLPurifier/HTMLModule/ScriptingTest.php @@ -52,3 +52,4 @@ alert(""); } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModule/TidyTest.php b/tests/HTMLPurifier/HTMLModule/TidyTest.php index e4f5ad83..e80aeb16 100644 --- a/tests/HTMLPurifier/HTMLModule/TidyTest.php +++ b/tests/HTMLPurifier/HTMLModule/TidyTest.php @@ -221,3 +221,4 @@ class HTMLPurifier_HTMLModule_TidyTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModuleHarness.php b/tests/HTMLPurifier/HTMLModuleHarness.php index f9052965..7aadf468 100644 --- a/tests/HTMLPurifier/HTMLModuleHarness.php +++ b/tests/HTMLPurifier/HTMLModuleHarness.php @@ -8,3 +8,4 @@ class HTMLPurifier_HTMLModuleHarness extends HTMLPurifier_StrategyHarness } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModuleManagerTest.php b/tests/HTMLPurifier/HTMLModuleManagerTest.php index b357419e..32ddab5e 100644 --- a/tests/HTMLPurifier/HTMLModuleManagerTest.php +++ b/tests/HTMLPurifier/HTMLModuleManagerTest.php @@ -117,3 +117,4 @@ class HTMLPurifier_HTMLModuleManagerTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLModuleTest.php b/tests/HTMLPurifier/HTMLModuleTest.php index 92f7dcba..65220f08 100644 --- a/tests/HTMLPurifier/HTMLModuleTest.php +++ b/tests/HTMLPurifier/HTMLModuleTest.php @@ -143,3 +143,4 @@ class HTMLPurifier_HTMLModuleTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/HTMLT.php b/tests/HTMLPurifier/HTMLT.php index 75c7eae2..b32a072e 100644 --- a/tests/HTMLPurifier/HTMLT.php +++ b/tests/HTMLPurifier/HTMLT.php @@ -29,3 +29,5 @@ class HTMLPurifier_HTMLT extends HTMLPurifier_Harness 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 8d658c6c..650f00b6 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 6588a80e..2b6b8eea 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 2471dfd6..4c1f4277 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 89b6ca4c..d8882fe2 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 fcc815cf..1b598587 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 d74b7d38..a5fe3f84 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 dfacc007..644b7001 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 054b0ef5..fa692e44 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 dee931f0..9094c47b 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 26c78fc7..1c1460f2 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 0b43afae..70ddcf99 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 ba4e2373..a469cdd4 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 d853e81a..1713ed41 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 16bbf322..77b32d3a 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 99c75903..f4bb0ff0 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 37a6042f..f85c2fb5 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 01e21700..e7d6d7f5 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 fc877386..00690191 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 c538c89e..ef899b59 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 15560d04..70510687 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 9fda1df4..114cb000 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 a7abb785..f22417c0 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 2013554d..6c2d3bc4 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 d1825b95..a6eb0ec6 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 333b6f92..b61e8dc0 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 9c37b530..a2e18b1c 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 26dc21a9..9b112708 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 0e43f586..861bddaf 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 100c440a..56088c15 100644 --- a/tests/HTMLPurifier/Harness.php +++ b/tests/HTMLPurifier/Harness.php @@ -87,3 +87,4 @@ class HTMLPurifier_Harness extends UnitTestCase } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/IDAccumulatorTest.php b/tests/HTMLPurifier/IDAccumulatorTest.php index 142aebf5..c748845f 100644 --- a/tests/HTMLPurifier/IDAccumulatorTest.php +++ b/tests/HTMLPurifier/IDAccumulatorTest.php @@ -36,3 +36,4 @@ class HTMLPurifier_IDAccumulatorTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Injector/AutoParagraphTest.php b/tests/HTMLPurifier/Injector/AutoParagraphTest.php index 477f8891..b5fc0325 100644 --- a/tests/HTMLPurifier/Injector/AutoParagraphTest.php +++ b/tests/HTMLPurifier/Injector/AutoParagraphTest.php @@ -505,3 +505,4 @@ Bar", } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Injector/DisplayLinkURITest.php b/tests/HTMLPurifier/Injector/DisplayLinkURITest.php index 4099d0b1..3e8fbfbe 100644 --- a/tests/HTMLPurifier/Injector/DisplayLinkURITest.php +++ b/tests/HTMLPurifier/Injector/DisplayLinkURITest.php @@ -29,4 +29,5 @@ class HTMLPurifier_Injector_DisplayLinkURITest extends HTMLPurifier_InjectorHarn } } -?> \ 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 1e44a75a..707f09b5 100644 --- a/tests/HTMLPurifier/Injector/LinkifyTest.php +++ b/tests/HTMLPurifier/Injector/LinkifyTest.php @@ -43,3 +43,4 @@ class HTMLPurifier_Injector_LinkifyTest extends HTMLPurifier_InjectorHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Injector/PurifierLinkifyTest.php b/tests/HTMLPurifier/Injector/PurifierLinkifyTest.php index 6f54bde8..f3ae67ad 100644 --- a/tests/HTMLPurifier/Injector/PurifierLinkifyTest.php +++ b/tests/HTMLPurifier/Injector/PurifierLinkifyTest.php @@ -56,3 +56,4 @@ class HTMLPurifier_Injector_PurifierLinkifyTest extends HTMLPurifier_InjectorHar } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Injector/RemoveEmptyTest.php b/tests/HTMLPurifier/Injector/RemoveEmptyTest.php index 01ccae99..37c1cbe4 100644 --- a/tests/HTMLPurifier/Injector/RemoveEmptyTest.php +++ b/tests/HTMLPurifier/Injector/RemoveEmptyTest.php @@ -56,3 +56,4 @@ class HTMLPurifier_Injector_RemoveEmptyTest extends HTMLPurifier_InjectorHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Injector/SafeObjectTest.php b/tests/HTMLPurifier/Injector/SafeObjectTest.php index 8e12d8e3..1a0eab52 100644 --- a/tests/HTMLPurifier/Injector/SafeObjectTest.php +++ b/tests/HTMLPurifier/Injector/SafeObjectTest.php @@ -85,3 +85,4 @@ class HTMLPurifier_Injector_SafeObjectTest extends HTMLPurifier_InjectorHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/InjectorHarness.php b/tests/HTMLPurifier/InjectorHarness.php index 763d0bf6..e3815175 100644 --- a/tests/HTMLPurifier/InjectorHarness.php +++ b/tests/HTMLPurifier/InjectorHarness.php @@ -10,3 +10,4 @@ class HTMLPurifier_InjectorHarness extends HTMLPurifier_StrategyHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/LanguageFactoryTest.php b/tests/HTMLPurifier/LanguageFactoryTest.php index 3ad3f3ac..89751a1f 100644 --- a/tests/HTMLPurifier/LanguageFactoryTest.php +++ b/tests/HTMLPurifier/LanguageFactoryTest.php @@ -67,3 +67,4 @@ class HTMLPurifier_LanguageFactoryTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/LanguageTest.php b/tests/HTMLPurifier/LanguageTest.php index 06eed1af..033b6aa7 100644 --- a/tests/HTMLPurifier/LanguageTest.php +++ b/tests/HTMLPurifier/LanguageTest.php @@ -76,3 +76,4 @@ class HTMLPurifier_LanguageTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/LengthTest.php b/tests/HTMLPurifier/LengthTest.php index 3868823d..2968b6d3 100644 --- a/tests/HTMLPurifier/LengthTest.php +++ b/tests/HTMLPurifier/LengthTest.php @@ -69,3 +69,5 @@ class HTMLPurifier_LengthTest extends HTMLPurifier_Harness } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Lexer/DirectLexTest.php b/tests/HTMLPurifier/Lexer/DirectLexTest.php index 745cd51f..095b5c95 100644 --- a/tests/HTMLPurifier/Lexer/DirectLexTest.php +++ b/tests/HTMLPurifier/Lexer/DirectLexTest.php @@ -127,3 +127,4 @@ class HTMLPurifier_Lexer_DirectLexTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Lexer/DirectLex_ErrorsTest.php b/tests/HTMLPurifier/Lexer/DirectLex_ErrorsTest.php index c7a8f8a2..b6ea7093 100644 --- a/tests/HTMLPurifier/Lexer/DirectLex_ErrorsTest.php +++ b/tests/HTMLPurifier/Lexer/DirectLex_ErrorsTest.php @@ -50,3 +50,4 @@ class HTMLPurifier_Lexer_DirectLex_ErrorsTest extends HTMLPurifier_ErrorsHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/LexerTest.php b/tests/HTMLPurifier/LexerTest.php index c49375f6..3d9c0309 100644 --- a/tests/HTMLPurifier/LexerTest.php +++ b/tests/HTMLPurifier/LexerTest.php @@ -687,3 +687,4 @@ div {} } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/PHPT/domxml.phpt b/tests/HTMLPurifier/PHPT/domxml.phpt index 2cdd41b7..406ac400 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 abbf8bb4..d194d68d 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 da2c05a8..8a9cd016 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 45023695..42e3500e 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 24bce6f5..fc109e72 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 2768cd04..6a8f909b 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 9fcf606e..aad43720 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 97c4e033..1697bb13 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 e15d25f8..aeee9dce 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 8ac18630..2b6f49d8 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 bd78f3d9..a4ea716f 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 40a3258f..6dfd5062 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 a6cb59e3..6120956c 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 2c703ca3..681d51a9 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 28b17e6e..cb6f95d5 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 bad3647b..36bb2efd 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 d1ee2bdb..721dd7d1 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 7fb0a3bc..a4fe4f77 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 fa8199cf..e919c576 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 941416d4..87c20ef6 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 4c0f2637..fa969de1 100644 --- a/tests/HTMLPurifier/PercentEncoderTest.php +++ b/tests/HTMLPurifier/PercentEncoderTest.php @@ -60,3 +60,4 @@ class HTMLPurifier_PercentEncoderTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/PropertyListTest.php b/tests/HTMLPurifier/PropertyListTest.php index 99862698..964a7313 100644 --- a/tests/HTMLPurifier/PropertyListTest.php +++ b/tests/HTMLPurifier/PropertyListTest.php @@ -83,3 +83,5 @@ class HTMLPurifier_PropertyListTest extends UnitTestCase } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/SimpleTest/Reporter.php b/tests/HTMLPurifier/SimpleTest/Reporter.php index 10e52bc1..f1783d79 100644 --- a/tests/HTMLPurifier/SimpleTest/Reporter.php +++ b/tests/HTMLPurifier/SimpleTest/Reporter.php @@ -47,3 +47,4 @@ class HTMLPurifier_SimpleTest_Reporter extends HTMLReporter } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/SimpleTest/TextReporter.php b/tests/HTMLPurifier/SimpleTest/TextReporter.php index 77b9f388..f9f407f1 100644 --- a/tests/HTMLPurifier/SimpleTest/TextReporter.php +++ b/tests/HTMLPurifier/SimpleTest/TextReporter.php @@ -16,3 +16,5 @@ class HTMLPurifier_SimpleTest_TextReporter extends TextReporter { } } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/CompositeTest.php b/tests/HTMLPurifier/Strategy/CompositeTest.php index 591f9271..8be422cc 100644 --- a/tests/HTMLPurifier/Strategy/CompositeTest.php +++ b/tests/HTMLPurifier/Strategy/CompositeTest.php @@ -63,3 +63,4 @@ class HTMLPurifier_Strategy_CompositeTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/CoreTest.php b/tests/HTMLPurifier/Strategy/CoreTest.php index 932f38ec..96b69930 100644 --- a/tests/HTMLPurifier/Strategy/CoreTest.php +++ b/tests/HTMLPurifier/Strategy/CoreTest.php @@ -42,3 +42,4 @@ class HTMLPurifier_Strategy_CoreTest extends HTMLPurifier_StrategyHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/ErrorsHarness.php b/tests/HTMLPurifier/Strategy/ErrorsHarness.php index 2d51f7e2..0e1bca68 100644 --- a/tests/HTMLPurifier/Strategy/ErrorsHarness.php +++ b/tests/HTMLPurifier/Strategy/ErrorsHarness.php @@ -15,3 +15,4 @@ class HTMLPurifier_Strategy_ErrorsHarness extends HTMLPurifier_ErrorsHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/FixNestingTest.php b/tests/HTMLPurifier/Strategy/FixNestingTest.php index 20febddb..93299a79 100644 --- a/tests/HTMLPurifier/Strategy/FixNestingTest.php +++ b/tests/HTMLPurifier/Strategy/FixNestingTest.php @@ -134,3 +134,4 @@ class HTMLPurifier_Strategy_FixNestingTest extends HTMLPurifier_StrategyHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/FixNesting_ErrorsTest.php b/tests/HTMLPurifier/Strategy/FixNesting_ErrorsTest.php index 517349b5..46848077 100644 --- a/tests/HTMLPurifier/Strategy/FixNesting_ErrorsTest.php +++ b/tests/HTMLPurifier/Strategy/FixNesting_ErrorsTest.php @@ -38,3 +38,4 @@ class HTMLPurifier_Strategy_FixNesting_ErrorsTest extends HTMLPurifier_Strategy_ } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjector.php b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjector.php index 0673aee9..d1724bcb 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjector.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjector.php @@ -14,3 +14,5 @@ class HTMLPurifier_Strategy_MakeWellFormed_EndInsertInjector extends HTMLPurifie ); } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjectorTest.php b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjectorTest.php index ea0025a2..7e62b721 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjectorTest.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndInsertInjectorTest.php @@ -35,3 +35,4 @@ class HTMLPurifier_Strategy_MakeWellFormed_EndInsertInjectorTest extends HTMLPur } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjector.php b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjector.php index 9352c1e4..21c49143 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjector.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjector.php @@ -25,3 +25,5 @@ class HTMLPurifier_Strategy_MakeWellFormed_EndRewindInjector extends HTMLPurifie } } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjectorTest.php b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjectorTest.php index ef906e84..e5e46ef6 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjectorTest.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed/EndRewindInjectorTest.php @@ -30,3 +30,4 @@ class HTMLPurifier_Strategy_MakeWellFormed_EndRewindInjectorTest extends HTMLPur } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjector.php b/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjector.php index 9ee8e826..258346b8 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjector.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjector.php @@ -8,3 +8,5 @@ class HTMLPurifier_Strategy_MakeWellFormed_SkipInjector extends HTMLPurifier_Inj $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 2ed0d85d..e63ca6b3 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjectorTest.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed/SkipInjectorTest.php @@ -24,3 +24,4 @@ class HTMLPurifier_Strategy_MakeWellFormed_SkipInjectorTest extends HTMLPurifier } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormedTest.php b/tests/HTMLPurifier/Strategy/MakeWellFormedTest.php index 2d28509a..3d6892d2 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormedTest.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormedTest.php @@ -104,3 +104,4 @@ class HTMLPurifier_Strategy_MakeWellFormedTest extends HTMLPurifier_StrategyHarn } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed_ErrorsTest.php b/tests/HTMLPurifier/Strategy/MakeWellFormed_ErrorsTest.php index 25cd4bae..5a63e3ea 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed_ErrorsTest.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed_ErrorsTest.php @@ -52,3 +52,4 @@ class HTMLPurifier_Strategy_MakeWellFormed_ErrorsTest extends HTMLPurifier_Strat } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/MakeWellFormed_InjectorTest.php b/tests/HTMLPurifier/Strategy/MakeWellFormed_InjectorTest.php index dbdb4c5b..05d01bfc 100644 --- a/tests/HTMLPurifier/Strategy/MakeWellFormed_InjectorTest.php +++ b/tests/HTMLPurifier/Strategy/MakeWellFormed_InjectorTest.php @@ -147,3 +147,5 @@ foo", } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/RemoveForeignElementsTest.php b/tests/HTMLPurifier/Strategy/RemoveForeignElementsTest.php index 2ac3daa4..125fc81b 100644 --- a/tests/HTMLPurifier/Strategy/RemoveForeignElementsTest.php +++ b/tests/HTMLPurifier/Strategy/RemoveForeignElementsTest.php @@ -105,3 +105,4 @@ alert(<b>bold</b>); } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/RemoveForeignElements_ErrorsTest.php b/tests/HTMLPurifier/Strategy/RemoveForeignElements_ErrorsTest.php index 7c91e5b7..b733af22 100644 --- a/tests/HTMLPurifier/Strategy/RemoveForeignElements_ErrorsTest.php +++ b/tests/HTMLPurifier/Strategy/RemoveForeignElements_ErrorsTest.php @@ -68,3 +68,4 @@ class HTMLPurifier_Strategy_RemoveForeignElements_ErrorsTest extends HTMLPurifie } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/RemoveForeignElements_TidyTest.php b/tests/HTMLPurifier/Strategy/RemoveForeignElements_TidyTest.php index 5fb2362a..4131979c 100644 --- a/tests/HTMLPurifier/Strategy/RemoveForeignElements_TidyTest.php +++ b/tests/HTMLPurifier/Strategy/RemoveForeignElements_TidyTest.php @@ -41,3 +41,5 @@ class HTMLPurifier_Strategy_RemoveForeignElements_TidyTest } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/ValidateAttributesTest.php b/tests/HTMLPurifier/Strategy/ValidateAttributesTest.php index 56eff253..ec5049c3 100644 --- a/tests/HTMLPurifier/Strategy/ValidateAttributesTest.php +++ b/tests/HTMLPurifier/Strategy/ValidateAttributesTest.php @@ -228,4 +228,4 @@ class HTMLPurifier_Strategy_ValidateAttributesTest extends } - +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/ValidateAttributes_IDTest.php b/tests/HTMLPurifier/Strategy/ValidateAttributes_IDTest.php index e8b60f86..a1ce4ca6 100644 --- a/tests/HTMLPurifier/Strategy/ValidateAttributes_IDTest.php +++ b/tests/HTMLPurifier/Strategy/ValidateAttributes_IDTest.php @@ -60,3 +60,4 @@ class HTMLPurifier_Strategy_ValidateAttributes_IDTest extends HTMLPurifier_Strat } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php b/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php index ab369f7f..a873f7fa 100644 --- a/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php +++ b/tests/HTMLPurifier/Strategy/ValidateAttributes_TidyTest.php @@ -348,3 +348,4 @@ class HTMLPurifier_Strategy_ValidateAttributes_TidyTest extends HTMLPurifier_Str } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/StrategyHarness.php b/tests/HTMLPurifier/StrategyHarness.php index 79237666..15f22f6b 100644 --- a/tests/HTMLPurifier/StrategyHarness.php +++ b/tests/HTMLPurifier/StrategyHarness.php @@ -12,3 +12,4 @@ class HTMLPurifier_StrategyHarness extends HTMLPurifier_ComplexHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/StringHashParser/AppendMultiline.txt b/tests/HTMLPurifier/StringHashParser/AppendMultiline.txt index a22ccddc..dfc12da3 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 844acee9..9d2aea80 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 e5c2f4b1..caea55b1 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 88db3b46..1d27c714 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 939cb6d0..e8042d9e 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 1a8b8845..6d357f86 100644 --- a/tests/HTMLPurifier/StringHashParserTest.php +++ b/tests/HTMLPurifier/StringHashParserTest.php @@ -85,3 +85,5 @@ class HTMLPurifier_StringHashParserTest extends UnitTestCase } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/StringHashTest.php b/tests/HTMLPurifier/StringHashTest.php index 01b1c1d3..653e5bf7 100644 --- a/tests/HTMLPurifier/StringHashTest.php +++ b/tests/HTMLPurifier/StringHashTest.php @@ -16,3 +16,5 @@ class HTMLPurifier_StringHashTest extends UnitTestCase } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/TagTransformTest.php b/tests/HTMLPurifier/TagTransformTest.php index a828af06..2e351016 100644 --- a/tests/HTMLPurifier/TagTransformTest.php +++ b/tests/HTMLPurifier/TagTransformTest.php @@ -172,3 +172,4 @@ class HTMLPurifier_TagTransformTest extends HTMLPurifier_Harness } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/TokenFactoryTest.php b/tests/HTMLPurifier/TokenFactoryTest.php index fba84330..3eb731f8 100644 --- a/tests/HTMLPurifier/TokenFactoryTest.php +++ b/tests/HTMLPurifier/TokenFactoryTest.php @@ -14,3 +14,4 @@ class HTMLPurifier_TokenFactoryTest extends HTMLPurifier_Harness } } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/TokenTest.php b/tests/HTMLPurifier/TokenTest.php index baa93804..099b9860 100644 --- a/tests/HTMLPurifier/TokenTest.php +++ b/tests/HTMLPurifier/TokenTest.php @@ -31,3 +31,4 @@ class HTMLPurifier_TokenTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIDefinitionTest.php b/tests/HTMLPurifier/URIDefinitionTest.php index 6f5b5bc0..aefd0ed7 100644 --- a/tests/HTMLPurifier/URIDefinitionTest.php +++ b/tests/HTMLPurifier/URIDefinitionTest.php @@ -58,3 +58,5 @@ class HTMLPurifier_URIDefinitionTest extends HTMLPurifier_URIHarness } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIFilter/DisableExternalResourcesTest.php b/tests/HTMLPurifier/URIFilter/DisableExternalResourcesTest.php index b5488500..21c70c14 100644 --- a/tests/HTMLPurifier/URIFilter/DisableExternalResourcesTest.php +++ b/tests/HTMLPurifier/URIFilter/DisableExternalResourcesTest.php @@ -19,3 +19,5 @@ class HTMLPurifier_URIFilter_DisableExternalResourcesTest extends } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIFilter/DisableExternalTest.php b/tests/HTMLPurifier/URIFilter/DisableExternalTest.php index 72069a3e..bb1e8bfc 100644 --- a/tests/HTMLPurifier/URIFilter/DisableExternalTest.php +++ b/tests/HTMLPurifier/URIFilter/DisableExternalTest.php @@ -49,3 +49,5 @@ class HTMLPurifier_URIFilter_DisableExternalTest extends HTMLPurifier_URIFilterH } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIFilter/HostBlacklistTest.php b/tests/HTMLPurifier/URIFilter/HostBlacklistTest.php index 64061c95..26c0efcf 100644 --- a/tests/HTMLPurifier/URIFilter/HostBlacklistTest.php +++ b/tests/HTMLPurifier/URIFilter/HostBlacklistTest.php @@ -25,3 +25,5 @@ class HTMLPurifier_URIFilter_HostBlacklistTest extends HTMLPurifier_URIFilterHar } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIFilter/MakeAbsoluteTest.php b/tests/HTMLPurifier/URIFilter/MakeAbsoluteTest.php index 6a163e4a..ff9f0aca 100644 --- a/tests/HTMLPurifier/URIFilter/MakeAbsoluteTest.php +++ b/tests/HTMLPurifier/URIFilter/MakeAbsoluteTest.php @@ -142,3 +142,5 @@ class HTMLPurifier_URIFilter_MakeAbsoluteTest extends HTMLPurifier_URIFilterHarn } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIFilter/MungeTest.php b/tests/HTMLPurifier/URIFilter/MungeTest.php index fdd94ea5..a1d4da04 100644 --- a/tests/HTMLPurifier/URIFilter/MungeTest.php +++ b/tests/HTMLPurifier/URIFilter/MungeTest.php @@ -118,3 +118,5 @@ class HTMLPurifier_URIFilter_MungeTest extends HTMLPurifier_URIFilterHarness } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIFilterHarness.php b/tests/HTMLPurifier/URIFilterHarness.php index 39bf057b..165ae678 100644 --- a/tests/HTMLPurifier/URIFilterHarness.php +++ b/tests/HTMLPurifier/URIFilterHarness.php @@ -11,3 +11,5 @@ class HTMLPurifier_URIFilterHarness extends HTMLPurifier_URIHarness } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIHarness.php b/tests/HTMLPurifier/URIHarness.php index b2dd7b25..852460a8 100644 --- a/tests/HTMLPurifier/URIHarness.php +++ b/tests/HTMLPurifier/URIHarness.php @@ -27,3 +27,5 @@ class HTMLPurifier_URIHarness extends HTMLPurifier_Harness } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URIParserTest.php b/tests/HTMLPurifier/URIParserTest.php index 4e88ed88..5cb5850f 100644 --- a/tests/HTMLPurifier/URIParserTest.php +++ b/tests/HTMLPurifier/URIParserTest.php @@ -142,3 +142,4 @@ class HTMLPurifier_URIParserTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URISchemeRegistryTest.php b/tests/HTMLPurifier/URISchemeRegistryTest.php index aeb39fb1..e124aa18 100644 --- a/tests/HTMLPurifier/URISchemeRegistryTest.php +++ b/tests/HTMLPurifier/URISchemeRegistryTest.php @@ -46,3 +46,4 @@ class HTMLPurifier_URISchemeRegistryTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URISchemeTest.php b/tests/HTMLPurifier/URISchemeTest.php index 24f1fbe3..b9f6acf3 100644 --- a/tests/HTMLPurifier/URISchemeTest.php +++ b/tests/HTMLPurifier/URISchemeTest.php @@ -134,3 +134,4 @@ class HTMLPurifier_URISchemeTest extends HTMLPurifier_URIHarness } +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/URITest.php b/tests/HTMLPurifier/URITest.php index 5c10c502..f6a59b43 100644 --- a/tests/HTMLPurifier/URITest.php +++ b/tests/HTMLPurifier/URITest.php @@ -197,3 +197,5 @@ class HTMLPurifier_URITest extends HTMLPurifier_URIHarness } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/UnitConverterTest.php b/tests/HTMLPurifier/UnitConverterTest.php index 22bb6185..3dc1e2af 100644 --- a/tests/HTMLPurifier/UnitConverterTest.php +++ b/tests/HTMLPurifier/UnitConverterTest.php @@ -127,3 +127,5 @@ class HTMLPurifier_UnitConverterTest extends HTMLPurifier_Harness } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/VarParser/FlexibleTest.php b/tests/HTMLPurifier/VarParser/FlexibleTest.php index d4626030..c6149b6b 100644 --- a/tests/HTMLPurifier/VarParser/FlexibleTest.php +++ b/tests/HTMLPurifier/VarParser/FlexibleTest.php @@ -62,3 +62,5 @@ class HTMLPurifier_VarParser_FlexibleTest extends HTMLPurifier_VarParserHarness } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/VarParser/NativeTest.php b/tests/HTMLPurifier/VarParser/NativeTest.php index 140501e9..424dceb7 100644 --- a/tests/HTMLPurifier/VarParser/NativeTest.php +++ b/tests/HTMLPurifier/VarParser/NativeTest.php @@ -8,3 +8,5 @@ class HTMLPurifier_VarParser_NativeTest extends HTMLPurifier_VarParserHarness } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifier/VarParserHarness.php b/tests/HTMLPurifier/VarParserHarness.php index d5d2404d..0ef23189 100644 --- a/tests/HTMLPurifier/VarParserHarness.php +++ b/tests/HTMLPurifier/VarParserHarness.php @@ -29,3 +29,5 @@ class HTMLPurifier_VarParserHarness extends UnitTestCase } } + +// vim: et sw=4 sts=4 diff --git a/tests/HTMLPurifierTest.php b/tests/HTMLPurifierTest.php index 34ef46db..5f55bf35 100644 --- a/tests/HTMLPurifierTest.php +++ b/tests/HTMLPurifierTest.php @@ -47,3 +47,4 @@ class HTMLPurifierTest extends HTMLPurifier_Harness } +// vim: et sw=4 sts=4 diff --git a/tests/PHPT/Controller/SimpleTest.php b/tests/PHPT/Controller/SimpleTest.php index 4d3fa374..62fe6a40 100644 --- a/tests/PHPT/Controller/SimpleTest.php +++ b/tests/PHPT/Controller/SimpleTest.php @@ -20,3 +20,5 @@ class PHPT_Controller_SimpleTest extends SimpleTestCase } } + +// vim: et sw=4 sts=4 diff --git a/tests/PHPT/Reporter/SimpleTest.php b/tests/PHPT/Reporter/SimpleTest.php index cd5c08f7..25ffe7b4 100644 --- a/tests/PHPT/Reporter/SimpleTest.php +++ b/tests/PHPT/Reporter/SimpleTest.php @@ -73,3 +73,5 @@ class PHPT_Reporter_SimpleTest implements PHPT_Reporter } } + +// vim: et sw=4 sts=4 diff --git a/tests/common.php b/tests/common.php index af2e7f5b..01d6666c 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 e23b17f4..3d871018 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 a109f7e9..9556dfe9 100755 --- a/tests/index.php +++ b/tests/index.php @@ -31,7 +31,6 @@ $php = 'php'; // for safety ini_set('memory_limit', '64M'); require 'common.php'; - $AC = array(); // parameters $AC['flush'] = false; $AC['standalone'] = false; @@ -193,3 +192,5 @@ if ($AC['file']) { 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 4e2b7d4c..518d4b62 100644 --- a/tests/multitest.php +++ b/tests/multitest.php @@ -153,3 +153,5 @@ foreach ($versions_to_test as $version) { // $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 4680e422..95a3a95a 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 80ed69d5..d2b86cdb 100644 --- a/tests/test_files.php +++ b/tests/test_files.php @@ -41,3 +41,5 @@ switch ($AC['type']) { $phpt_dirs[] = 'HTMLPurifier/PHPT'; } } + +// vim: et sw=4 sts=4 diff --git a/tests/tmp/README b/tests/tmp/README index 962b80a3..2e35c1c3 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