aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/output.php2
-rw-r--r--mod/ecml/start.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/output.php b/engine/lib/output.php
index dba73c13f..70c3821d6 100644
--- a/engine/lib/output.php
+++ b/engine/lib/output.php
@@ -165,7 +165,7 @@ function elgg_strip_tags($string) {
$params['original_string'] = $string;
$string = strip_tags($string);
- $string = trigger_plugin_hook('output', 'strip_tags', $params, $string);
+ $string = trigger_plugin_hook('format', 'strip_tags', $params, $string);
return $string;
} \ No newline at end of file
diff --git a/mod/ecml/start.php b/mod/ecml/start.php
index d145c711b..2a223aedc 100644
--- a/mod/ecml/start.php
+++ b/mod/ecml/start.php
@@ -80,7 +80,7 @@ function ecml_init() {
register_plugin_hook('embed_get_sections', 'all', 'ecml_embed_web_services_hook');
// remove ecml when stripping tags
- register_plugin_hook('output', 'strip_tags', 'ecml_strip_tags');
+ register_plugin_hook('format', 'strip_tags', 'ecml_strip_tags');
}
/**