Fixed #608: Remove ending bracket in TOC
This commit is contained in:
parent
f72d388811
commit
491449d62e
@ -429,7 +429,7 @@ endfunction
|
||||
|
||||
" }}}1
|
||||
function! s:parse_line_sec_title(title) " {{{1
|
||||
let l:title = substitute(a:title, '\}\s*$', '', '')
|
||||
let l:title = substitute(a:title, '\v%(\]|\})\s*$', '', '')
|
||||
return s:clear_texorpdfstring(l:title)
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user