diff --git a/bookmarks/components/TagAutocomplete.svelte b/bookmarks/components/TagAutocomplete.svelte index f1daf79..26d2dee 100644 --- a/bookmarks/components/TagAutocomplete.svelte +++ b/bookmarks/components/TagAutocomplete.svelte @@ -87,7 +87,7 @@ function complete(suggestion) { const bounds = getCurrentWordBounds(input); const value = input.value; - input.value = value.substring(0, bounds.start) + suggestion.name + value.substring(bounds.end); + input.value = value.substring(0, bounds.start) + suggestion.name + ' ' + value.substring(bounds.end); close(); }