From 2646f5ea57b7d4bb1dbaafa42b7a8a6eb5ff41e4 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Tue, 1 May 2007 21:43:24 +0000 Subject: [PATCH] Add experimental and dangerous Scripting module. This is NOT mentioned in the NEWS items, and will be officially released with 1.7. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1008 48356398-32a2-884e-a903-53898d9a118a --- library/HTMLPurifier/HTMLModule/Scripting.php | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 library/HTMLPurifier/HTMLModule/Scripting.php diff --git a/library/HTMLPurifier/HTMLModule/Scripting.php b/library/HTMLPurifier/HTMLModule/Scripting.php new file mode 100644 index 00000000..e3ef802b --- /dev/null +++ b/library/HTMLPurifier/HTMLModule/Scripting.php @@ -0,0 +1,67 @@ +getHTMLDefinition(true); // get the raw version +$def->manager->addModule('Scripting'); + +This must come before any other calls to getHTMLDefinition() + +*/ + +/** + * Implements required attribute stipulation for