Title: Empty tags being added
Last modified: February 25, 2025

---

# Empty tags being added

 *  Resolved [cdfwebdev](https://wordpress.org/support/users/cdfwebdev/)
 * (@cdfwebdev)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/empty-tags-being-added/)
 * My event list page is set to use the following for the list format:
 *     ```wp-block-code
       <div class="custom-event-wrapper"><a href="#_EVENTURL"><div class="custom-event-img" style="background: url(#_EVENTIMAGEURL)"><span class="custom-date-positioned"><span class="custom-event-day">#_EVENTDATES</span></span></div><div class="custom-event-title">#_EVENTNAME</div><div class="custom-event-time"><b>#_EVENTTIMES</b></div></a></div>
       ```
   
 * But the output is adding a <p> tag with an empty link (bit in bold). Although
   you can’t see it on the page, it fails accessibility due to the empty link. Any
   ideas how to stop event manager from adding this?
 *     ```wp-block-code
       <div class="custom-event-wrapper"><a href="https://www.domainredacted.com/events/eventname/"><p></p><div class="custom-event-img" style="background: url(https://www.redacted.jpg)"><span class="custom-date-positioned"><span class="custom-event-day">02/03/2025</span></span></div><div class="custom-event-title">Event title</div><div class="custom-event-time"><b>10:00 am</b></div></a><p><a href="https://www.domainredacted.com/events/eventname/"></a></p></div>
       ```
   

Viewing 1 replies (of 1 total)

 *  [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * (@joneiseman)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/empty-tags-being-added/#post-18328064)
 * Go to Events > Settings then in the General tab select “Styling Options (Advanced)”
   then in that section in Individual Components set the Events List formatting 
   to Basic Only or Disabled and see if that resolves the problem.

Viewing 1 replies (of 1 total)

The topic ‘Empty tags being added’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/empty-tags-being-added/#post-18328064)
 * Status: resolved