diff --git a/autoload/vimwiki/html.vim b/autoload/vimwiki/html.vim index 7a962e3..dcfacd4 100644 --- a/autoload/vimwiki/html.vim +++ b/autoload/vimwiki/html.vim @@ -926,14 +926,14 @@ function! s:process_tag_arrow_quote(line, arrow_quote) abort let lines = [] let arrow_quote = a:arrow_quote let processed = 0 - if a:line =~# '^>' + if a:line =~# '^\s*>' if !arrow_quote call add(lines, '
') call add(lines, '

') let arrow_quote = 1 endif let processed = 1 - let stripped_line = substitute(a:line, '^>\s*', '', '') + let stripped_line = substitute(a:line, '^\s*>\s*', '', '') if stripped_line =~# '^\s*$' call add(lines, '

') call add(lines, '

')