Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

HTML Field Formatter

854 sites Security covered Drupal 10–11
View on drupal.org

This module allows you to display the content of text and string fields as raw HTML. It's useful when you have plain text fields containing basic HTML markup that you want to render directly. Be cautious, as this module outputs HTML unfiltered, so it's important to restrict access to trusted users to prevent potential security risks like XSS.

This is a very simple module that enables an HTML field format for text and string fields.

Useful for plain text fields that might have basic html and needs to be rendered as such.

Provides a simple solution for many different use cases.

By default, this module outputs the HTML code of the field unfiltered.
It is therefore the responsibility of the site operator to take appropriate
measures, e.g. against XSS. Access should be restricted to trusted roles.

Requirements

No special requirements at this time.

Install

It is recommended to install via composer. See below for commands:

composer require drupal/html_field_formatter
drush en html_field_formatter

Configuration

  1. Goto Structure -> Content Types and select a content type to change.
  2. Goto "Manage Display" page and change "Format" on desired field to "HTML".
  3. Configure any formatting settings as needed.
  4. Save changes.
  5. Now field should be formatted as HTML.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Aug 2025
Latest release
11 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
3.0.0 Stable 10–11 Sep 17, 2025
3.0.0-rc1 Pre-release 8–11 Aug 25, 2025
3.x-dev Dev 10–11 Aug 25, 2025