From 78cef05fa34571111fa026ed4bc4d852f4a94608 Mon Sep 17 00:00:00 2001 From: EinfachToll Date: Fri, 22 Jan 2016 13:32:01 +0100 Subject: [PATCH] Fix HTML conversion of headers containing links Fix #183 --- autoload/vimwiki/html.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/vimwiki/html.vim b/autoload/vimwiki/html.vim index 1d4b562..8a6685c 100644 --- a/autoload/vimwiki/html.vim +++ b/autoload/vimwiki/html.vim @@ -1046,6 +1046,8 @@ function! s:process_tag_h(line, id) "{{{ let h_part .= '>' endif + let h_text = s:process_inline_tags(h_text, a:id) + let line = h_part.h_text.'' let processed = 1 @@ -1252,8 +1254,6 @@ function! s:parse_line(line, state) " {{{ let state.quote = s:close_tag_quote(state.quote, res_lines) let state.para = s:close_tag_para(state.para, res_lines) - let line = s:process_inline_tags(line, state.header_ids) - call add(res_lines, line) endif endif