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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Title list view.png | 88.38 KB | mingsong |
| #3 | Title day view.png | 123.12 KB | mingsong |
| #3 | Title week view.png | 143.87 KB | mingsong |
| #3 | Title month view.png | 122.19 KB | mingsong |
Issue fork fullcalendar_view-3467000
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
Comment #2
redeight commentedComment #3
mingsongThanks @ 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:

Week view:

Day view:

List view:

The evnet title present correctly except the list view. Is it the same as what you see on your end?
Comment #4
mingsongComment #5
redeight commentedYes exactly! I forgot to mention that it was in the List display.
Comment #6
mingsongIt is a Fullcalendar.js issue.
https://github.com/fullcalendar/fullcalendar/issues/2919#issuecomment-30...
Should be something we can do from the Drupal backend.
Comment #8
mingsongAccording my local test and the CI test on Gitlab, I believe this issue is fixed by the merge request.
Comment #9
mingsongThis issue will be patched with 5.2.1
Thanks.
Comment #11
redeight commentedThank you!