diff --git a/templates/single-product/product-attributes.php b/templates/single-product/product-attributes.php
index 0136546273b..8b5c412278e 100644
--- a/templates/single-product/product-attributes.php
+++ b/templates/single-product/product-attributes.php
@@ -50,7 +50,7 @@ if ( ! defined( 'ABSPATH' ) ) {
foreach ( $attribute_values as $attribute_value ) :
if ( $attribute_taxonomy->attribute_public ) :
- $values[] = '' . $attribute_value->name . '';
+ $values[] = '' . $attribute_value->name . '';
else:
$values[] = $attribute_value->name;
endif;