diff --git a/packages/common/src/inline-notification.js b/packages/common/src/inline-notification.js index 0e0a32a417fc147529d19d6fb3670e452be6d0e0..01ae829c54d00ad6d4d2202b78abd5026f8d909b 100644 --- a/packages/common/src/inline-notification.js +++ b/packages/common/src/inline-notification.js @@ -57,7 +57,7 @@ export class InlineNotification extends DBPLitElement { } createBodyHtml() { - return document.createRange().createContextualFragment(`${ this.body }`); + return document.createRange().createContextualFragment(`<slot name="body">${ this.body }</slot>`); } render() {