diff --git a/packages/style-engine/class-wp-style-engine-css-declarations.php b/packages/style-engine/class-wp-style-engine-css-declarations.php index 09b14a6d357fbe..54e185de21e569 100644 --- a/packages/style-engine/class-wp-style-engine-css-declarations.php +++ b/packages/style-engine/class-wp-style-engine-css-declarations.php @@ -167,6 +167,6 @@ public function get_declarations_string( $should_prettify = false, $indent_count * @return string The sanitized property name. */ protected function sanitize_property( $property ) { - return trim( sanitize_key( $property ) ); + return sanitize_key( $property ); } }