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).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tobas1996 created an issue. See original summary.

tobas1996’s picture

Title: Unnecessary striptags sanitization question element » Unnecessary sanitization question element
Issue summary: View changes
tobas1996’s picture

Im attaching a patch that applies the proposed resolution.

tobas1996’s picture