If the content of an event contains a shortcode, that retrieves text, this is loaded twice. First in the div, tribe-events-content, and again in tribe-events-cal-links, which is not expected.
I have tried to generalize the example as much as I can to show this.
I can’t provide an URL to show this, as our development site is offline-based. I can provide the following information which generated the shot of the event page:
Shortcode:
function get_text($atts) {
$a = shortcode_atts( array(
), $atts );
echo '<span style="border: 2px solid red; padding: 4px;">Repeated text</span>';
}
add_shortcode( 'get_text', 'get_text' );
Event name:
Event Title
Event description:
Event description... [get_text]