From 77bf651fa41585a24a22700a5613e8ce3c111c3f Mon Sep 17 00:00:00 2001 From: Raluca Stan Date: Thu, 14 Oct 2021 10:34:36 +0100 Subject: [PATCH] Remove trim from function argument for updateSuggestions. Trimming gets done in the function itself, since PR #35060. --- packages/block-editor/src/components/url-input/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/url-input/index.js b/packages/block-editor/src/components/url-input/index.js index 4ed84b3713bca3..6ba93a8a1e8fc7 100644 --- a/packages/block-editor/src/components/url-input/index.js +++ b/packages/block-editor/src/components/url-input/index.js @@ -90,7 +90,7 @@ class URLInput extends Component { ! this.isUpdatingSuggestions && ! this.props.__experimentalShowInitialSuggestions ) { - this.updateSuggestions( value.trim() ); + this.updateSuggestions( value ); } }