Unnecessary sanitization question element

Created on 26 October 2022, about 2 years ago
Updated 14 March 2023, over 1 year ago

Problem/Motivation

FAQField module has a function that striptags the question string. If our string is inside , it will return empty.

Steps to reproduce

Create a FAQField element with question "". It will return empty.

Proposed resolution

Remove that sanitization because the field question is not a formatted field like answer field. The string should shows as it is (just trimming).

🐛 Bug report
Status

Active

Version

7.0

Component

Code

Created by

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