From d021adfebbb7a0deee8beb7d1d38b9b7f18f0a3f Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Mon, 2 Jul 2012 21:15:20 -0400 Subject: htmlawed calls the tag attributes code for closing tags now so we set default value for 2nd parameter --- mod/htmlawed/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/htmlawed/start.php') diff --git a/mod/htmlawed/start.php b/mod/htmlawed/start.php index 10bea2a52..5af18f4dd 100644 --- a/mod/htmlawed/start.php +++ b/mod/htmlawed/start.php @@ -90,7 +90,7 @@ function htmLawedArray(&$v, $k, $htmlawed_config) { * @param array $attributes An array of attributes * @return string */ -function htmlawed_tag_post_processor($element, $attributes) { +function htmlawed_tag_post_processor($element, $attributes = array()) { // these are the default styles used by tinymce. $allowed_styles = array( 'color', 'cursor', 'text-align', 'vertical-align', 'font-size', -- cgit v1.2.3