From 9f13961eaf1016eb6328d1275f73f9a990827e9a Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Tue, 7 Jan 2025 17:39:12 +0100 Subject: [PATCH] Fix #17 : Motivation description --- module/applications/sheets/motivation-sheet.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/applications/sheets/motivation-sheet.mjs b/module/applications/sheets/motivation-sheet.mjs index 1b389d3..df40f2a 100644 --- a/module/applications/sheets/motivation-sheet.mjs +++ b/module/applications/sheets/motivation-sheet.mjs @@ -22,6 +22,8 @@ export default class CthulhuEternalMotivationSheet extends CthulhuEternalItemShe /** @override */ async _prepareContext() { const context = await super._prepareContext() + context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) return context } + }