diff --git a/src/hooks/web/useMessage.ts b/src/hooks/web/useMessage.ts index 3a3dbbc..4378086 100644 --- a/src/hooks/web/useMessage.ts +++ b/src/hooks/web/useMessage.ts @@ -54,7 +54,7 @@ function getIcon(iconType: string) { function renderContent({ content }: Pick) { try { if (isString(content)) { - return h('div', h('div', content as string)); + return h('div', h('div', {'innerHTML':content as string})); } else { return content; }