--- safehtml.module.orig 2007-08-29 23:12:48.000000000 -0400
+++ safehtml.module 2007-09-02 02:23:16.000000000 -0400
@@ -74,15 +74,15 @@ function safehtml_filter($op, $delta = 0
case 'description':
return t('An input filter that check and correct HTML before is stored in database.');
case 'settings':
return _filter_html_settings($format);
default:
return $text;
}
}
function safehtml_filter_tips($delta, $format, $long = FALSE) {
+ if(!$long) {
+ return t('Potentially problem-causing HTML tags are filtered.');
+ }
return t('Check and correct HTML before is stored in database. This parser strips down all potentially dangerous content within HTML: opening tag without its closing tag; closing tag without its opening tag; any of these tags: "base", "basefont", "head", "html", "body", "applet", "object", "iframe", "frame", "frameset", "script", "layer", "ilayer", "embed", "bgsound", "link", "meta", "style", "title", "blink", "xml" etc.; any of these attributes: on*, data*, dynsrc; javascript:/vbscript:/about: etc. protocols; expression/behavior etc. in styles; any other active content. It also tries to convert code to XHTML valid, but htmltidy is far better solution for this task.');
}