Fixed #608: Remove ending bracket in TOC

This commit is contained in:
Karl Yngve Lervåg 2016-10-27 16:08:24 +02:00
parent f72d388811
commit 491449d62e

View File

@ -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