WordPress.org

Ready to get started?Download WordPress

Forums

Google Calendar Events
[resolved] Bug? Cutting off first character after shortcode tag (3 posts)

  1. Adam Ainsworth
    Member
    Posted 10 months ago #

    In the following code, the shortcode for the closing of 'if not all day' is cutting off the next character, whether or not it's the start of an HTML tag, another shortcode tag or just a normal character.

    <strong>[start-date]</strong> [if-not-all-day]([start-time] - [end-time]) [/if-not-all-day]<br />[event-title]

    So in this case, it would cut off the < from the line break.

    http://wordpress.org/plugins/google-calendar-events/

  2. Ross Hanney
    Member
    Plugin Author

    Posted 10 months ago #

    Yeah, definitely a bug. I think it should already be fixed in the dev version of the plugin, but you can work around it in the current release by adding a line break between the closing [/if-not-all-day] shortcode and the <br> tag, like this:

    <strong>[start-date]</strong> [if-not-all-day]([start-time] - [end-time]) [/if-not-all-day]
    <br />[event-title]
  3. Adam Ainsworth
    Member
    Posted 10 months ago #

    Yeah, got it :-)

    Cheers

Reply

You must log in to post.

About this Plugin

About this Topic