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

Comments

johnnydarkko created an issue. See original summary.

johnnydarkko’s picture

Status: Active » Needs review
StatusFileSize
new1.25 KB
mingsong’s picture

Status: Needs review » Closed (outdated)

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.