diff --git a/package.json b/package.json index 6761967..fa9b29e 100644 --- a/package.json +++ b/package.json @@ -38,5 +38,8 @@ "tslib": "^2.6.2", "typescript": "^5.2.2", "vite": "^4.5.0" + }, + "dependencies": { + "html-entities": "^2.4.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ed9bcd3..787e5c3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,11 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +dependencies: + html-entities: + specifier: ^2.4.0 + version: 2.4.0 + devDependencies: '@fontsource/fira-mono': specifier: ^5.0.8 @@ -1296,6 +1301,10 @@ packages: function-bind: 1.1.2 dev: true + /html-entities@2.4.0: + resolution: {integrity: sha512-igBTJcNNNhvZFRtm8uA6xMY6xYleeDwn3PeBCkDz7tHttv4F2hsDI2aPgNERWzvRcNYHNT3ymRaQzllmXj4YsQ==} + dev: false + /import-fresh@3.3.0: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} diff --git a/src/lib/components/chat/messages/BaseMessage.svelte b/src/lib/components/chat/messages/BaseMessage.svelte index 379ba4f..0d88a09 100644 --- a/src/lib/components/chat/messages/BaseMessage.svelte +++ b/src/lib/components/chat/messages/BaseMessage.svelte @@ -1,4 +1,5 @@