[EventCalendar] ec3_get_events() not translating ampersands into character entities

JD Puglisi jdpuglisi at hotmail.com
Sat Oct 6 13:50:09 UTC 2007


I don't think that's a EC3 or WordPress problem but rather a hosting
problem. Either the machine you're hosted on or the way your php.ini file is
set up. Perhaps your host can assist.

Or you can try:
$data['TITLE'] = 'Subject: '.wp_specialchars($entry->post_title);

JDP
----------
It's getting closer, but the page still does not validate. For some
reason, the semicolon is not being added to any of the character
entities. Here is just one of the error messages:

---------------------------------
Line 723, Column 197: reference not terminated by REFC delimiter.
[...]071101" title="Event: This month&#039 s events: CRNC  ACR
peace.ca and media 
If you meant to include an entity that starts with "&", then you
should terminate it with ";". Another reason for this error message is
that you inadvertently created an entity by failing to escape an "&"
character just before this text.
------------------------------

-E





More information about the EventCalendar mailing list