aboutsummaryrefslogtreecommitdiff
path: root/mod/htmlawed
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-02 21:15:20 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-02 21:15:20 -0400
commitd021adfebbb7a0deee8beb7d1d38b9b7f18f0a3f (patch)
tree769647bd05a1571d7c7a83b17572a281a1d3db92 /mod/htmlawed
parent8ad4ac8ecfd673f77d7e16638c7930e8e0b99812 (diff)
downloadelgg-d021adfebbb7a0deee8beb7d1d38b9b7f18f0a3f.tar.gz
elgg-d021adfebbb7a0deee8beb7d1d38b9b7f18f0a3f.tar.bz2
htmlawed calls the tag attributes code for closing tags now so we set default value for 2nd parameter
Diffstat (limited to 'mod/htmlawed')
-rw-r--r--mod/htmlawed/start.php2
1 files changed, 1 insertions, 1 deletions
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',