Problem/Motivation

& is not being rendered correctly being output as text as &

Steps to reproduce

  1. Create a manual list
  2. Create a promo card
  3. Enter with &
  4. View the page and note that the promo card title has & printed

Resolution

Ensure string field has XSS filtering but also renders & properly.

Comments

richardgaunt created an issue. See original summary.

richardgaunt’s picture

Issue summary: View changes
Issue tags: +civictheme-release-1.12.2

  • bf9854c4 committed on 1.x
    [#3558421] Fixed rendering of html entities in string fields. (#1449)
    
richardgaunt’s picture

Assigned: richardgaunt » danielgry
richardgaunt’s picture

Issue summary: View changes
richardgaunt’s picture

Status: Active » Needs review
richardgaunt’s picture

Noting that this is also affecting menu link titles. Converting these to use strip_tags as well.

richardgaunt’s picture

Version: 1.x-dev » 1.12.2
Assigned: danielgry » Unassigned
Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

richardgaunt’s picture

Status: Fixed » Reviewed & tested by the community
richardgaunt’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.