Title: Adding when using custom_meta fields
Last modified: February 3, 2020

---

# Adding when using custom_meta fields

 *  Resolved [idee](https://wordpress.org/support/users/idee/)
 * (@idee)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/adding-when-using-custom_meta-fields/)
 * Hi WP Lister Team,
 * inside our products, we use a custom meta field (WYSIWYG Editor field).
 * WP Lister does add <br> add the end of nearly each line. This is in the ebay 
   prevoew, and when uploading the product to ebay. The <br> are always there.
    
   In the `the_content ();` field its fine, only the custom meta fields have that
   problem
 * We have in the HTML things happen like:
 *     ```
       <h3 class="whatever">Text</h3>
       <br>
       <br>
       <br>
       ```
   
 * Or:
 *     ```
       <ul class="whatever"><br>
        	<li>Text</li><br>
        	<li>Text</li><br>
       </ul>
       ```
   
 * ANy hints would be nice, as we do not know where to look at.

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

 *  Plugin Support [WP Lab Support](https://wordpress.org/support/users/wp-lab-support/)
 * (@wp-lab-support)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/adding-when-using-custom_meta-fields/#post-12393198)
 * Hey [@idee](https://wordpress.org/support/users/idee/)
 * Thanks for contacting support.
 * So you are looking to remove the <br> tags when listing to eBay, is that right?
 * Kind regards,
    John
 *  Thread Starter [idee](https://wordpress.org/support/users/idee/)
 * (@idee)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/adding-when-using-custom_meta-fields/#post-12393389)
 * Hi,
    yes, that is correct. ANd already in the Preview.
 * These <br> Tags do get added automatically.
    And only in our custom fields we
   added to our woocommerce products and display in the Ebay Template with [[meta_custom-
   meta-field-name]].
    -  This reply was modified 6 years, 3 months ago by [idee](https://wordpress.org/support/users/idee/).
    -  This reply was modified 6 years, 3 months ago by [idee](https://wordpress.org/support/users/idee/).
 *  Thread Starter [idee](https://wordpress.org/support/users/idee/)
 * (@idee)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/adding-when-using-custom_meta-fields/#post-12398433)
 * Hello,
    any news to this question? Thank you
 *  Plugin Support [WP Lab Support](https://wordpress.org/support/users/wp-lab-support/)
 * (@wp-lab-support)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/adding-when-using-custom_meta-fields/#post-12401897)
 * Hey [@idee](https://wordpress.org/support/users/idee/)
 * Thank you for your patience.
 * That is intentional and there’s a comment in the code that says:
 * `nl2br() is required for WYSIWYG fields by Advanced Custom Field plugin (and 
   probably others)`
 * … nl2br is function that converts newline into the <br> tags that you are talking
   about. We just added a filter that will allow you to disable that if you’re not
   using ACF so please create a ticket here: [https://www.wplab.com/request-support/](https://www.wplab.com/request-support/)
   so we can give you the new filter and the add on plugin to turn the <br> tags
   off.
 * If you could also supply a link to this forum thread in your ticket, that would
   be helpful as well.
 * Kind regards,
    John

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

The topic ‘Adding when using custom_meta fields’ is closed to new replies.

 * ![](https://ps.w.org/wp-lister-for-ebay/assets/icon-256x256.png?rev=2372284)
 * [WP-Lister Lite for eBay](https://wordpress.org/plugins/wp-lister-for-ebay/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-lister-for-ebay/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-lister-for-ebay/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-lister-for-ebay/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-lister-for-ebay/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-lister-for-ebay/reviews/)

## Tags

 * [wpautop](https://wordpress.org/support/topic-tag/wpautop/)

 * 4 replies
 * 2 participants
 * Last reply from: [WP Lab Support](https://wordpress.org/support/users/wp-lab-support/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/adding-when-using-custom_meta-fields/#post-12401897)
 * Status: resolved