mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-10-17 15:06:07 +02:00
Remove trailing ?> in PHP library files, add trailing newlines to all other files.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1253 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -135,4 +135,3 @@ class HTMLPurifier_AttrCollectionsTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -68,4 +68,3 @@ class HTMLPurifier_AttrDef_CSS_BackgroundPositionTest extends HTMLPurifier_AttrD
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -19,4 +19,3 @@ class HTMLPurifier_AttrDef_CSS_BackgroundTest extends HTMLPurifier_AttrDefHarnes
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -19,4 +19,3 @@ class HTMLPurifier_AttrDef_CSS_BorderTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -34,4 +34,3 @@ class HTMLPurifier_AttrDef_CSS_ColorTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -90,4 +90,3 @@ class HTMLPurifier_AttrDef_CSS_CompositeTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -21,4 +21,3 @@ class HTMLPurifier_AttrDef_CSS_FontFamilyTest extends HTMLPurifier_AttrDefHarnes
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -34,4 +34,3 @@ class HTMLPurifier_AttrDef_CSS_FontTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -40,4 +40,3 @@ class HTMLPurifier_AttrDef_CSS_LengthTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -35,4 +35,3 @@ class HTMLPurifier_AttrDef_CSS_ListStyleTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -30,4 +30,3 @@ class HTMLPurifier_AttrDef_CSS_MultipleTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -37,4 +37,3 @@ class HTMLPurifier_AttrDef_CSS_NumberTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -24,4 +24,3 @@ class HTMLPurifier_AttrDef_CSS_PercentageTest extends HTMLPurifier_AttrDefHarnes
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -24,4 +24,3 @@ class HTMLPurifier_AttrDef_CSS_TextDecorationTest extends HTMLPurifier_AttrDefHa
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -34,4 +34,3 @@ class HTMLPurifier_AttrDef_CSS_URITest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -108,4 +108,3 @@ class HTMLPurifier_AttrDef_CSSTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -37,4 +37,3 @@ class HTMLPurifier_AttrDef_EnumTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -22,4 +22,3 @@ class HTMLPurifier_AttrDef_HTML_BoolTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -20,4 +20,3 @@ class HTMLPurifier_AttrDef_HTML_ColorTest extends HTMLPurifier_AttrDefHarness
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -28,4 +28,3 @@ class HTMLPurifier_AttrDef_HTML_FrameTargetTest extends HTMLPurifier_AttrDefHarn
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -109,4 +109,3 @@ class HTMLPurifier_AttrDef_HTML_IDTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -32,4 +32,3 @@ class HTMLPurifier_AttrDef_HTML_LengthTest extends HTMLPurifier_AttrDef_HTML_Pix
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -21,4 +21,3 @@ class HTMLPurifier_AttrDef_HTML_LinkTypesTest extends HTMLPurifier_AttrDefHarnes
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -28,4 +28,3 @@ class HTMLPurifier_AttrDef_HTML_MultiLengthTest extends HTMLPurifier_AttrDef_HTM
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -32,4 +32,3 @@ class HTMLPurifier_AttrDef_HTML_NmtokensTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -38,4 +38,3 @@ class HTMLPurifier_AttrDef_HTML_PixelsTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -61,4 +61,3 @@ class HTMLPurifier_AttrDef_IntegerTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -85,4 +85,3 @@ class HTMLPurifier_AttrDef_LangTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -17,4 +17,3 @@ class HTMLPurifier_AttrDef_TextTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -13,4 +13,3 @@ class HTMLPurifier_AttrDef_URI_Email_SimpleCheckTest
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -31,4 +31,3 @@ class HTMLPurifier_AttrDef_URI_EmailHarness extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -21,4 +21,3 @@ class HTMLPurifier_AttrDef_URI_HostTest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -43,4 +43,3 @@ class HTMLPurifier_AttrDef_URI_IPv6Test extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -325,4 +325,4 @@ class HTMLPurifier_AttrDef_URITest extends HTMLPurifier_AttrDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -30,4 +30,3 @@ class HTMLPurifier_AttrDefHarness extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -27,4 +27,3 @@ class HTMLPurifier_AttrDefTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -29,4 +29,3 @@ class HTMLPurifier_AttrTransform_BdoDirTest extends HTMLPurifier_AttrTransformHa
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -40,4 +40,3 @@ class HTMLPurifier_AttrTransform_BgColorTest extends HTMLPurifier_AttrTransformH
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -36,4 +36,3 @@ class HTMLPurifier_AttrTransform_BoolToCSSTest extends HTMLPurifier_AttrTransfor
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -37,4 +37,3 @@ class HTMLPurifier_AttrTransform_BorderTest extends HTMLPurifier_AttrTransformHa
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -75,4 +75,3 @@ class HTMLPurifier_AttrTransform_EnumToCSSTest extends HTMLPurifier_AttrTransfor
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -48,4 +48,3 @@ class HTMLPurifier_AttrTransform_ImgRequiredTest extends HTMLPurifier_AttrTransf
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -54,4 +54,3 @@ class HTMLPurifier_AttrTransform_ImgSpaceTest extends HTMLPurifier_AttrTransform
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -46,4 +46,3 @@ class HTMLPurifier_AttrTransform_LangTest
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -34,4 +34,3 @@ class HTMLPurifier_AttrTransform_LengthTest extends HTMLPurifier_AttrTransformHa
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -25,4 +25,3 @@ class HTMLPurifier_AttrTransform_NameTest extends HTMLPurifier_AttrTransformHarn
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -11,4 +11,3 @@ class HTMLPurifier_AttrTransformHarness extends HTMLPurifier_Harness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -39,4 +39,3 @@ class HTMLPurifier_AttrTransformTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -25,4 +25,3 @@ class HTMLPurifier_AttrTypesTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -47,4 +47,3 @@ class HTMLPurifier_AttrValidator_ErrorsTest extends HTMLPurifier_ErrorsHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -32,4 +32,3 @@ class HTMLPurifier_ChildDef_ChameleonTest extends HTMLPurifier_ChildDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -74,4 +74,3 @@ class HTMLPurifier_ChildDef_CustomTest extends HTMLPurifier_ChildDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -17,4 +17,3 @@ class HTMLPurifier_ChildDef_OptionalTest extends HTMLPurifier_ChildDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -66,4 +66,3 @@ class HTMLPurifier_ChildDef_RequiredTest extends HTMLPurifier_ChildDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -53,4 +53,3 @@ extends HTMLPurifier_ChildDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -49,4 +49,3 @@ class HTMLPurifier_ChildDef_TableTest extends HTMLPurifier_ChildDefHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -15,4 +15,4 @@ class HTMLPurifier_ChildDefHarness extends HTMLPurifier_Harness
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -336,4 +336,3 @@ class HTMLPurifier_ConfigSchemaTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -458,4 +458,3 @@ class HTMLPurifier_ConfigTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -85,4 +85,3 @@ class HTMLPurifier_ContextTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -56,4 +56,3 @@ class HTMLPurifier_DefinitionCache_Decorator_CleanupTest extends HTMLPurifier_De
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -70,4 +70,3 @@ class HTMLPurifier_DefinitionCache_Decorator_MemoryTest extends HTMLPurifier_Def
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -23,4 +23,3 @@ class HTMLPurifier_DefinitionCache_DecoratorHarness extends HTMLPurifier_Definit
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -42,4 +42,3 @@ class HTMLPurifier_DefinitionCache_DecoratorTest extends HTMLPurifier_Definition
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -199,4 +199,3 @@ class HTMLPurifier_DefinitionCache_SerializerTest extends HTMLPurifier_Definitio
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -62,4 +62,3 @@ class HTMLPurifier_DefinitionCacheFactoryTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -31,4 +31,3 @@ class HTMLPurifier_DefinitionCacheHarness extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -38,4 +38,3 @@ class HTMLPurifier_DefinitionCacheTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -30,4 +30,3 @@ class HTMLPurifier_DefinitionTest extends UnitTestCase
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -76,4 +76,3 @@ class HTMLPurifier_DoctypeRegistryTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -93,4 +93,3 @@ class HTMLPurifier_ElementDefTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -141,4 +141,3 @@ class HTMLPurifier_EncoderTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -26,4 +26,3 @@ class HTMLPurifier_EntityLookupTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -82,4 +82,3 @@ class HTMLPurifier_EntityParserTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -44,4 +44,3 @@ class HTMLPurifier_ErrorCollectorEMock extends HTMLPurifier_ErrorCollectorMock
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -139,4 +139,3 @@ class HTMLPurifier_ErrorCollectorTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -29,4 +29,3 @@ class HTMLPurifier_ErrorsHarness extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -223,4 +223,3 @@ class HTMLPurifier_GeneratorTest extends HTMLPurifier_Harness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -84,4 +84,3 @@ class HTMLPurifier_HTMLDefinitionTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -50,4 +50,3 @@ alert("<This is compatible with XHTML>");
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -227,4 +227,3 @@ class HTMLPurifier_HTMLModule_TidyTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -11,4 +11,3 @@ class HTMLPurifier_HTMLModuleHarness extends HTMLPurifier_StrategyHarness
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@@ -106,4 +106,3 @@ class HTMLPurifier_HTMLModuleManagerTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -147,4 +147,3 @@ class HTMLPurifier_HTMLModuleTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -125,4 +125,4 @@ class HTMLPurifier_Harness extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
@@ -32,4 +32,3 @@ class HTMLPurifier_IDAccumulatorTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -251,4 +251,3 @@ Par2',
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -36,4 +36,3 @@ class HTMLPurifier_Injector_LinkifyTest extends HTMLPurifier_InjectorHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -40,4 +40,3 @@ class HTMLPurifier_Injector_PurifierLinkifyTest extends HTMLPurifier_InjectorHar
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -13,4 +13,3 @@ class HTMLPurifier_InjectorHarness extends HTMLPurifier_StrategyHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -49,4 +49,3 @@ class HTMLPurifier_LanguageFactoryTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -75,4 +75,3 @@ class HTMLPurifier_LanguageTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -122,4 +122,3 @@ class HTMLPurifier_Lexer_DirectLexTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -53,4 +53,3 @@ class HTMLPurifier_Lexer_DirectLex_ErrorsTest extends HTMLPurifier_ErrorsHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -71,7 +71,7 @@ class HTMLPurifier_LexerTest extends UnitTestCase
|
||||
$this->assertExtractBody('<html><body><b>Bold</b></body></html>', '<b>Bold</b>');
|
||||
$this->assertExtractBody('<HTML><BODY><B>Bold</B></BODY></HTML>', '<B>Bold</B>');
|
||||
$this->assertExtractBody(
|
||||
'<?xml version="1.0"?>
|
||||
'<?xml version="1.0"
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
@@ -372,4 +372,3 @@ class HTMLPurifier_LexerTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -39,4 +39,3 @@ class HTMLPurifier_PercentEncoderTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -32,4 +32,3 @@ class HTMLPurifier_SimpleTest_Reporter extends HTMLReporter
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -73,4 +73,3 @@ class HTMLPurifier_Strategy_CompositeTest extends UnitTestCase
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -35,4 +35,3 @@ class HTMLPurifier_Strategy_CoreTest extends HTMLPurifier_StrategyHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
@@ -17,4 +17,3 @@ class HTMLPurifier_Strategy_ErrorsHarness extends HTMLPurifier_ErrorsHarness
|
||||
|
||||
}
|
||||
|
||||
?>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user