make vimwiki#html#Wiki2HTML respect 'html_filename_parameterization'
Fixes `:Vimwiki2HTMLBrowse` when vimwiki_markdown is in use.
This commit is contained in:
committed by
Brennen Bearnes
parent
d7ec12645a
commit
bd65f7dd7c
@@ -1870,8 +1870,12 @@ function! s:convert_file(path_html, wikifile) abort
|
|||||||
let force = 1
|
let force = 1
|
||||||
call vimwiki#html#CustomWiki2HTML(root_path_html, path_html, wikifile, force)
|
call vimwiki#html#CustomWiki2HTML(root_path_html, path_html, wikifile, force)
|
||||||
let done = 1
|
let done = 1
|
||||||
|
if vimwiki#vars#get_wikilocal('html_filename_parameterization')
|
||||||
|
return path_html . s:parameterized_wikiname(htmlfile)
|
||||||
|
else
|
||||||
return path_html.htmlfile
|
return path_html.htmlfile
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
if s:syntax_supported() && done == 0
|
if s:syntax_supported() && done == 0
|
||||||
let html_lines = s:convert_file_to_lines_template(wikifile, path_html . htmlfile)
|
let html_lines = s:convert_file_to_lines_template(wikifile, path_html . htmlfile)
|
||||||
|
|||||||
Reference in New Issue
Block a user