Skip to content

Commit b27feab

Browse files
author
Vladimir Eremeev
committed
strip extra spaces from agenda entry
1 parent 6a4cf09 commit b27feab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/orgmode/plugins/Agenda.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def list_timeline(cls):
261261
# format text of agenda
262262
final_agenda = []
263263
for i, h in enumerate(raw_agenda):
264-
tmp = fmt.format('{} {}', h.todo, h.title)
264+
tmp = fmt.format('{} {}', h.todo, h.title).lstrip().rstrip()
265265
final_agenda.append(tmp)
266266
cls.line2doc[len(final_agenda)] = (get_bufname(h.document.bufnr), h.document.bufnr, h.start)
267267

0 commit comments

Comments
 (0)