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 b2b56d341ea00..c3bef3630282b 100644 --- a/packages/style-engine/class-wp-style-engine-css-declarations.php +++ b/packages/style-engine/class-wp-style-engine-css-declarations.php @@ -197,6 +197,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 ); } }