Merge branch 'new-lists' of github.com:vimwiki/vimwiki into new-lists
This commit is contained in:
@ -1424,8 +1424,7 @@ endfunction " }}}
|
||||
" arguments rxUrl, rxDesc, and rxStyle are copied verbatim, without any
|
||||
" special character escapes or substitutions.
|
||||
function! vimwiki#base#apply_template(template, rxUrl, rxDesc, rxStyle) "{{{
|
||||
let magic_chars = '.*[\^$'
|
||||
let lnk = escape(a:template, magic_chars)
|
||||
let lnk = vimwiki#u#escape(a:template)
|
||||
if a:rxUrl != ""
|
||||
let lnk = substitute(lnk, '__LinkUrl__', '\='."'".a:rxUrl."'", '')
|
||||
endif
|
||||
|
Reference in New Issue
Block a user