removed not useful nl2br in emails plain templates

This commit is contained in:
claudiosmweb 2014-02-13 02:22:34 -02:00 committed by Coen Jacobs
parent b206d96ad7
commit 3872750c69
1 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ foreach ( $items as $item ) :
echo ' (#' . $_product->get_sku() . ')';
// Variation
echo $item_meta->meta ? "\n" . nl2br( $item_meta->display( true, true ) ) : '';
echo $item_meta->meta ? "\n" . $item_meta->display( true, true ) : '';
// Quantity
echo "\n" . sprintf( __( 'Quantity: %s', 'woocommerce' ), $item['qty'] );
@ -50,7 +50,7 @@ foreach ( $items as $item ) :
// Note
if ( $show_purchase_note && $purchase_note = get_post_meta( $_product->id, '_purchase_note', true ) )
echo "\n" . nl2br( $purchase_note );
echo "\n" . $purchase_note;
echo "\n\n";