Title: Product attribute format
Last modified: August 30, 2016

---

# Product attribute format

 *  Resolved [Alberto Hornero](https://wordpress.org/support/users/hornero/)
 * (@hornero)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/product-attribute-format/)
 * Hi,
 * After last update, and each time I update a product the format of the all attribute
   values is loosen. I mean, all line breaks and paragraphs created in an attribute
   value are converted to one string (just one line).
 * Do you know how to avoid/solve it? Thanks in advance. Regards,
 * Alberto.
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

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

 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/product-attribute-format/#post-6509797)
 * What type of attribute is it? Custom or ‘global’?
 *  Thread Starter [Alberto Hornero](https://wordpress.org/support/users/hornero/)
 * (@hornero)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/product-attribute-format/#post-6509798)
 * Custom. But the in previous version we have no problem about that.
 * Thanks for your quick answer.
 * Alberto.
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/product-attribute-format/#post-6509807)
 * I’ve allowed this for non-variation attributes here [https://github.com/woothemes/woocommerce/commit/b111331686b5399aa1c6da0d2f381bf5e9006017](https://github.com/woothemes/woocommerce/commit/b111331686b5399aa1c6da0d2f381bf5e9006017)
   next release. Variation attributes should never have line breaks though.
 *  Thread Starter [Alberto Hornero](https://wordpress.org/support/users/hornero/)
 * (@hornero)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/product-attribute-format/#post-6509928)
 * Hi Mike,
 * That’s great! Let me check it out 😉 Thanks!
 *  Thread Starter [Alberto Hornero](https://wordpress.org/support/users/hornero/)
 * (@hornero)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/product-attribute-format/#post-6509958)
 * It works like a charm! Thanks again.
 *  [dcxs](https://wordpress.org/support/users/dcxs/)
 * (@dcxs)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/product-attribute-format/#post-6510067)
 * I want to add line breaks in my product attribute texts. Is that this code allows?
 * [https://github.com/woothemes/woocommerce/commit/b111331686b5399aa1c6da0d2f381bf5e9006017](https://github.com/woothemes/woocommerce/commit/b111331686b5399aa1c6da0d2f381bf5e9006017)
 * Or could someone explain how to do it?
 * Thanks!

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

The topic ‘Product attribute format’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [attribute](https://wordpress.org/support/topic-tag/attribute/)
 * [last version](https://wordpress.org/support/topic-tag/last-version/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * 6 replies
 * 3 participants
 * Last reply from: [dcxs](https://wordpress.org/support/users/dcxs/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/product-attribute-format/#post-6510067)
 * Status: resolved