Modal window title contains encoded html text

Created on 24 September 2020, about 4 years ago
Updated 3 April 2023, over 1 year ago

Problem/Motivation

When an event title includes an ampersand, the modal window title changes the ampersand into an `&amp`

Steps to reproduce

  1. Create an event with an ampersand in the title
  2. Configure the fullcalendar view to open event in a modal window
  3. View the calendar and click on the event
  4. Modal window title encodes & to &amp

Proposed resolution

Decode html in title header using a safe solution such as the one proposed here: https://stackoverflow.com/a/34064434
This should cover special characters not limited to ampersands.

Remaining tasks

  1. Patch the fullcalendar_view module's fullcalendar_view.js file to decode html in dataDialogOptionsDetails.title.

User interface changes

Nothing

API changes

Nothing

Data model changes

Nothing

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States johnnydarkko

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.

  • πŸ‡¦πŸ‡ΊAustralia mingsong πŸ‡¦πŸ‡Ί

    As it requires a lots of resource to maintain 3 major versions and Drupal 8 is not supported anymore by the Drupal core team, the 8.x-2.x versions were not supported since Drupal 10 is averrable.

    I am sorry, but have to mark any issues with 8.x-2.x as out of dates to inform the new users that.

Production build 0.71.5 2024