Title: Wrong syntax makes comments visible
Last modified: May 13, 2026

---

# Wrong syntax makes comments visible

 *  Resolved [agreselin](https://wordpress.org/support/users/agreselin/)
 * (@agreselin)
 * [1 week, 3 days ago](https://wordpress.org/support/topic/wrong-syntax-makes-comments-visible/)
 * Hello, `wp-content/plugins/template-events-calendar/includes/events-shortcode.
   php` contains these lines,
 *     ```wp-block-code
                                       $output .= '<!=========Events Timeline Template ' . ECT_VERSION . '=========>';                                $output .= '<div id="event-timeline-wrapper" class="' . esc_attr( $catCls ) . ' ' . esc_attr( $style ) . '">';                                $output .= '<div class="cool-event-timeline">';                                $output .= $events_html;                                $output .= '</div></div>';                        } elseif ( $template == 'minimal-list' ) {                                $output .= '<!=========Events Static list Template ' . ECT_VERSION . '=========>';                                $output .= '<div id="ect-events-minimal-list-content">';                                $output .= '<div id="ect-minimal-list-wrp" class="ect-minimal-list-wrapper ' . esc_attr( $catCls ) . '">';                                $output .= $events_html;                                $output .= '</div></div>';                        } else {                                $output .= '<!=========Events list Template ' . ECT_VERSION . '=========>';                                $output .= '<div id="ect-events-list-content">';                                $output .= '<div id="list-wrp" class="ect-list-wrapper ' . esc_attr( $catCls ) . '">';                                $output .= $events_html;                                $output .= '</div></div>';
       ```
   
 * where the `<!=========...=========>` look like wrong HTML comments, which make
   the code visible in the page:
 * ![](https://ptdrive.vi-pa.cloud/index.php/apps/files_sharing/publicpreview/AcKpKsJiKWPnHey?
   file=/&fileId=1873097&x=1920&y=1080&a=true&etag=b310eb6173eaf8148809b4fe2f149db2)
 * This only happens when the Iubenda plugin is active, I don’t know why.
 * I have replaced the equal signs with hyphens in the file, so the code is no longer
   visible in my page, online.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwrong-syntax-makes-comments-visible%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Jyoti Bhandari](https://wordpress.org/support/users/jyoti197/)
 * (@jyoti197)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/wrong-syntax-makes-comments-visible/#post-18907633)
 * Hi [@agreselin](https://wordpress.org/support/users/agreselin/),
 * Sorry for the inconvenience caused.
   We have released this fix in version 2.6.2.1,
   so you should no longer experience this issue. Please update the plugin to version
   2.6.2.1 and confirm whether the issue has been resolved on your end.If you still
   face any problems after updating, please let us know and we will be happy to 
   assist you further.I hope this helps you.Thanks & Regards
 *  Thread Starter [agreselin](https://wordpress.org/support/users/agreselin/)
 * (@agreselin)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/wrong-syntax-makes-comments-visible/#post-18907656)
 * I’ve just installed v. 2.6.2.2 and the bug is gone. Thanks!
 *  Plugin Support [Jyoti Bhandari](https://wordpress.org/support/users/jyoti197/)
 * (@jyoti197)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/wrong-syntax-makes-comments-visible/#post-18907774)
 * Hi [@agreselin](https://wordpress.org/support/users/agreselin/) ,
 * **If you’re enjoying our plugin, we’d really appreciate your review!**
   Your feedback
   motivates us and helps us improve our plugin even further. If our plugin has 
   been helpful for you, could you please take a moment to share your experience
   by leaving us a review[https://wordpress.org/support/plugin/template-events-calendar/reviews/#new-post](https://wordpress.org/support/plugin/template-events-calendar/reviews/#new-post)
   Thank you for your support!Best Regards
    -  This reply was modified 1 week, 2 days ago by [Jyoti Bhandari](https://wordpress.org/support/users/jyoti197/).
    -  This reply was modified 1 week, 2 days ago by [Jyoti Bhandari](https://wordpress.org/support/users/jyoti197/).
 *  Thread Starter [agreselin](https://wordpress.org/support/users/agreselin/)
 * (@agreselin)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/wrong-syntax-makes-comments-visible/#post-18907837)
 * Hi [@jyoti197](https://wordpress.org/support/users/jyoti197/), I’m just the server’s
   sysadmin. I don’t write the website’s contents and I’ve never actually used the
   plugin, so I can’t leave an informed review

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwrong-syntax-makes-comments-visible%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/template-events-calendar/assets/icon-256x256.gif?rev=3346193)
 * [Events Shortcodes For The Events Calendar](https://wordpress.org/plugins/template-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/template-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/template-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/template-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/template-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/template-events-calendar/reviews/)

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [templates](https://wordpress.org/support/topic-tag/templates/)

 * 5 replies
 * 2 participants
 * Last reply from: [agreselin](https://wordpress.org/support/users/agreselin/)
 * Last activity: [1 week, 2 days ago](https://wordpress.org/support/topic/wrong-syntax-makes-comments-visible/#post-18907837)
 * Status: resolved