diff --git a/autoload/vimwiki/html.vim b/autoload/vimwiki/html.vim
index 1d001ee..b36b032 100644
--- a/autoload/vimwiki/html.vim
+++ b/autoload/vimwiki/html.vim
@@ -118,14 +118,20 @@ endfunction
function! s:template_full_name(name) abort
- if a:name ==? ''
+ let name = a:name
+ if name ==? ''
let name = vimwiki#vars#get_wikilocal('template_default')
- else
- let name = a:name
endif
- let fname = expand(vimwiki#vars#get_wikilocal('template_path').
- \ name . vimwiki#vars#get_wikilocal('template_ext'))
+ " Suffix Path by a / is not
+ let path = vimwiki#vars#get_wikilocal('template_path')
+ if strridx(path, '/') +1 != len(path)
+ let path .= '/'
+ endif
+
+ let ext = vimwiki#vars#get_wikilocal('template_ext')
+
+ let fname = expand(path . name . ext)
if filereadable(fname)
return fname
diff --git a/autoload/vimwiki/vars.vim b/autoload/vimwiki/vars.vim
index 7d8259e..7091f75 100644
--- a/autoload/vimwiki/vars.vim
+++ b/autoload/vimwiki/vars.vim
@@ -1286,7 +1286,6 @@ endfunction
" 4. Command (exported) {{{1
" ----------------------------------------------------------
-
function! s:get_anywhere(key, ...) abort
" Get variable anywhere
" Returns: [value, location] where loc=global|wikilocal|syntaxlocal|bufferlocal|none
@@ -1390,7 +1389,7 @@ endfunction
function! vimwiki#vars#cmd(arg) abort
" Set or Get a vimwiki variable
- " :param: (1) key [space] value
+ " :param: (1) command parameter: key [space] value
" -- name of the variable [space] value to evaluate and set the variable
" Called: VimwikiVar
" Get key and value
diff --git a/doc/design_notes.md b/doc/design_notes.md
index 3dbcf92..d628a0a 100644
--- a/doc/design_notes.md
+++ b/doc/design_notes.md
@@ -240,8 +240,9 @@ reasons for such a complex system is:
* [Vimwiki syntax specification](./specification.wiki)
* [Syntax region](../syntax/vimwiki.vim)
+* [Nesting manager]( ../autoload/vimwiki/u.vim): vimwiki#u#hi_typeface(dic)
-TODO currently the typeface delmiters are customized that way:
+TODO currently the typeface delimiters are customized that way:
```vim
" Typeface: -> u.vim
diff --git a/test/html_convert_default.vader b/test/html_convert_default.vader
index 8a09fd3..90166a5 100644
--- a/test/html_convert_default.vader
+++ b/test/html_convert_default.vader
@@ -280,7 +280,33 @@ Expect (Plain Html):