Missing crucial allowed markup tags in views

Created on 18 February 2025, about 2 months ago

Problem/Motivation

Currently, the system only permits the use of the following tags: ['img', 'br', 'h2', 'h3', 'h4', 'h5', 'h6', 'span', 'strong', 'em', 'i', 'small']. This limitation results in the absence of various styles due to the exclusion of essential tags such as div, svg, caption, and others.

Steps to Reproduce

  1. Add a custom text field to a view.
  2. Incorporate tags that are not included in $allowed_markup.
  3. Designate it as the panel group.
  4. Observe the missing tags.

Proposed resolution

Add the same allowed tags that are defined on Xss class.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

5.5

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan Ahmad Khader

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

Comments & Activities

Production build 0.71.5 2024