Fix chat messages with list items or weapon/armor features

This commit is contained in:
Carlos Fernandez 2026-07-12 19:57:47 -04:00
parent 783505da0a
commit 619114463d
6 changed files with 42 additions and 68 deletions

View file

@ -143,7 +143,7 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
/**
* Gets the enriched and augmented description for the item.
* @param {object} [options] - Options that modify the styling of the rendered template. { headerStyle: undefined|'none'|'large' }
* @returns {string}
* @returns {Promise<string>}
*/
async getEnrichedDescription() {
if (!this.metadata.hasDescription) return '';