Support » Plugin: All-in-One Event Calendar » [Plugin: All-in-One Event Calendar] Exported Calendar shows htmlentities

  • Resolved shrmn

    (@shrmn)


    Hi, I subscribed to my WordPress calendar in Google Calendar.

    My events have a dash in them (“J2 – H1 General Paper”) and they show its html special character in Google Calendar instead of a dash (“J2 – H1 General Paper”).

    I found the location to fix this – the issue is that – is UTF-8 encoding.

    In version 1.5 of the plugin, you can edit /all-in-one-event/calendar/app/helper/class-ai1ec-exporter-helper.php to fix this.

    Change line 68:

    $e->setProperty( 'summary', html_entity_decode( apply_filters( 'the_title', $event->post->post_title ), ENT_QUOTES ) );

    to

    $e->setProperty( 'summary', html_entity_decode( apply_filters( 'the_title', $event->post->post_title ), ENT_QUOTES, 'UTF-8' ) );

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: All-in-One Event Calendar] Exported Calendar shows htmlentities’ is closed to new replies.