ID #53 (Previous | Next)

POST request to: admin/config/content/formats/filtered_html

Ending URL: http://www.candidity.co.uk/drupal/tb_sirate/admin/config/content/formats/filtered_html

Fields: `<?php array (
'name' => 'Filtered HTML',
'roles[1]' => '1',
'roles[2]' => '2',
'roles[3]' => '3',
'roles[4]' => '4',
'filters[filter_html][status]' => '1',
'filters[filter_autop][status]' => '1',
'filters[filter_url][status]' => '1',
'filters[filter_htmlcorrector][status]' => '1',
'filters[filter_html_escape][weight]' => '-10',
'filters[filter_autop][weight]' => 2,
'filters[filter_html][weight]' => '1',
'filters[filter_url][weight]' => 1,
'filters[filter_htmlcorrector][weight]' => '10',
'filters[filter_html][settings][allowed_html]' => '<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>',
'filters[filter_html][settings][filter_html_help]' => '1',
'filters[filter_url][settings][filter_url_length]' => '72',
'filter_settings[filter_settings__active_tab]' => '',
'form_build_id' => 'form-Mcoz56gRMBRy63ax4pJna94jA2UhPSogIJVfxUk1Quc',
'form_token' => 'YHE5fYg8qyZfgieamjdY7X2rbtgz1S5A-sNZKCQSJ3Y',
'form_id' => 'filter_admin_format_form',
'op' => 'Save configuration',
)`

Skip to main content

## Status message

The text format Filtered HTML has been updated.

# Filtered HTML

A text format contains filters that change the user input, for example stripping out malicious HTML or making URLs clickable. Filters are executed from top to bottom and the order is important, since one filter may prevent another filter from doing its job. For example, when URLs are converted into links before disallowed HTML tags are removed, all links may be removed. When this happens, the order of filters may need to be re-arranged.

Name *
Machine-readable name *
A unique machine-readable name. Can only contain lowercase letters, numbers, and underscores.
Roles
anonymous user
authenticated user
administrator
dn0uJr9Q
aJ9bfKrQ
Enabled filters
Limit allowed HTML tags
Display any HTML as plain text
Convert line breaks into HTML (i.e. `<br>` and `<p>`)
Convert URLs into links
Correct faulty and chopped off HTML
Filter processing order

Display any HTML as plain text | Weight for Display any HTML as plain text
Convert URLs into links | Weight for Convert URLs into links
Limit allowed HTML tags | Weight for Limit allowed HTML tags
Convert line breaks into HTML (i.e. `<br>` and `<p>`) | Weight for Convert line breaks into HTML (i.e. <code>&lt;br&gt;</code> and <code>&lt;p&gt;</code>)
Correct faulty and chopped off HTML | Weight for Correct faulty and chopped off HTML

Filter settings

## Vertical Tabs

Limit allowed HTML tags
Allowed HTML tags
A list of HTML tags that can be used. JavaScript event attributes, JavaScript URLs, and CSS are always stripped.
Display basic HTML help in long filter tips
Add rel="nofollow" to all links
Convert URLs into links
Maximum link text length characters
URLs longer than this number of characters will be truncated to prevent long strings that break formatting. The link itself will be retained; just the text portion of the link will be truncated.