Tasks: display markdown

dev
Philippe PITTOLI 2019-12-09 03:40:00 +01:00
parent 64a26976c4
commit b470ff2a37
1 changed files with 6 additions and 1 deletions

View File

@ -63,7 +63,12 @@ Task = (self, project, todod-ws) ->
modal := TaskRemovalModal project.id, todod-ws, self
} [ "X" ]
]
h \div.content [ self.description ]
h \div.content {
key: "task-description-#{self.id}"
after-create: (dom) ->
dom.innerHTML = nmd self.description
} [ ]
]
if modal
modal.render!