]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
htmlawed calls the tag attributes code for closing tags now so we set default value...
authorCash Costello <cash.costello@gmail.com>
Tue, 3 Jul 2012 01:15:20 +0000 (21:15 -0400)
committerCash Costello <cash.costello@gmail.com>
Tue, 3 Jul 2012 01:15:20 +0000 (21:15 -0400)
mod/htmlawed/start.php

index 10bea2a5204f869bd3c939066db8b6c281c05ae7..5af18f4ddc005aaf2d77b58c2fa119de7584f229 100644 (file)
@@ -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',