fix worklog template to allow multiline comments

This commit is contained in:
Matthias Bethke
2019-07-05 09:07:09 +02:00
parent 957696bed8
commit 43e07f1197
+1 -1
View File
@@ -547,7 +547,7 @@ transition:
const defaultWorklogTemplate = `{{/* worklog template */ -}} const defaultWorklogTemplate = `{{/* worklog template */ -}}
# issue: {{ .issue }} # issue: {{ .issue }}
comment: |~ comment: |~
{{ or .comment "" }} {{ or .comment "" | indent 2 }}
timeSpent: {{ or .timeSpent "" }} timeSpent: {{ or .timeSpent "" }}
started: {{ or .started "" }} started: {{ or .started "" }}
` `