Fieldsets with only images don't display

Created on 20 October 2023, about 1 year ago

The logic in RowFieldset.php currently has $text = trim(strip_tags($child->content));. If the row only has an img tag then it strips that out as well and returns $show_fieldset = FALSE; and then rows with just an image don't show. If we switch that to $text = trim(strip_tags($child->content, '<img>')); to allow images, then rows with just an image will still show up.

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tjhellmann Indianapolis, IN

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

Comments & Activities

Production build 0.71.5 2024