Describe the bug
Invalid link is created when autocompletion option without alias is chosen
To Reproduce
Steps to reproduce the behavior:
write some text. e.g. "display text"
select it and run command create link with alias
autocompletion is opened, choose some option with pure link without alias and press enter
the link is replaced by selected pure link without display text - as expected and then this plugin restores origin display text ("display text")
bug: the link name is lost and there remains just invalid link like [[|display text]]
expected:
Expected behavior
The link contains selected pure link name together with origin display text like [[link name|display text]]
Describe the bug Invalid link is created when autocompletion option without alias is chosen
To Reproduce Steps to reproduce the behavior:
create link with alias
[[|display text]]
expected:Expected behavior The link contains selected pure link name together with origin display text like
[[link name|display text]]