summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-08-11 14:39:39 -0700
committerBrion Vibber <brion@pobox.com>2010-08-11 14:41:31 -0700
commit527561cd93b69ddaba660f272462aadfaef0c511 (patch)
tree28ee227bad7a05821182974c9f8b23b7848b5967 /plugins
parentc19696afecd98f225181c8a8a368712954d6dbd4 (diff)
TinyMCE: core tweak; switching order of input processing so length limit is applied to stripped version of the text
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TinyMCE/TinyMCEPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TinyMCE/TinyMCEPlugin.php b/plugins/TinyMCE/TinyMCEPlugin.php
index 9408e20c9..d9e189375 100644
--- a/plugins/TinyMCE/TinyMCEPlugin.php
+++ b/plugins/TinyMCE/TinyMCEPlugin.php
@@ -115,7 +115,7 @@ class TinyMCEPlugin extends Plugin
* @param array $options
* @return boolean hook return
*/
- function onSaveNewNoticeWeb($action, $user, &$content, &$options)
+ function onStartSaveNewNoticeWeb($action, $user, &$content, &$options)
{
$html = $this->sanitizeHtml($action->arg('status_textarea'));
$options['rendered'] = $html;