mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Made sure item.toChat enriches descriptions (#1625)
This commit is contained in:
parent
668dbdf8f4
commit
491d921a9b
1 changed files with 4 additions and 1 deletions
|
|
@ -185,7 +185,10 @@ export default class DHItem extends foundry.documents.Item {
|
|||
tags: this._getTags()
|
||||
},
|
||||
actions: item.system.actionsList,
|
||||
description: this.system.description
|
||||
description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.system.description, {
|
||||
relativeTo: this.parent,
|
||||
rollData: this.parent?.getRollData() ?? {}
|
||||
})
|
||||
};
|
||||
|
||||
const msg = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue