diff --git a/docs/enduser-customize.html b/docs/enduser-customize.html
index 67496fc5..fbd0f2ad 100644
--- a/docs/enduser-customize.html
+++ b/docs/enduser-customize.html
@@ -723,7 +723,7 @@ $def = $config->getHTMLDefinition(true);
or more flow elements, but no nested form
s
action
, method
and name
action
, method
and name
diff --git a/library/HTMLPurifier/HTMLDefinition.php b/library/HTMLPurifier/HTMLDefinition.php index 44f4616f..c99ac11e 100644 --- a/library/HTMLPurifier/HTMLDefinition.php +++ b/library/HTMLPurifier/HTMLDefinition.php @@ -114,7 +114,7 @@ class HTMLPurifier_HTMLDefinition extends HTMLPurifier_Definition * @note See HTMLPurifier_HTMLModule::addElement for detailed * parameter and return value descriptions. */ - public function addElement($element_name, $type, $contents, $attr_collections, $attributes) { + public function addElement($element_name, $type, $contents, $attr_collections, $attributes = array()) { $module = $this->getAnonymousModule(); // assume that if the user is calling this, the element // is safe. This may not be a good idea