commit 78cef05fa34571111fa026ed4bc4d852f4a94608
parent 1db59242713d5ea6920696e9b1e1108238df8411
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date: Fri, 22 Jan 2016 13:32:01 +0100
Fix HTML conversion of headers containing links
Fix #183
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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.'</h'.h_level.'></div>'
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