Skip to content

Commit

Permalink
Merge branch 'main' into om-tinymce
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano authored Nov 16, 2023
2 parents 164e298 + b64754d commit 18620ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ protected function _getAttributeValue($attributeId, $value, $storeId)
}
}

$value = preg_replace("#\s+#siu", ' ', trim(strip_tags($value)));
$value = $value === null ? '' : preg_replace("#\s+#siu", ' ', trim(strip_tags($value)));

return $value;
}
Expand Down

0 comments on commit 18620ec

Please sign in to comment.