diff --git a/autoload/vimwiki/base.vim b/autoload/vimwiki/base.vim index 1086b41..badadf4 100644 --- a/autoload/vimwiki/base.vim +++ b/autoload/vimwiki/base.vim @@ -2123,6 +2123,10 @@ function! s:clean_url(url) abort let url = substitute(url, '^//', '', '') let url = substitute(url, '^\([^/]\+\)\.\a\{2,4}/', '\1/', '') let url_l = split(url, '/\|=\|-\|&\|?\|\.') + " case only a '-' + if url_l == [] + let url_l = [url] + endif let url_l = filter(url_l, 'v:val !=# ""') if url_l[0] ==# 'www' let url_l = url_l[1:] diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt index 27f60d5..dfe9e6f 100644 --- a/doc/vimwiki.txt +++ b/doc/vimwiki.txt @@ -3621,6 +3621,8 @@ Fixed:~ * Issue #404: Don't conceal strikethrough character in tables. * Issue #318: Markdown syntax bold, italic, and italic/bold are now rendered correctly. + * Issue #835: Pressing enter on the dash of a markdown list causes an error. + * Issue #876: E684: list index out of range: 0, when creating a link containing a `.`. 2.4 (2019-03-24)~