mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-08 11:18:28 +02:00
Add whitespace after auto-completed tag (#249)
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
This commit is contained in:
@@ -87,7 +87,7 @@
|
|||||||
function complete(suggestion) {
|
function complete(suggestion) {
|
||||||
const bounds = getCurrentWordBounds(input);
|
const bounds = getCurrentWordBounds(input);
|
||||||
const value = input.value;
|
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();
|
close();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user