Tasks: display markdown

This commit is contained in:
Philippe PITTOLI 2019-12-09 03:40:00 +01:00
parent 64a26976c4
commit b470ff2a37

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!