diff --git a/includes/class-wc-order-item-meta.php b/includes/class-wc-order-item-meta.php index 2d9f9a8b8d8..6d34f781dca 100644 --- a/includes/class-wc-order-item-meta.php +++ b/includes/class-wc-order-item-meta.php @@ -68,7 +68,7 @@ class WC_Order_Item_Meta { } if ( $flat ) - $meta_list[] = esc_attr( wc_attribute_label( str_replace( 'attribute_', '', $meta_key ) ) . ': ' . apply_filters( 'woocommerce_order_item_display_meta_value', $meta_value ) ); + $meta_list[] = wp_kses_post( wc_attribute_label( str_replace( 'attribute_', '', $meta_key ) ) . ': ' . apply_filters( 'woocommerce_order_item_display_meta_value', $meta_value ) ); else $meta_list[] = '