diff --git a/pkg/modules/migration/trello/trello.go b/pkg/modules/migration/trello/trello.go index 0ae4edd8a..676201b90 100644 --- a/pkg/modules/migration/trello/trello.go +++ b/pkg/modules/migration/trello/trello.go @@ -248,17 +248,17 @@ func convertTrelloDataToVikunja(trelloData []*trello.Board, token string) (fullV // Checklists (as markdown in description) for _, checklist := range card.Checklists { - task.Description += "\n\n## " + checklist.Name + "\n" + task.Description += "\n\n

" + checklist.Name + "

\n\n" + `" } if len(card.Checklists) > 0 { log.Debugf("[Trello Migration] Converted %d checklists from card %s", len(card.Checklists), card.ID) diff --git a/pkg/modules/migration/trello/trello_test.go b/pkg/modules/migration/trello/trello_test.go index 020ab5399..2b4c6af1e 100644 --- a/pkg/modules/migration/trello/trello_test.go +++ b/pkg/modules/migration/trello/trello_test.go @@ -249,15 +249,17 @@ func TestConvertTrelloToVikunja(t *testing.T) { Title: "Test Card 2", Description: ` -## Checkproject 1 +

Checkproject 1

-* [ ] Pending Task -* [x] Completed Task + -## Checkproject 2 +

Checkproject 2

-* [ ] Pending Task -* [ ] Another Pending Task`, +`, BucketID: 1, KanbanPosition: 124, },