[EventCalendar] ec3_get_events() not translating ampersands into
character entities
JD Puglisi
jdpuglisi at hotmail.com
Fri Oct 5 18:30:46 UTC 2007
I think this blog uses a type of content importer or otherwise. It's
actually easy to bring non-UTF-8 characters in via feeds or bad cut/paste
techniques from web pages or word processing documents. I get them
frequently if I'm not careful from non UTF-8 feeds.
I just tested an event out on my blog (WP 2.2.3 and EC 3.1.1. RC2) with an
ampersand and single quote in the title. It failed validation without
wrapping it in htmlentities ($entry->post_title,ENT_QUOTES); When I wrapped
it, the page validated OK (XHTML 1.0 Strict in UTF-8).
JDP
-----------------------------------------------------
Everything in WordPress is supposed to be in UTF-8.
More information about the EventCalendar
mailing list