Index: modules/filter/filter.module =================================================================== RCS file: /cvs/drupal/drupal/modules/filter/filter.module,v retrieving revision 1.207 diff -u -r1.207 filter.module --- modules/filter/filter.module 13 Mar 2008 21:26:08 -0000 1.207 +++ modules/filter/filter.module 9 Apr 2008 04:56:39 -0000 @@ -6,14 +6,14 @@ * Framework for handling filtering of content. */ -// This is a special format ID which means "use the default format". This value -// can be passed to the filter APIs as a format ID: this is equivalent to not -// passing an explicit format at all. +/** + * Special format ID which means "use the default format". + * + * This value can be passed to the filter APIs as a format ID: this is + * equivalent to not passing an explicit format at all. + */ define('FILTER_FORMAT_DEFAULT', 0); -define('FILTER_HTML_STRIP', 1); -define('FILTER_HTML_ESCAPE', 2); - /** * Implementation of hook_help(). */ @@ -171,100 +171,95 @@ global $base_url; switch ($delta) { case 0: - if (variable_get("filter_html_$format", FILTER_HTML_STRIP) == FILTER_HTML_STRIP) { - if ($allowed_html = variable_get("allowed_html_$format", '