Allow safe HTML in the Contact thank you message

Created on 11 July 2022, almost 3 years ago
Updated 17 May 2025, 1 day ago

Problem/Motivation

Contact form currently filters all HTML from the admin settings screens. So, if you want to put paragraph breaks to improve readability of your thank you message, the HTML is escaped and printed directly to the user instead of being rendered as HTML.

Steps to reproduce

Set a thank you message on the contact form to include a < p> P Tag < /p>

Proposed resolution

Change the filtering on the admin fields to only filter unsafe JavaScript while allowing reasonable HTML like P tags.

✨ Feature request
Status

Postponed

Version

11.0 πŸ”₯

Component

contact.module

Created by

πŸ‡ΊπŸ‡ΈUnited States Greg Boggs Portland Oregon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024