Title: Extra html tags getting added
Last modified: August 21, 2016

---

# Extra html tags getting added

 *  [cjc1867](https://wordpress.org/support/users/cjc1867/)
 * (@cjc1867)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/extra-html-tags-getting-added/)
 * Hi
    The Categories & All Listing links don’t show properly, one is slightly lower
   than the other. Looking at the code there is extra `<br>` and `<p>` tags being
   added.
 * Why is this happening and how can we solve it?
 * Thanks
 * Colin
 * [http://wordpress.org/plugins/ldd-business-directory/](http://wordpress.org/plugins/ldd-business-directory/)

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

 *  Thread Starter [cjc1867](https://wordpress.org/support/users/cjc1867/)
 * (@cjc1867)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/extra-html-tags-getting-added/#post-4403427)
 * Hi
    Looking at lddbd_display.php there are two places where this code is below:
 *     ```
       <div id='lddbd_navigation_holder'>
            <a href='javascript:void(0);' id='lddbd_listings_category_button' class='lddbd_navigation_button'>Categories</a>
            <a href='javascript:void(0);' id='lddbd_all_listings_button' class='lddbd_navigation_button'>All Listings</a>
            {$login_button}
            {$submit_button}
       </div>
       ```
   
 * For now I have deleted the line so that both links to Categories & All Links 
   are on the same line.
 *     ```
       <div id='lddbd_navigation_holder'>
             <a href='javascript:void(0);' id='lddbd_listings_category_button' class='lddbd_navigation_button'>Categories</a><a href='javascript:void(0);' id='lddbd_all_listings_button' class='lddbd_navigation_button'>All Listings</a>
             {$login_button}
             {$submit_button}
       </div>
       ```
   
 * This works but I still have an extra `<p></p>` tag being generated
 * So any thoughts from the developer?
 * Thanks
 * Colin
 *  Plugin Author [LDDConsulting](https://wordpress.org/support/users/suffrage/)
 * (@suffrage)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/extra-html-tags-getting-added/#post-4403472)
 * We’ll take a look at this and figure out where the extra tags are being generated
   from.
 * We apologize for the inconvenience!

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

The topic ‘Extra html tags getting added’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ldd-business-directory.svg)
 * [LDD Business Directory](https://wordpress.org/plugins/ldd-business-directory/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ldd-business-directory/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ldd-business-directory/)
 * [Active Topics](https://wordpress.org/support/plugin/ldd-business-directory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ldd-business-directory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ldd-business-directory/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [LDDConsulting](https://wordpress.org/support/users/suffrage/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/extra-html-tags-getting-added/#post-4403472)
 * Status: not resolved