Problem/Motivation

If the title of an item in the view has a character like ' or & it will be escaped and rendered incorrectly in the view.

Steps to reproduce

Create a fullcalendar view of some entity. Have an & in the title of one of the nodes that will appear in the view. "Hello & World" for example. View the calendar. You'll see that that node is rendered as Hello & World.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

redeight created an issue. See original summary.

redeight’s picture

Issue summary: View changes
mingsong’s picture

StatusFileSize
new122.19 KB
new143.87 KB
new123.12 KB
new88.38 KB

Thanks @ James for reporting.

I test it with Drupal 11.

Drupal version: 11.0.0

Fullcalendar View version: 5.2.0

Here is the result from my test.

Month view:
Month

Week view:
Week

Day view:
Day

List view:
List

The evnet title present correctly except the list view. Is it the same as what you see on your end?

mingsong’s picture

Status: Active » Postponed (maintainer needs more info)
redeight’s picture

Yes exactly! I forgot to mention that it was in the List display.

mingsong’s picture

Status: Postponed (maintainer needs more info) » Needs work

It is a Fullcalendar.js issue.

https://github.com/fullcalendar/fullcalendar/issues/2919#issuecomment-30...

Should be something we can do from the Drupal backend.

mingsong’s picture

According my local test and the CI test on Gitlab, I believe this issue is fixed by the merge request.

mingsong’s picture

Status: Needs work » Fixed

This issue will be patched with 5.2.1

Thanks.

  • 23c431ff committed on 5.x
    Issue #3467000 by Mingsong, redeight: Title of items in view are...
redeight’s picture

Thank you!

Status: Fixed » Closed (fixed)

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