My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 755: HTML entities not showing correctly.
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Dec 2010


Sign in to add a comment
 
Reported by drew...@gmail.com, Dec 10, 2010
I've found when there are some HTML entities in the title, it shows them as their entity code.  See attached.
Screen shot 2010-12-10 at 2.23.17 PM.png
13.7 KB   View   Download
Dec 13, 2010
Project Member #1 althaus.it
I think FC is awaiting simple UTF-8 encoded titles. You can work around this by redrawing the event with "eventRender":

http://arshaw.com/fullcalendar/docs/event_rendering/eventRender/
Dec 26, 2010
Project Member #2 adamrs...@gmail.com
can you tell me what your event object looks like? is it

   {
      title: "Jr & Sr High Family New Years Event Party",
      start: "2010-12-12"
   }

OR

   {
      title: "Jr & Sr High Family New Years Event Party",
      start: "2010-12-12"
   }

if it is the later, your problem is that you aren't able to put html entities into the title itself. an event's title doesn't support html, only the literal text. you need to include all characters, unescaped, into the literal string (you'll need to make sure the character encoding on your html page is UTF-8 if you want to support a wide range of characters).
Status: Done
May 30, 2014
#3 angeldia...@gmail.com
	eventRender: function (event, element) 
				{
						element.find('.fc-event-title').html(event.title);
				}
Feb 8, 2015
#4 jorgepal...@gmail.com
Thank you so much.
Sign in to add a comment

Powered by Google Project Hosting