The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

All-in-One Event Calendar
[resolved] Description in exported calendar has htmlentities and tags (4 posts)

  1. shrmn
    Posted 4 years ago #

    In an exported calendar, the HTML tags and entities are not filtered out of the description area (i.e. your Post Content).

    To fix this, you can apply the following changes to /app/helper/class-ai1ec-exporter-helper.php

    Line 69, change

    $content = apply_filters( 'the_content', $event->post->post_content );


    $content = html_entity_decode( strip_tags(apply_filters( 'the_content', $event->post->post_content )), ENT_QUOTES, 'UTF-8');

    With this, you can have a nice cleanly formatted description view in your exported calendar(s).


  2. ullemehner
    Posted 4 years ago #

    I just checked in release candidate (1) for 1.8: This issue is still not fixed, neither in free and premium.

    Hope the simple solution suggested by shrmn will finally make it into final 1.8

  3. mauryg
    Posted 3 years ago #

    I'm using 1.8.3 premium and had the same problem with the descriptions. The fix suggested by shrmn fixed it perfectly. Now hopefully the daylight savings time problem will go away on November 4th.

  4. bradgeelan
    Posted 3 years ago #

    I just used the above code from shrmn but now when opening my site receive the following errors.

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/b/r/a/bradgeelan/html/wp-content/plugins/all-in-one-event-calendar/app/helper/class-ai1ec-exporter-helper.php:1) in /home/content/b/r/a/bradgeelan/html/wp-content/plugins/all-in-one-event-calendar/app/plugins/Ai1ecFacebookConnectorPlugin.php on line 148

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/b/r/a/bradgeelan/html/wp-content/plugins/all-in-one-event-calendar/app/helper/class-ai1ec-exporter-helper.php:1) in /home/content/b/r/a/bradgeelan/html/wp-includes/pluggable.php on line 881

    Would appreciate any help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All-in-One Event Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic