Title: Transcoding and Formatting Errors
Last modified: August 22, 2016

---

# Transcoding and Formatting Errors

 *  Resolved [wps-webmaster](https://wordpress.org/support/users/wps-webmaster/)
 * (@wps-webmaster)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/transcoding-and-formatting-errors/)
 * Looked at my site today to find an empty feed, despite having not changed anything
   in weeks, and on the front-page too… }:-(
 * Altogether too many non-backwards compatible changes going on with this plugin.
 * So, a couple of problems I’ve identified (I’m sticking with 2.1.7 for now since
   this is the last working version I’ve had).
 * In 2.2.2 there’s a transcoding error, event location target is getting transcoding
   quotes, so instead of :
 * `target="_blank"`
 * we’re getting :
 * `target=&quot;_blank&quot;`
 * Next up, formatting. Since post 2.1.7 the formatting is missing from my event
   feed created by the widget. This appears to be because the CSS is not being imported
   any longer. After fixing the quote transcoding errors above, the diff I get from
   2.1.7 -> 2.2.2 is :
 *     ```
       diff gce-2.1.7.html gce-2.2.2-fix.html
       36,37d35
       < <link rel='stylesheet' id='google-calendar-events-qtip-css'  href='http://www.mysite.com/wp-content/plugins/google-calendar-events/css/jquery.qtip.min.css?ver=2.1.7' type='text/css' media='all' />
       < <link rel='stylesheet' id='google-calendar-events-public-css'  href='http://www.mysite.com/wp-content/plugins/google-calendar-events/css/gce-style.css?ver=2.1.7' type='text/css' media='all' />
       224c222
       <               <li class="widget widget_gce_widget"><h3>Upcoming meetings</h3><div class="gce-widget-list" id="gce-widget-list-1234"><div class="gce-list" data-gce-start-offset="0" data-gce-start="1426464000" data-gce-paging-interval="" data-gce-paging="" data-gce-feeds="1234" data-gce-title="" data-gce-grouped="1" data-gce-sort="asc">
       ---
       >               <li class="widget widget_gce_widget"><h3>Upcoming meetings</h3><div class="gce-widget-list gce-widget-list-1234" id="gce-1"><div class="gce-list" data-gce-start-offset="0" data-gce-start="1426464000" data-gce-paging-interval="" data-gce-paging="" data-gce-feeds="1234" data-gce-title="" data-gce-grouped="1" data-gce-sort="asc">
       449,456c447,449
       < <script type='text/javascript' src='http://www.mysite.com/wp-content/plugins/google-calendar-events/js/imagesloaded.pkg.min.js?ver=2.1.7'></script>
       < <script type='text/javascript' src='http://www.mysite.com/wp-content/plugins/google-calendar-events/js/jquery.qtip.min.js?ver=2.1.7'></script>
       < <script type='text/javascript'>
       < /* <![CDATA[ */
       < var gce = {"ajaxurl":"http:\/\/www.mysite.com\/wp-admin\/admin-ajax.php","ajaxnonce":"a1585d8c9b","loadingText":"Loading..."};
       < /* ]]> */
       < </script>
       < <script type='text/javascript' src='http://www.mysite.com/wp-content/plugins/google-calendar-events/js/gce-script.js?ver=2.1.7'></script>
       ---
       > <script type='text/javascript' src='http://www.mysite.com/wp-content/plugins/google-calendar-events/js/imagesloaded.pkg.min.js?ver=2.2.2'></script>
       > <script type='text/javascript' src='http://www.mysite.com/wp-content/plugins/google-calendar-events/js/jquery.qtip.min.js?ver=2.2.2'></script>
       > <script type='text/javascript' src='http://www.mysite.com/wp-content/plugins/google-calendar-events/js/gce-script.js?ver=2.2.2'></script>
       ```
   
 * Adding back the first two missing lines restores the formatting for the event
   feed.
 * [https://wordpress.org/plugins/google-calendar-events/](https://wordpress.org/plugins/google-calendar-events/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/transcoding-and-formatting-errors/#post-5904296)
 * Does it help if you turn on the “Always Enqueue” option in the general settings?
 *  Thread Starter [wps-webmaster](https://wordpress.org/support/users/wps-webmaster/)
 * (@wps-webmaster)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/transcoding-and-formatting-errors/#post-5904396)
 * I’m pretty sure I’ve tried it before without success, but it seems to be working
   now, at least for the css inclusion.
 * The quote transcoding issue still persists.
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/transcoding-and-formatting-errors/#post-5904403)
 * What are you using for your event builder codes, or are you using the simple 
   display options?
 *  Thread Starter [wps-webmaster](https://wordpress.org/support/users/wps-webmaster/)
 * (@wps-webmaster)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/transcoding-and-formatting-errors/#post-5904405)
 * No, I’ve left it as is. When I upgraded and event builder was born as such, the
   code was there and I haven’t changed it.
 * Besides, it’s just the “target” keyword for which the value quotes are transcoded,
   and that would more likely be internal.
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/transcoding-and-formatting-errors/#post-5904407)
 * Ok I found the problem:
 * [https://github.com/pderksen/WP-Google-Calendar-Events/blob/master/google-calendar-events/includes/class-gce-event.php#L387](https://github.com/pderksen/WP-Google-Calendar-Events/blob/master/google-calendar-events/includes/class-gce-event.php#L387)
 * That line there is the snippet `esc_attr( $newwindow )`. If you remove the `esc_attr`
   wrapper then it should work.
 * I will make sure to have this updated as well going forward. Thanks for the find.
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/transcoding-and-formatting-errors/#post-5904421)
 * Fixed this in the most recent update.
 *  Thread Starter [wps-webmaster](https://wordpress.org/support/users/wps-webmaster/)
 * (@wps-webmaster)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/transcoding-and-formatting-errors/#post-5904422)
 * Nope, still transcoded. Need to fix this one :
 * [https://github.com/pderksen/WP-Google-Calendar-Events/blob/master/google-calendar-events/includes/class-gce-event.php#L400](https://github.com/pderksen/WP-Google-Calendar-Events/blob/master/google-calendar-events/includes/class-gce-event.php#L400)
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/transcoding-and-formatting-errors/#post-5904424)
 * Good catch thought it was only an issue with the [link] so I only fixed it there.
   Will make sure to get this into the next update.
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/transcoding-and-formatting-errors/#post-5904488)
 * Assuming this got resolved since there has not been a reply here recently. Also
   the more recent updates addressed this as well. Please let us know if you have
   any more issues.
 * Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Transcoding and Formatting Errors’ is closed to new replies.

 * ![](https://ps.w.org/google-calendar-events/assets/icon-256x256.png?rev=1263960)
 * [Simple Calendar - Google Calendar Plugin](https://wordpress.org/plugins/google-calendar-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-calendar-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-calendar-events/)
 * [Active Topics](https://wordpress.org/support/plugin/google-calendar-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-calendar-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-calendar-events/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/transcoding-and-formatting-errors/#post-5904488)
 * Status: resolved