Fix "text" in pages.meet displaying HTML as is
This commit is contained in:
parent
64daaab7d6
commit
2089c786b3
|
@ -11,6 +11,7 @@ app.pages.meet = {
|
|||
for (var i = 0; i < json.length; i++) {
|
||||
var tpl = app.template.fill(json[i], app.template.get('meet.item'),
|
||||
function (k,v) {
|
||||
if (k === 'text') return html2text(v);
|
||||
if (k === 'account.name') return capitalize(v);
|
||||
if (k === 'date') return dayjs(v).fromNow(true);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue