Standard filters
- 7.x drupal-7.x/modules/filter/filter.module standard_filters
- 6.x drupal-6.x/modules/filter/filter.module standard_filters
Filters implemented by the filter.module.
File
- drupal-6.x/
modules/ filter/ filter.module, line 604 - Framework for handling filtering of content.
Functions
Name | Location | Description |
---|---|---|
filter_filter |
drupal-6.x/ |
Implementation of hook_filter(). |
filter_xss |
drupal-6.x/ |
Filters an HTML string to prevent cross-site-scripting (XSS) vulnerabilities. |
filter_xss_admin |
drupal-6.x/ |
Very permissive XSS/HTML filter for admin-only use. |
filter_xss_bad_protocol |
drupal-6.x/ |
Processes an HTML attribute value and ensures it does not contain an URL with a disallowed protocol (e.g. javascript:) |
_filter_autop |
drupal-6.x/ |
Convert line breaks into <p> and <br> in an intelligent fashion. Based on: http://photomatt.net/scripts/autop |
_filter_html |
drupal-6.x/ |
HTML filter. Provides filtering of input into accepted HTML. |
_filter_htmlcorrector |
drupal-6.x/ |
Scan input and make sure that all HTML tags are properly closed and nested. |
_filter_html_settings |
drupal-6.x/ |
Settings for the HTML filter. |
_filter_url |
drupal-6.x/ |
URL filter. Automatically converts text web addresses (URLs, e-mail addresses, FTP links, etc.) into hyperlinks. |
_filter_url_parse_full_links |
drupal-6.x/ |
Make links out of absolute URLs. |
_filter_url_parse_partial_links |
drupal-6.x/ |
Make links out of domain names starting with "www." |
_filter_url_settings |
drupal-6.x/ |
Settings for URL filter. |
_filter_url_trim |
drupal-6.x/ |
Shortens long URLs to http://www.example.com/long/url... |
_filter_xss_attributes |
drupal-6.x/ |
Processes a string of HTML attributes. |
_filter_xss_split |
drupal-6.x/ |
Processes an HTML tag. |